Uses of Interface
org.jmock.Constraint

Packages that use Constraint
org.jmock   
org.jmock.constraint   
org.jmock.matcher   
 

Uses of Constraint in org.jmock
 

Fields in org.jmock 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 org.jmock 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 org.jmock 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 InvocationMatcher C.args(Constraint p)
           
static InvocationMatcher C.args(Constraint p1, Constraint p2)
           
static InvocationMatcher C.args(Constraint p1, Constraint p2, Constraint p3)
           
static InvocationMatcher C.args(Constraint p1, Constraint p2, Constraint p3, Constraint p4)
           
 

Uses of Constraint in org.jmock.constraint
 

Classes in org.jmock.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 org.jmock.constraint with parameters of type Constraint
And(Constraint p1, Constraint p2)
           
IsNot(Constraint p)
           
Or(Constraint p1, Constraint p2)
           
 

Uses of Constraint in org.jmock.matcher
 

Methods in org.jmock.matcher that return Constraint
 Constraint[] ArgumentsMatcher.getConstraints()
           
 

Constructors in org.jmock.matcher with parameters of type Constraint
ArgumentsMatcher(Constraint[] constraints)
           
MethodNameMatcher(Constraint constraint)
           
 



Copyright © 2003 jMock.org. All Rights Reserved.