|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Constraint | |
com.mockobjects.constraint | |
com.mockobjects.dynamic |
Uses of Constraint in com.mockobjects.constraint |
Classes in com.mockobjects.constraint that implement Constraint | |
class |
And
Calculates the logical conjunction of two constraints. |
class |
IsAnything
A constraint that always returns true . |
class |
IsCloseTo
Is the value a number equal to a value within some range of acceptable error? |
class |
IsEqual
Is the value equal to another value, as tested by the Object.equals(java.lang.Object) method? |
class |
IsEventFrom
Tests if the value is an event announced by a specific object. |
class |
IsGreaterThan
Is the value greater than another Comparable value? |
class |
IsInstanceOf
Tests whether the value is an instance of a class. |
class |
IsLessThan
Is the value less than another Comparable value? |
class |
IsNot
Calculates the logical negation of a constraint. |
class |
IsNull
Is the value null? |
class |
IsSame
Is the value the same object as another value? |
class |
Or
Calculates the logical disjunction of two constraints. |
Constructors in com.mockobjects.constraint with parameters of type Constraint | |
Or(Constraint p1,
Constraint p2)
|
|
IsNot(Constraint p)
|
|
And(Constraint p1,
Constraint p2)
|
Uses of Constraint in com.mockobjects.dynamic |
Fields in com.mockobjects.dynamic declared as Constraint | |
static Constraint |
C.IS_NOT_NULL
|
static Constraint |
C.IS_TRUE
|
static Constraint |
C.IS_FALSE
|
static Constraint |
C.IS_ZERO
|
static Constraint |
C.IS_NOT_ZERO
|
Methods in com.mockobjects.dynamic that return Constraint | |
static Constraint |
C.same(java.lang.Object o)
|
static Constraint |
C.eq(java.lang.Object o)
|
static Constraint |
C.eq(int n)
|
static Constraint |
C.eq(long l)
|
static Constraint |
C.eq(double d)
|
static Constraint |
C.gt(int n)
|
static Constraint |
C.gt(long l)
|
static Constraint |
C.gt(double d)
|
static Constraint |
C.gt(char c)
|
static Constraint |
C.lt(int n)
|
static Constraint |
C.lt(long l)
|
static Constraint |
C.lt(double d)
|
static Constraint |
C.lt(char c)
|
static Constraint |
C.not(Constraint p)
|
static Constraint |
C.and(Constraint p1,
Constraint p2)
|
static Constraint |
C.or(Constraint p1,
Constraint p2)
|
static Constraint |
C.isA(java.lang.Class c)
|
Methods in com.mockobjects.dynamic with parameters of type Constraint | |
static Constraint |
C.not(Constraint p)
|
static Constraint |
C.and(Constraint p1,
Constraint p2)
|
static Constraint |
C.or(Constraint p1,
Constraint p2)
|
static ConstraintMatcher |
C.args(Constraint p)
|
static ConstraintMatcher |
C.args(Constraint p1,
Constraint p2)
|
static ConstraintMatcher |
C.args(Constraint p1,
Constraint p2,
Constraint p3)
|
Constructors in com.mockobjects.dynamic with parameters of type Constraint | |
FullConstraintMatcher(Constraint[] constraints)
|
|
FullConstraintMatcher(Constraint c1)
|
|
FullConstraintMatcher(Constraint c1,
Constraint c2)
|
|
FullConstraintMatcher(Constraint c1,
Constraint c2,
Constraint c3)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |