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%2FRootScopeSubtreeTest.java;fp=opendaylight%2Fmd-sal%2Fsal-inmemory-datastore%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fdom%2Fstore%2Fimpl%2FRootScopeSubtreeTest.java;h=7d496568c6fe74dc115c2327a76d3f4f275d6d57;hp=43b339e506d48670b10b896183d11db8d3c83a2f;hb=c5f3be93482d6b06d95ebf22b2ef2723fd813f89;hpb=f1a918f69b787dd422a09e4e8fd83a1d52a72f83 diff --git a/opendaylight/md-sal/sal-inmemory-datastore/src/test/java/org/opendaylight/controller/md/sal/dom/store/impl/RootScopeSubtreeTest.java b/opendaylight/md-sal/sal-inmemory-datastore/src/test/java/org/opendaylight/controller/md/sal/dom/store/impl/RootScopeSubtreeTest.java index 43b339e506..7d496568c6 100644 --- a/opendaylight/md-sal/sal-inmemory-datastore/src/test/java/org/opendaylight/controller/md/sal/dom/store/impl/RootScopeSubtreeTest.java +++ b/opendaylight/md-sal/sal-inmemory-datastore/src/test/java/org/opendaylight/controller/md/sal/dom/store/impl/RootScopeSubtreeTest.java @@ -7,8 +7,6 @@ */ package org.opendaylight.controller.md.sal.dom.store.impl; -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.yangtools.yang.data.api.YangInstanceIdentifier; @@ -22,7 +20,7 @@ public class RootScopeSubtreeTest extends DefaultDataChangeListenerTestSuite { } @Override - public void putTopLevelOneNested(final DatastoreTestTask task) throws InterruptedException, ExecutionException { + public void putTopLevelOneNested(final DatastoreTestTask task) throws Exception { AsyncDataChangeEvent> change = task.getChangeEvent(); assertContains(change.getCreatedData(), TOP_LEVEL, path(FOO), path(FOO, BAR)); @@ -31,8 +29,7 @@ public class RootScopeSubtreeTest extends DefaultDataChangeListenerTestSuite { } @Override - public void replaceTopLevelNestedChanged(final DatastoreTestTask task) throws InterruptedException, - ExecutionException { + public void replaceTopLevelNestedChanged(final DatastoreTestTask task) throws Exception { AsyncDataChangeEvent> change = task.getChangeEvent(); @@ -42,8 +39,7 @@ public class RootScopeSubtreeTest extends DefaultDataChangeListenerTestSuite { } @Override - protected void putTopLevelWithTwoNested(final DatastoreTestTask task) throws InterruptedException, - ExecutionException { + protected void putTopLevelWithTwoNested(final DatastoreTestTask task) throws Exception { AsyncDataChangeEvent> change = task.getChangeEvent(); @@ -53,8 +49,7 @@ public class RootScopeSubtreeTest extends DefaultDataChangeListenerTestSuite { } @Override - protected void twoNestedExistsOneIsDeleted(final DatastoreTestTask task) throws InterruptedException, - ExecutionException { + protected void twoNestedExistsOneIsDeleted(final DatastoreTestTask task) throws Exception { AsyncDataChangeEvent> change = task.getChangeEvent(); @@ -64,8 +59,7 @@ public class RootScopeSubtreeTest extends DefaultDataChangeListenerTestSuite { } @Override - protected void nestedListExistsRootDeleted(final DatastoreTestTask task) throws InterruptedException, - ExecutionException { + protected void nestedListExistsRootDeleted(final DatastoreTestTask task) throws Exception { AsyncDataChangeEvent> change = task.getChangeEvent(); @@ -75,7 +69,7 @@ public class RootScopeSubtreeTest extends DefaultDataChangeListenerTestSuite { } @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)); @@ -85,7 +79,7 @@ public class RootScopeSubtreeTest extends DefaultDataChangeListenerTestSuite { } @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)); @@ -95,7 +89,7 @@ public class RootScopeSubtreeTest 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));