public class CharAssert extends GenericAssert<CharAssert,Character>
Characters and chars.
To create a new instance of this class invoke either or
Assertions.assertThat(Character).
Assertions.assertThat(char)
actual, myself| Modifier | Constructor and Description |
|---|---|
protected |
CharAssert(char actual)
Creates a new
. |
protected |
CharAssert(Character actual)
Creates a new
. |
| Modifier and Type | Method and Description |
|---|---|
CharAssert |
isEqualTo(char expected)
Verifies that the
Character value is equal to the given one. |
CharAssert |
isGreaterThan(char other)
Verifies that the
Character value is greater than the given one. |
CharAssert |
isGreaterThanOrEqualTo(char other)
Verifies that the
Character value is greater or equal to the given one. |
CharAssert |
isLessThan(char other)
Verifies that the
Character value is less than the given one. |
CharAssert |
isLessThanOrEqualTo(char other)
Verifies that the
Character value is less or equal to the given one. |
CharAssert |
isLowerCase()
Verifies that the
Character value is an lower-case value. |
CharAssert |
isNotEqualTo(char other)
Verifies that the
Character value is not equal to the given one. |
CharAssert |
isUpperCase()
Verifies that the
Character value is an upper-case value. |
as, as, describedAs, describedAs, doesNotSatisfy, is, isEqualTo, isIn, isIn, isNot, isNotEqualTo, isNotIn, isNotIn, isNotNull, isNotSameAs, isNull, isSameAs, overridingErrorMessage, satisfiescustomErrorMessage, description, description, description, equals, fail, fail, failIfCustomMessageIsSet, failIfCustomMessageIsSet, failure, formattedErrorMessage, hashCode, rawDescription, replaceDefaultErrorMessagesWithprotected CharAssert(char actual)
CharAssert.actual - the actual value to verify.protected CharAssert(Character actual)
CharAssert.actual - the actual value to verify.public CharAssert isEqualTo(char expected)
Character value is equal to the given one.expected - the value to compare the actual one to.AssertionError - if the Character value is not equal to the given one.public CharAssert isNotEqualTo(char other)
Character value is not equal to the given one.other - the given value.AssertionError - if the Character value is equal to the given one.public CharAssert isGreaterThan(char other)
Character value is greater than the given one.other - the given value.AssertionError - if the Character value is not greater than the given one.public CharAssert isLessThan(char other)
Character value is less than the given one.other - the given value.AssertionError - if the Character value is not less than the given one.public CharAssert isGreaterThanOrEqualTo(char other)
Character value is greater or equal to the given one.other - the given value.AssertionError - if the Character value is not greater than or equal to the given one.public CharAssert isLessThanOrEqualTo(char other)
Character value is less or equal to the given one.other - the given value.AssertionError - if the Character value is not less than or equal to the given one.public CharAssert isUpperCase()
Character value is an upper-case value.AssertionError - if the Character value is not an upper-case value.public CharAssert isLowerCase()
Character value is an lower-case value.AssertionError - if the Character value is not an lower-case value.Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.