commit | 1afa2a03504df0a465991f4e5f00de14b520f5c4 | [log] [tgz] |
---|---|---|
author | Marc De Leenheer <marc@onlab.us> | Wed May 13 09:18:07 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue May 19 18:18:28 2015 +0000 |
tree | 317d7081979e983890248777a21990aeb55ec171 | |
parent | fc52fecc3bfab33a1a4392c0d0319dccd42bd982 [diff] |
Rewrote optical connectivity intent compiler Change-Id: I5acece3c14bed8a23f7bbe0c5a9bc0932a2a0881
diff --git a/core/net/src/test/java/org/onosproject/net/intent/impl/compiler/OpticalPathIntentCompilerTest.java b/core/net/src/test/java/org/onosproject/net/intent/impl/compiler/OpticalPathIntentCompilerTest.java index 08e8e4f..a18f2c5 100644 --- a/core/net/src/test/java/org/onosproject/net/intent/impl/compiler/OpticalPathIntentCompilerTest.java +++ b/core/net/src/test/java/org/onosproject/net/intent/impl/compiler/OpticalPathIntentCompilerTest.java
@@ -52,6 +52,7 @@ import static org.onosproject.net.Link.Type.DIRECT; import static org.onosproject.net.NetTestTools.PID; import static org.onosproject.net.NetTestTools.connectPoint; +import static org.onosproject.net.NetTestTools.createLambda; public class OpticalPathIntentCompilerTest { @@ -93,6 +94,7 @@ .src(d1p1) .dst(d3p1) .path(new DefaultPath(PID, links, hops)) + .lambda(createLambda()) .build(); intentExtensionService = createMock(IntentExtensionService.class); intentExtensionService.registerCompiler(OpticalPathIntent.class, sut);