import akka.actor.ActorSystem;
import akka.testkit.javadsl.TestKit;
import com.typesafe.config.ConfigFactory;
-import java.net.URISyntaxException;
import java.util.Collections;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
-import org.opendaylight.controller.md.sal.dom.api.DOMRpcIdentifier;
import org.opendaylight.controller.remote.rpc.registry.RpcRegistry;
+import org.opendaylight.mdsal.dom.api.DOMRpcIdentifier;
import org.opendaylight.yangtools.yang.common.QName;
import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
import org.opendaylight.yangtools.yang.model.api.SchemaPath;
@BeforeClass
- public static void setup() throws InterruptedException {
+ public static void setup() {
system = ActorSystem.create("opendaylight-rpc", ConfigFactory.load().getConfig("odl-cluster-rpc"));
}
}
@Test
- public void testRouteAdd() throws URISyntaxException, InterruptedException {
+ public void testRouteAdd() {
new TestKit(system) {
{
// Test announcements
}
@Test
- public void testRouteRemove() throws URISyntaxException, InterruptedException {
+ public void testRouteRemove() {
new TestKit(system) {
{
// Test announcements