| Package | Description |
|---|---|
| eu.simuline.testhelpers |
Classes needed for testing.
|
| Modifier and Type | Method and Description |
|---|---|
static Assert.CmpObj |
Assert.CmpObj.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Assert.CmpObj[] |
Assert.CmpObj.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static <E> void |
Assert.assertIs(Assert.CmpObj cmpObj,
Comparable<E> expected,
E actual)
Fails if
expected.compareTo(actual)
is not as expected
and raises an exception if this expression cannot be evaluated. |
static <E> void |
Assert.assertIs(Assert.CmpObj cmpObj,
E expected,
E actual,
Comparator<E> cmp)
Fails if
cmp.compare(expected, actual)
is not as expected
and raises an exception if this expression cannot be evaluated. |
static <E> void |
Assert.assertIs(Assert.CmpObj cmpObj,
String message,
Comparable<E> expected,
E actual)
Fails if
expected.compareTo(actual)
is not as expected
and raises an exception if this expression cannot be evaluated. |
static <E> void |
Assert.assertIs(Assert.CmpObj cmpObj,
String message,
E expected,
E actual,
Comparator<E> cmp)
Fails if
cmp.compare(expected, actual)
is not as expected
and raises an exception if this expression cannot be evaluated. |
Copyright © 2012–2018 Simuline Organization (l2r). All rights reserved.