| 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
Booleans and booleans. |
| ByteArrayAssert |
Assertions for
byte arrays. |
| ByteAssert |
Assertions for
Bytes and bytes. |
| CharArrayAssert |
Assertions for
char arrays. |
| CharAssert |
Assertions for
Characters and chars. |
| 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
Doubles and doubles. |
| DoubleAssert.Delta | Deprecated
use top-level class
instead. |
| Fail |
Common failures.
|
| FileAssert |
Assertions for
. |
| FloatArrayAssert |
Assertions for
float arrays. |
| FloatAssert |
Assertions for
Floats and floats. |
| 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
Integers and ints. |
| 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
Longs and longs. |
| 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
Shorts and shorts. |
| StringAssert |
Assertions for
Strings. |
| 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.