X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatabroker%2FClientBackedDataStoreTest.java;h=a27bc540306bbde31cc3c7999206f54faf1bca6e;hp=cf08d3311f36b9357f3bfdd454bcc76d9e30d731;hb=refs%2Fchanges%2F39%2F74339%2F5;hpb=3564341bbc0a9b53c5a26becb3d03230125cba80 diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/ClientBackedDataStoreTest.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/ClientBackedDataStoreTest.java index cf08d3311f..a27bc54030 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/ClientBackedDataStoreTest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/ClientBackedDataStoreTest.java @@ -60,7 +60,7 @@ public class ClientBackedDataStoreTest { private ClientSnapshot clientSnapshot; @Before - public void setUp() throws Exception { + public void setUp() { MockitoAnnotations.initMocks(this); final SchemaContext schemaContext = TestModel.createTestContext(); @@ -77,7 +77,7 @@ public class ClientBackedDataStoreTest { } @Test - public void testCreateTransactionChain() throws Exception { + public void testCreateTransactionChain() { try (ClientBackedDataStore clientBackedDataStore = new ClientBackedDataStore( actorContext, UNKNOWN_ID, clientActor)) { final DOMStoreTransactionChain txChain = clientBackedDataStore.createTransactionChain(); @@ -87,7 +87,7 @@ public class ClientBackedDataStoreTest { } @Test - public void testNewReadOnlyTransaction() throws Exception { + public void testNewReadOnlyTransaction() { try (ClientBackedDataStore clientBackedDataStore = new ClientBackedDataStore( actorContext, UNKNOWN_ID, clientActor)) { final DOMStoreReadTransaction tx = clientBackedDataStore.newReadOnlyTransaction(); @@ -97,7 +97,7 @@ public class ClientBackedDataStoreTest { } @Test - public void testNewWriteOnlyTransaction() throws Exception { + public void testNewWriteOnlyTransaction() { try (ClientBackedDataStore clientBackedDataStore = new ClientBackedDataStore( actorContext, UNKNOWN_ID, clientActor)) { final DOMStoreWriteTransaction tx = clientBackedDataStore.newWriteOnlyTransaction(); @@ -107,7 +107,7 @@ public class ClientBackedDataStoreTest { } @Test - public void testNewReadWriteTransaction() throws Exception { + public void testNewReadWriteTransaction() { try (ClientBackedDataStore clientBackedDataStore = new ClientBackedDataStore( actorContext, UNKNOWN_ID, clientActor)) { final DOMStoreReadWriteTransaction tx = clientBackedDataStore.newReadWriteTransaction();