X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-inmemory-datastore%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fdom%2Fstore%2Fimpl%2FWildcardedScopeSubtreeTest.java;h=31a9f9c979566e5828b2abf4efb0bf03cbe2e46a;hp=a7fa24f2934a8da5dc879236147f6fd35df14cba;hb=258d8039ac144aeee2efa7943228c0fc6cdaf651;hpb=62ee81f764eef592f00e67181b4dbedb3f734de6 diff --git a/opendaylight/md-sal/sal-inmemory-datastore/src/test/java/org/opendaylight/controller/md/sal/dom/store/impl/WildcardedScopeSubtreeTest.java b/opendaylight/md-sal/sal-inmemory-datastore/src/test/java/org/opendaylight/controller/md/sal/dom/store/impl/WildcardedScopeSubtreeTest.java index a7fa24f293..31a9f9c979 100644 --- a/opendaylight/md-sal/sal-inmemory-datastore/src/test/java/org/opendaylight/controller/md/sal/dom/store/impl/WildcardedScopeSubtreeTest.java +++ b/opendaylight/md-sal/sal-inmemory-datastore/src/test/java/org/opendaylight/controller/md/sal/dom/store/impl/WildcardedScopeSubtreeTest.java @@ -11,8 +11,6 @@ import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; -import java.util.concurrent.ExecutionException; - import org.opendaylight.controller.md.sal.common.api.data.AsyncDataBroker.DataChangeScope; import org.opendaylight.controller.md.sal.common.api.data.AsyncDataChangeEvent; import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.list.rev140701.two.level.list.TopLevelList; @@ -30,7 +28,7 @@ public class WildcardedScopeSubtreeTest extends DefaultDataChangeListenerTestSui } @Override - public void putTopLevelOneNested(final DatastoreTestTask task) throws InterruptedException, ExecutionException { + public void putTopLevelOneNested(final DatastoreTestTask task) throws Exception { AsyncDataChangeEvent> change = task.getChangeEvent(); @@ -42,8 +40,7 @@ public class WildcardedScopeSubtreeTest extends DefaultDataChangeListenerTestSui } @Override - public void replaceTopLevelNestedChanged(final DatastoreTestTask task) throws InterruptedException, - ExecutionException { + public void replaceTopLevelNestedChanged(final DatastoreTestTask task) throws Exception { AsyncDataChangeEvent> change = task.getChangeEvent(); assertNotNull(change); @@ -56,8 +53,7 @@ public class WildcardedScopeSubtreeTest extends DefaultDataChangeListenerTestSui } @Override - protected void putTopLevelWithTwoNested(final DatastoreTestTask task) throws InterruptedException, - ExecutionException { + protected void putTopLevelWithTwoNested(final DatastoreTestTask task) throws Exception { AsyncDataChangeEvent> change = task.getChangeEvent(); assertNotNull(change); @@ -71,8 +67,7 @@ public class WildcardedScopeSubtreeTest extends DefaultDataChangeListenerTestSui } @Override - protected void twoNestedExistsOneIsDeleted(final DatastoreTestTask task) throws InterruptedException, - ExecutionException { + protected void twoNestedExistsOneIsDeleted(final DatastoreTestTask task) throws Exception { AsyncDataChangeEvent> change = task.getChangeEvent(); assertNotNull(change); @@ -83,8 +78,7 @@ public class WildcardedScopeSubtreeTest extends DefaultDataChangeListenerTestSui } @Override - public void nestedListExistsRootDeleted(final DatastoreTestTask task) throws InterruptedException, - ExecutionException { + public void nestedListExistsRootDeleted(final DatastoreTestTask task) throws Exception { AsyncDataChangeEvent> change = task.getChangeEvent(); @@ -96,7 +90,7 @@ public class WildcardedScopeSubtreeTest extends DefaultDataChangeListenerTestSui } @Override - protected void existingOneNestedWriteAdditionalNested(final DatastoreTestTask task) throws InterruptedException, ExecutionException { + protected void existingOneNestedWriteAdditionalNested(final DatastoreTestTask task) throws Exception { AsyncDataChangeEvent> change = task.getChangeEvent(); assertContains(change.getCreatedData(), path(FOO,BAZ)); @@ -107,7 +101,7 @@ public class WildcardedScopeSubtreeTest extends DefaultDataChangeListenerTestSui } @Override - protected void existingTopWriteTwoNested(final DatastoreTestTask task) throws InterruptedException, ExecutionException { + protected void existingTopWriteTwoNested(final DatastoreTestTask task) throws Exception { AsyncDataChangeEvent> change = task.getChangeEvent(); assertContains(change.getCreatedData(), path(FOO,BAR),path(FOO,BAZ)); @@ -117,7 +111,7 @@ public class WildcardedScopeSubtreeTest extends DefaultDataChangeListenerTestSui } @Override - protected void existingTopWriteSibling(final DatastoreTestTask task) throws InterruptedException, ExecutionException { + protected void existingTopWriteSibling(final DatastoreTestTask task) throws Exception { AsyncDataChangeEvent> change = task.getChangeEvent(); assertContains(change.getCreatedData(), path(FOO_SIBLING));