Reenable tests cases that were turned off
Change-Id: I4211d0e5ed92e7e4e66e2a8391e917d43dcef97c
diff --git a/core/net/src/test/java/org/onlab/onos/net/intent/impl/TestPointToPointIntentCompiler.java b/core/net/src/test/java/org/onlab/onos/net/intent/impl/TestPointToPointIntentCompiler.java
index d417908..20345aa 100644
--- a/core/net/src/test/java/org/onlab/onos/net/intent/impl/TestPointToPointIntentCompiler.java
+++ b/core/net/src/test/java/org/onlab/onos/net/intent/impl/TestPointToPointIntentCompiler.java
@@ -17,6 +17,7 @@
import org.hamcrest.Matchers;
//import org.junit.Test;
+import org.junit.Test;
import org.onlab.onos.core.ApplicationId;
import org.onlab.onos.TestApplicationId;
import org.onlab.onos.net.flow.TrafficSelector;
@@ -68,7 +69,7 @@
private PointToPointIntentCompiler makeCompiler(String[] hops) {
PointToPointIntentCompiler compiler =
new PointToPointIntentCompiler();
-// compiler.topologyService = new IntentTestsMocks.MockPathService(hops);
+ compiler.pathService = new IntentTestsMocks.MockPathService(hops);
return compiler;
}
@@ -76,7 +77,7 @@
/**
* Tests a pair of devices in an 8 hop path, forward direction.
*/
-// @Test
+ @Test
public void testForwardPathCompilation() {
PointToPointIntent intent = makeIntent("d1", "d8");
@@ -109,7 +110,7 @@
/**
* Tests a pair of devices in an 8 hop path, forward direction.
*/
-// @Test
+ @Test
public void testReversePathCompilation() {
PointToPointIntent intent = makeIntent("d8", "d1");