commit | 68b8c1f938f577ecac335d753b5a69c14f8525fd | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Fri May 29 18:42:26 2015 -0700 |
committer | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Fri May 29 18:42:26 2015 -0700 |
tree | 728d073f2726e142b835f40ae4923b2b811bcfbc | |
parent | 3057f2114ced22cc59614ee4fec9e65d28700d10 [diff] |
Fix Javadoc and rename a test method to explain behavior correctly Change-Id: Ib992c68de5ce9129ca24621604ead2bfc2add848
diff --git a/core/common/src/test/java/org/onosproject/codec/impl/CriterionCodecTest.java b/core/common/src/test/java/org/onosproject/codec/impl/CriterionCodecTest.java index 27d691e..6b3d40a 100644 --- a/core/common/src/test/java/org/onosproject/codec/impl/CriterionCodecTest.java +++ b/core/common/src/test/java/org/onosproject/codec/impl/CriterionCodecTest.java
@@ -413,10 +413,10 @@ } /** - * Tests optical signal type criterion. + * Tests Och signal type criterion. */ @Test - public void matchOpticalSignalTypeTest() { + public void matchOchSignalTypeTest() { Criterion criterion = Criteria.matchOchSignalType(OchSignalType.FIXED_GRID); ObjectNode result = criterionCodec.encode(criterion, context); assertThat(result, matchesCriterion(criterion));
diff --git a/core/common/src/test/java/org/onosproject/codec/impl/CriterionJsonMatcher.java b/core/common/src/test/java/org/onosproject/codec/impl/CriterionJsonMatcher.java index 40ea708..df0f3c6 100644 --- a/core/common/src/test/java/org/onosproject/codec/impl/CriterionJsonMatcher.java +++ b/core/common/src/test/java/org/onosproject/codec/impl/CriterionJsonMatcher.java
@@ -464,7 +464,7 @@ } /** - * Matches an optical signal type criterion object. + * Matches an Och signal type criterion object. * * @param criterion criterion to match * @return true if the JSON matches the criterion, false otherwise.