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%2FWildcardedScopeOneTest.java;h=02797c27610c88a0c411f6674f4d5abda16256f2;hp=75f9fce612056bf1f89f00b95840f66f73d00ab6;hb=258d8039ac144aeee2efa7943228c0fc6cdaf651;hpb=25324f990c6077e86e409fbe8ec03eacc387476b diff --git a/opendaylight/md-sal/sal-inmemory-datastore/src/test/java/org/opendaylight/controller/md/sal/dom/store/impl/WildcardedScopeOneTest.java b/opendaylight/md-sal/sal-inmemory-datastore/src/test/java/org/opendaylight/controller/md/sal/dom/store/impl/WildcardedScopeOneTest.java index 75f9fce612..02797c2761 100644 --- a/opendaylight/md-sal/sal-inmemory-datastore/src/test/java/org/opendaylight/controller/md/sal/dom/store/impl/WildcardedScopeOneTest.java +++ b/opendaylight/md-sal/sal-inmemory-datastore/src/test/java/org/opendaylight/controller/md/sal/dom/store/impl/WildcardedScopeOneTest.java @@ -10,7 +10,6 @@ package org.opendaylight.controller.md.sal.dom.store.impl; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; -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; @@ -29,7 +28,7 @@ public class WildcardedScopeOneTest extends DefaultDataChangeListenerTestSuite { } @Override - public void putTopLevelOneNested(final DatastoreTestTask task) throws InterruptedException, ExecutionException { + public void putTopLevelOneNested(final DatastoreTestTask task) throws Exception { AsyncDataChangeEvent> change = task.getChangeEvent(); @@ -44,8 +43,7 @@ public class WildcardedScopeOneTest extends DefaultDataChangeListenerTestSuite { } @Override - public void replaceTopLevelNestedChanged(final DatastoreTestTask task) throws InterruptedException, - ExecutionException { + public void replaceTopLevelNestedChanged(final DatastoreTestTask task) throws Exception { AsyncDataChangeEvent> change = task.getChangeEvent(); assertNotNull(change); @@ -65,8 +63,7 @@ public class WildcardedScopeOneTest extends DefaultDataChangeListenerTestSuite { } @Override - protected void putTopLevelWithTwoNested(final DatastoreTestTask task) throws InterruptedException, - ExecutionException { + protected void putTopLevelWithTwoNested(final DatastoreTestTask task) throws Exception { AsyncDataChangeEvent> change = task.getChangeEvent(); assertNotNull(change); @@ -81,8 +78,7 @@ public class WildcardedScopeOneTest extends DefaultDataChangeListenerTestSuite { } @Override - protected void twoNestedExistsOneIsDeleted(final DatastoreTestTask task) throws InterruptedException, - ExecutionException { + protected void twoNestedExistsOneIsDeleted(final DatastoreTestTask task) throws Exception { /* * One listener should be notified only and only if actual node changed its state, @@ -96,8 +92,7 @@ public class WildcardedScopeOneTest extends DefaultDataChangeListenerTestSuite { } @Override - public void nestedListExistsRootDeleted(final DatastoreTestTask task) throws InterruptedException, - ExecutionException { + public void nestedListExistsRootDeleted(final DatastoreTestTask task) throws Exception { AsyncDataChangeEvent> change = task.getChangeEvent(); @@ -110,7 +105,7 @@ public class WildcardedScopeOneTest extends DefaultDataChangeListenerTestSuite { } @Override - protected void existingOneNestedWriteAdditionalNested(final DatastoreTestTask task) { + protected void existingOneNestedWriteAdditionalNested(final DatastoreTestTask task) throws Exception { /* * One listener should be notified only and only if actual node changed its state, * since deletion of nested child (in this case /nested-list/nested-list[foo], @@ -123,7 +118,7 @@ public class WildcardedScopeOneTest extends DefaultDataChangeListenerTestSuite { } @Override - protected void existingTopWriteTwoNested(final DatastoreTestTask task) throws InterruptedException, ExecutionException { + protected void existingTopWriteTwoNested(final DatastoreTestTask task) throws Exception { /* * One listener should be notified only and only if actual node changed its state, * since deletion of nested child (in this case /nested-list/nested-list[foo], @@ -136,7 +131,7 @@ public class WildcardedScopeOneTest extends DefaultDataChangeListenerTestSuite { } @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));