Package org.jtiger.assertion

Provides a set of assertions for typical use in test cases.

See:
          Description

Interface Summary
ObjectFactory<T> A callback interface for the creation of objects that are typically under test by the framework.
 

Class Summary
Basic Provides the ability to make assertions that are of the most basic and trivial concepts.
Comparable Makes assertions on instances of java.lang.Comparable.
EqualsMethodContract Makes assertions on the general contract of the java.lang.Object equals method.
HashCodeMethodContract Makes assertions on the general contract of the java.lang.Object hashCode method.
Modifier Provides the ability make assertions that modifiers appear or do not appear on various language constructs, such as types (i.e. classes, interfaces, enums and annotations), constructors, methods and fields.
ObjectFactoryContract Provides the ability to make assertions on the contract defined by ObjectFactory.
Reflection Provides the ability to make assertions on Java reflection types.
Serialization Provides the ability to make assertions regarding the serializability of objects.
 

Exception Summary
AssertionException An exception that may be thrown to indicate that an assertion was not met.
 

Package org.jtiger.assertion Description

Provides a set of assertions for typical use in test cases. A primitive set of assertions is provided by the Basic class. The EqualsMethodContract class provides a set of assertions for the java.lang.Object equals method. The HashCodeMethodContract class provides a set of assertions for the java.lang.Object hashCode method. The Modifier class provides a set of assertions for modifiers on language constructs e.g. that a class is declared public, or that a method is declared synchronized. The Serialization class provides a set of assertions for instances of java.io.Serializable and relevant associated semantics for this type.