Interface | Description |
---|---|
AssertExtension |
Marker interface for used-defined assertions.
|
Description |
A description of something.
|
NumberAssert |
Template for assertions for numbers (primitives and objects.)
|
Class | Description |
---|---|
ArrayAssert<S,A> |
Assertions for arrays.
|
ArrayInspection |
Utility methods for arrays.
|
Assert |
Base class for all assertion classes.
|
Assertions |
Entry point for assertion methods for different data types.
|
BasicDescription |
Default implementation of
. |
BigDecimalAssert |
Assertions for
s. |
BooleanArrayAssert |
Assertions for
boolean arrays. |
BooleanAssert |
Assertions for
Boolean s and boolean s. |
ByteArrayAssert |
Assertions for
byte arrays. |
ByteAssert |
Assertions for
Byte s and byte s. |
CharArrayAssert |
Assertions for
char arrays. |
CharAssert |
Assertions for
Character s and char s. |
CollectionAssert |
Assertions for
s. |
Collections |
Utility methods for
s. |
ComparableAssert<S,T extends Comparable<T>> |
Template for assertions applicable to
s. |
ComparisonFailureFactory |
Creates instances of JUnit's
ComparisonFailure . |
Condition<T> |
Condition to be met by an
. |
Delta |
A finite increment in a variable.
|
DoubleArrayAssert |
Assertions for
double arrays. |
DoubleAssert |
Assertions for
Double s and double s. |
DoubleAssert.Delta | Deprecated
use top-level class
instead. |
Fail |
Common failures.
|
FileAssert |
Assertions for
. |
FloatArrayAssert |
Assertions for
float arrays. |
FloatAssert |
Assertions for
Float s and float s. |
FloatAssert.Delta | Deprecated
use top-level class
instead. |
Formatting |
Utility methods for formatting values.
|
GenericAssert<S,A> |
Template for assertions.
|
GroupAssert<S,A> |
Template for assertions for classes representing groups of values.
|
ImageAssert |
Assertions for
s. |
Index |
An index.
|
IntArrayAssert |
Assertions for
int arrays. |
IntAssert |
Assertions for
Integer s and int s. |
ItemGroupAssert<S,A> |
Template for assertions for groups of items (e.g.
|
IteratorAssert |
Assertions for
s. |
ListAssert |
Assertions for
s. |
LongArrayAssert |
Assertions for
long arrays. |
LongAssert |
Assertions for
Long s and long s. |
MapAssert |
Assertions for
s. |
MapAssert.Entry |
An entry in a
. |
ObjectArrayAssert |
Assertions for
Object arrays. |
ObjectAssert |
Assertions for
s. |
ObjectGroupAssert<S,A> |
Template for assertions for arrays or collections.
|
ShortArrayAssert |
Assertions for
short arrays. |
ShortAssert |
Assertions for
Short s and short s. |
StringAssert |
Assertions for
String s. |
Threshold |
A threshold.
|
ThrowableAssert |
Assertions for
. |
Assertion methods bound to the type they apply. The entry point is any of the "assertThat
" methods in
(assertion classes cannot be instantiated directly.)
Assertions
For example:
int removed = employees.removeFired();assertThat
(removed).isZero
(); List<Employee> newEmployees = employees.hired(TODAY);assertThat
(newEmployees).hasSize
(6);
Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.