Uses of Interface
com.mockobjects.constraint.Constraint
-
Packages that use Constraint Package Description com.mockobjects.constraint com.mockobjects.dynamic -
-
Uses of Constraint in com.mockobjects.constraint
Classes in com.mockobjects.constraint that implement Constraint Modifier and Type Class Description classAndCalculates the logical conjunction of two constraints.classIsAnythingA constraint that always returnstrue.classIsCloseToIs the value a number equal to a value within some range of acceptable error?classIsEqualIs the value equal to another value, as tested by theObject.equals(java.lang.Object)method?classIsEventFromTests if the value is an event announced by a specific object.classIsGreaterThanIs the value greater than anotherComparablevalue?classIsInstanceOfTests whether the value is an instance of a class.classIsLessThanIs the value less than anotherComparablevalue?classIsNotCalculates the logical negation of a constraint.classIsNullIs the value null?classIsSameIs the value the same object as another value?classOrCalculates the logical disjunction of two constraints.Constructors in com.mockobjects.constraint with parameters of type Constraint Constructor Description And(Constraint p1, Constraint p2)IsNot(Constraint p)Or(Constraint p1, Constraint p2) -
Uses of Constraint in com.mockobjects.dynamic
Fields in com.mockobjects.dynamic declared as Constraint Modifier and Type Field Description static ConstraintC. IS_FALSEstatic ConstraintC. IS_NOT_NULLstatic ConstraintC. IS_NOT_ZEROstatic ConstraintC. IS_TRUEstatic ConstraintC. IS_ZEROMethods in com.mockobjects.dynamic that return Constraint Modifier and Type Method Description static ConstraintC. and(Constraint p1, Constraint p2)static ConstraintC. eq(double d)static ConstraintC. eq(int n)static ConstraintC. eq(long l)static ConstraintC. eq(java.lang.Object o)static ConstraintC. gt(char c)static ConstraintC. gt(double d)static ConstraintC. gt(int n)static ConstraintC. gt(long l)static ConstraintC. isA(java.lang.Class c)static ConstraintC. lt(char c)static ConstraintC. lt(double d)static ConstraintC. lt(int n)static ConstraintC. lt(long l)static ConstraintC. not(Constraint p)static ConstraintC. or(Constraint p1, Constraint p2)static ConstraintC. same(java.lang.Object o)Methods in com.mockobjects.dynamic with parameters of type Constraint Modifier and Type Method Description static ConstraintC. and(Constraint p1, Constraint p2)static ConstraintMatcherC. args(Constraint p)static ConstraintMatcherC. args(Constraint p1, Constraint p2)static ConstraintMatcherC. args(Constraint p1, Constraint p2, Constraint p3)static ConstraintC. not(Constraint p)static ConstraintC. or(Constraint p1, Constraint p2)Constructors in com.mockobjects.dynamic with parameters of type Constraint Constructor Description FullConstraintMatcher(Constraint c1)FullConstraintMatcher(Constraint[] constraints)FullConstraintMatcher(Constraint c1, Constraint c2)FullConstraintMatcher(Constraint c1, Constraint c2, Constraint c3)
-