commit | 52a6bca83f4c6d63404f2609e7ea327b8297c0ed | [log] [tgz] |
---|---|---|
author | Toshio Koide <t-koide@onlab.us> | Fri Feb 21 21:28:22 2014 -0800 |
committer | Toshio Koide <t-koide@onlab.us> | Fri Feb 21 22:57:43 2014 -0800 |
tree | dfb872bb76c66a2b25b001a6a1dcffccc864e476 | |
parent | b07fc4e8293fd3022c2c85dfe060f0bd811e2c3d [diff] |
Change path-intent ID generation method Change-Id: I466f1f7f01d6f14c2045fde810fb964d88da3fbb
diff --git a/src/test/java/net/onrc/onos/intent/PathIntentTest.java b/src/test/java/net/onrc/onos/intent/PathIntentTest.java index 211a68a..dd34e90 100644 --- a/src/test/java/net/onrc/onos/intent/PathIntentTest.java +++ b/src/test/java/net/onrc/onos/intent/PathIntentTest.java
@@ -34,13 +34,13 @@ @Test public void testCreateFirstId() { String id = PathIntent.createFirstId("100"); - assertEquals("pi100___0", id); + assertEquals("100___0", id); } @Test public void testCreateNextId() { - String id = PathIntent.createNextId("pi100___999"); - assertEquals("pi100___1000", id); + String id = PathIntent.createNextId("100___999"); + assertEquals("100___1000", id); } @Test