Change PlanCalcRuntime class to receive IntentOperationList
Change-Id: I66733294f1fd0ef46886f1d8db5e777662bba480
diff --git a/src/test/java/net/onrc/onos/intent/runtime/UseCaseTest.java b/src/test/java/net/onrc/onos/intent/runtime/UseCaseTest.java
index c12a718..8040141 100644
--- a/src/test/java/net/onrc/onos/intent/runtime/UseCaseTest.java
+++ b/src/test/java/net/onrc/onos/intent/runtime/UseCaseTest.java
@@ -98,7 +98,7 @@
// compile low-level intents into flow entry installation plan
PlanCalcRuntime runtime2 = new PlanCalcRuntime(g);
- runtime2.addIntents((PathIntentMap) runtime1.getPathIntents()); // TODO use pathIntentOpList
+ runtime2.addIntents(pathIntentOpList);
// show results
showResult((PathIntentMap) runtime1.getPathIntents());
@@ -123,7 +123,7 @@
// compile low-level intents into flow entry installation plan
PlanCalcRuntime runtime2 = new PlanCalcRuntime(g);
- runtime2.addIntents((PathIntentMap) runtime1.getPathIntents()); // TODO use pathIntentOpList
+ runtime2.addIntents(pathIntentOpList);
// show results
showResult((PathIntentMap) runtime1.getPathIntents());
@@ -148,7 +148,7 @@
// compile low-level intents into flow entry installation plan
PlanCalcRuntime runtime2 = new PlanCalcRuntime(g);
- runtime2.addIntents((PathIntentMap) runtime1.getPathIntents()); // TODO use pathIntentOpList
+ runtime2.addIntents(pathIntentOpList);
// show results
showResult((PathIntentMap) runtime1.getPathIntents());