commit | e668408321672ba509a2b953c7feaac6bc1fb4a7 | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@onlab.us> | Thu Oct 16 16:59:47 2014 -0700 |
committer | Ray Milkey <ray@onlab.us> | Thu Oct 16 16:59:47 2014 -0700 |
tree | ce86e40d6bc8e6725aedf90a868495052e3afe96 | |
parent | 0b04bed213bf7666ae5c749ba78e5785b8f4d142 [diff] [blame] |
Unit tests for some Intent objects and compilers Unit tests for HostToHost and MultiPointToSinglePoint intents and intent compilers. Made Intent classes final to make them immutable.
diff --git a/core/net/src/main/java/org/onlab/onos/net/intent/impl/MultiPointToSinglePointIntentCompiler.java b/core/net/src/main/java/org/onlab/onos/net/intent/impl/MultiPointToSinglePointIntentCompiler.java index 68c55dd..aecd3ba 100644 --- a/core/net/src/main/java/org/onlab/onos/net/intent/impl/MultiPointToSinglePointIntentCompiler.java +++ b/core/net/src/main/java/org/onlab/onos/net/intent/impl/MultiPointToSinglePointIntentCompiler.java
@@ -37,7 +37,7 @@ @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) protected PathService pathService; - private IdGenerator<IntentId> intentIdGenerator; + protected IdGenerator<IntentId> intentIdGenerator; @Activate public void activate() {