|
JUnit-addons version 1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junitx.framework.ComparableAssert
A set of assert methods specially targetted to comparable objects.
Method Summary | |
static void |
assertEquals(java.lang.Comparable expected,
java.lang.Comparable actual)
Asserts that the expected and actual are equals (comparables). |
static void |
assertEquals(java.lang.String message,
java.lang.Comparable expected,
java.lang.Comparable actual)
Asserts that the expected and actual are equals (comparables). |
static void |
assertGreater(java.lang.Comparable limit,
java.lang.Comparable actual)
Asserts that the actual object is greater than the limit object. |
static void |
assertGreater(java.lang.String message,
java.lang.Comparable limit,
java.lang.Comparable actual)
Asserts that the actual object is greater than the limit object. |
static void |
assertLesser(java.lang.Comparable limit,
java.lang.Comparable actual)
Asserts that the actual object is lesser than the limit object. |
static void |
assertLesser(java.lang.String message,
java.lang.Comparable limit,
java.lang.Comparable actual)
Asserts that the actual object is lesser than the limit object. |
static void |
assertNotEquals(java.lang.Comparable expected,
java.lang.Comparable actual)
Asserts that the expected and actual are not equals (comparables). |
static void |
assertNotEquals(java.lang.String message,
java.lang.Comparable expected,
java.lang.Comparable actual)
Asserts that the expected and actual are not equals (comparables). |
static void |
assertNotGreater(java.lang.Comparable limit,
java.lang.Comparable actual)
Asserts that the actual object is not greater than the limit object. |
static void |
assertNotGreater(java.lang.String message,
java.lang.Comparable limit,
java.lang.Comparable actual)
Asserts that the actual object is not greater than the limit object. |
static void |
assertNotLesser(java.lang.Comparable limit,
java.lang.Comparable actual)
Asserts that the actual object is not lesser than the limit object. |
static void |
assertNotLesser(java.lang.String message,
java.lang.Comparable limit,
java.lang.Comparable actual)
Asserts that the actual object is not lesser than the limit object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void assertLesser(java.lang.String message, java.lang.Comparable limit, java.lang.Comparable actual)
public static void assertLesser(java.lang.Comparable limit, java.lang.Comparable actual)
public static void assertNotLesser(java.lang.String message, java.lang.Comparable limit, java.lang.Comparable actual)
public static void assertNotLesser(java.lang.Comparable limit, java.lang.Comparable actual)
public static void assertEquals(java.lang.String message, java.lang.Comparable expected, java.lang.Comparable actual)
public static void assertEquals(java.lang.Comparable expected, java.lang.Comparable actual)
public static void assertNotEquals(java.lang.String message, java.lang.Comparable expected, java.lang.Comparable actual)
public static void assertNotEquals(java.lang.Comparable expected, java.lang.Comparable actual)
public static void assertGreater(java.lang.String message, java.lang.Comparable limit, java.lang.Comparable actual)
public static void assertGreater(java.lang.Comparable limit, java.lang.Comparable actual)
public static void assertNotGreater(java.lang.String message, java.lang.Comparable limit, java.lang.Comparable actual)
public static void assertNotGreater(java.lang.Comparable limit, java.lang.Comparable actual)
|
JUnit-addons version 1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |