org.fest.assertions.internal
Class Characters
java.lang.Object
org.fest.assertions.internal.Comparables
org.fest.assertions.internal.Characters
public class Characters
- extends Comparables
Reusable assertions for Character
s.
- Author:
- Alex Ruiz, Joel Costigliola
Constructor Summary |
Characters(org.fest.util.ComparisonStrategy comparisonStrategy)
|
Methods inherited from class org.fest.assertions.internal.Comparables |
areEqual, assertEqual, assertEqualByComparison, assertGreaterThan, assertGreaterThanOrEqualTo, assertLessThan, assertLessThanOrEqualTo, assertNotEqual, assertNotEqualByComparison, assertNotNull, getComparator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Characters
public Characters(org.fest.util.ComparisonStrategy comparisonStrategy)
instance
public static Characters instance()
- Returns the singleton instance of this class.
- Returns:
- the singleton instance of this class.
assertLowerCase
public void assertLowerCase(AssertionInfo info,
Character actual)
- Asserts that the actual value is a lowercase character.
- Parameters:
info
- contains information about the assertion.actual
- the actual value.
- Throws:
AssertionError
- if the actual value is null
.
AssertionError
- if the actual value is not a lowercase character.
assertUpperCase
public void assertUpperCase(AssertionInfo info,
Character actual)
- Asserts that the actual value is a uppercase character.
- Parameters:
info
- contains information about the assertion.actual
- the actual value.
- Throws:
AssertionError
- if the actual value is null
.
AssertionError
- if the actual value is not a uppercase character.
Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.