Fix Javadoc and rename a test method to explain behavior correctly
Change-Id: Ib992c68de5ce9129ca24621604ead2bfc2add848
Showing
2 changed files
with
3 additions
and
3 deletions
... | @@ -413,10 +413,10 @@ public class CriterionCodecTest { | ... | @@ -413,10 +413,10 @@ public class CriterionCodecTest { |
413 | } | 413 | } |
414 | 414 | ||
415 | /** | 415 | /** |
416 | - * Tests optical signal type criterion. | 416 | + * Tests Och signal type criterion. |
417 | */ | 417 | */ |
418 | @Test | 418 | @Test |
419 | - public void matchOpticalSignalTypeTest() { | 419 | + public void matchOchSignalTypeTest() { |
420 | Criterion criterion = Criteria.matchOchSignalType(OchSignalType.FIXED_GRID); | 420 | Criterion criterion = Criteria.matchOchSignalType(OchSignalType.FIXED_GRID); |
421 | ObjectNode result = criterionCodec.encode(criterion, context); | 421 | ObjectNode result = criterionCodec.encode(criterion, context); |
422 | assertThat(result, matchesCriterion(criterion)); | 422 | assertThat(result, matchesCriterion(criterion)); | ... | ... |
... | @@ -464,7 +464,7 @@ public final class CriterionJsonMatcher extends | ... | @@ -464,7 +464,7 @@ public final class CriterionJsonMatcher extends |
464 | } | 464 | } |
465 | 465 | ||
466 | /** | 466 | /** |
467 | - * Matches an optical signal type criterion object. | 467 | + * Matches an Och signal type criterion object. |
468 | * | 468 | * |
469 | * @param criterion criterion to match | 469 | * @param criterion criterion to match |
470 | * @return true if the JSON matches the criterion, false otherwise. | 470 | * @return true if the JSON matches the criterion, false otherwise. | ... | ... |
-
Please register or login to post a comment