|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Expression in com.agical.rmock.core |
---|
Methods in com.agical.rmock.core that return Expression | |
---|---|
Expression[] |
Expectation.getArguments()
|
Methods in com.agical.rmock.core with parameters of type Expression | |
---|---|
void |
Assert.assertThat(Object actual,
Expression expression)
Assert method that asserts that the object passed in the actual parameter passes the constraint passed in the expected parameter. |
Uses of Expression in com.agical.rmock.core.describe |
---|
Methods in com.agical.rmock.core.describe with parameters of type Expression | |
---|---|
void |
ExpressionDescriber.describeInverted(Expression wrappedConstraint)
describe this constraint as inverted ie !wrappedConstraint |
Uses of Expression in com.agical.rmock.core.describe.impl |
---|
Methods in com.agical.rmock.core.describe.impl with parameters of type Expression | |
---|---|
void |
ExpressionDescriberImpl.describeInverted(Expression expression)
|
Uses of Expression in com.agical.rmock.core.exception.manager |
---|
Methods in com.agical.rmock.core.exception.manager with parameters of type Expression | |
---|---|
void |
ExceptionVerifier.setUserExceptionExpectation(Expression expression)
|
void |
ExceptionVerifierImpl.setUserExceptionExpectation(Expression expression)
|
Uses of Expression in com.agical.rmock.core.expectation |
---|
Methods in com.agical.rmock.core.expectation that return Expression | |
---|---|
Expression[] |
ExpectationImpl.getArguments()
|
Methods in com.agical.rmock.core.expectation with parameters of type Expression | |
---|---|
void |
Engine.assertThat(Object actual,
Expression expression)
|
void |
ExpectationImpl.setArguments(Expression[] argumentConstrants)
|
Uses of Expression in com.agical.rmock.core.expectation.modification |
---|
Methods in com.agical.rmock.core.expectation.modification with parameters of type Expression | |
---|---|
ActionModifier |
ArgumentsModifier.args(Expression arg1)
|
ActionModifier |
ArgumentsModifier.args(Expression[] args)
|
ActionModifier |
ArgumentsModifier.args(Expression arg1,
Expression arg2)
|
ActionModifier |
ArgumentsModifier.args(Expression arg1,
Expression arg2,
Expression arg3)
|
ActionModifier |
ArgumentsModifier.args(Expression arg1,
Expression arg2,
Expression arg3,
Expression arg4)
|
ActionModifier |
ArgumentsModifier.args(Expression arg1,
Expression arg2,
Expression arg3,
Expression arg4,
Expression arg5)
|
ActionModifier |
ArgumentsModifier.args(Expression arg1,
Expression arg2,
Expression arg3,
Expression arg4,
Expression arg5,
Expression arg6)
|
void |
ModifiableExpectation.setArguments(Expression[] argumentConstrants)
|
Uses of Expression in com.agical.rmock.core.expectation.modification.impl |
---|
Methods in com.agical.rmock.core.expectation.modification.impl with parameters of type Expression | |
---|---|
ActionModifier |
ExpectationModifierImpl.args(Expression arg1)
|
ActionModifier |
ExpectationModifierImpl.args(Expression[] newArgs)
|
ActionModifier |
ExpectationModifierImpl.args(Expression arg1,
Expression arg2)
|
ActionModifier |
ExpectationModifierImpl.args(Expression arg1,
Expression arg2,
Expression arg3)
|
ActionModifier |
ExpectationModifierImpl.args(Expression arg1,
Expression arg2,
Expression arg3,
Expression arg4)
|
ActionModifier |
ExpectationModifierImpl.args(Expression arg1,
Expression arg2,
Expression arg3,
Expression arg4,
Expression arg5)
|
ActionModifier |
ExpectationModifierImpl.args(Expression arg1,
Expression arg2,
Expression arg3,
Expression arg4,
Expression arg5,
Expression arg6)
|
Uses of Expression in com.agical.rmock.core.find |
---|
Methods in com.agical.rmock.core.find with parameters of type Expression | |
---|---|
CollectionSelector |
Finder.forEach(Expression expression)
|
Uses of Expression in com.agical.rmock.core.match |
---|
Subinterfaces of Expression in com.agical.rmock.core.match | |
---|---|
interface |
Constraint
(c) Agical AB 2005 |
interface |
Operator
|
Methods in com.agical.rmock.core.match that return Expression | |
---|---|
Expression |
Expression.and(Expression right)
Ands this expression with the right side expression |
Expression |
Expression.or(Expression right)
Ors this expression with the right side expression |
Expression |
Expression.xor(Expression right)
Xors this expression with the right side expression |
Methods in com.agical.rmock.core.match with parameters of type Expression | |
---|---|
Expression |
Expression.and(Expression right)
Ands this expression with the right side expression |
Expression |
Expression.or(Expression right)
Ors this expression with the right side expression |
Expression |
Expression.xor(Expression right)
Xors this expression with the right side expression |
Uses of Expression in com.agical.rmock.core.match.constraint |
---|
Classes in com.agical.rmock.core.match.constraint that implement Expression | |
---|---|
class |
AbstractConstraint
(c) Agical AB 2005 |
class |
AnythingConstraint
|
class |
ContainsConstraint
|
class |
EndsWithConstraint
|
class |
EqualsConstraint
(c) Agical AB 2005 |
class |
GreaterThanConstraint
(c) Agical AB 2005 |
class |
GreaterThanOrEqualConstraint
(c) Agical AB 2005 |
class |
InstanceOfConstraint
(c) Agical AB 2005 |
class |
IsFalseConstraint
(c) Agical AB 2005 |
class |
IsNullConstraint
(c) Agical AB 2005 |
class |
IsTrueConstraint
(c) Agical AB 2005 |
class |
LessThanConstraint
|
class |
LessThanOrEqualConstraint
|
class |
SameConstraint
(c) Agical AB 2005 |
class |
StartsWithConstraint
|
Fields in com.agical.rmock.core.match.constraint declared as Expression | |
---|---|
Expression |
ConstraintFactory.ANYTHING
Always passes |
Expression |
ConstraintFactory.AS_RECORDED
Special expression to indicate that a recorded argument on this position should not be changed. |
Expression |
ConstraintFactory.FALSE
Checks if the checked actual value is a boolen and false |
Expression |
ConstraintFactory.NoChange
Deprecated. Use AS_RECORDED instead |
Expression |
ConstraintFactory.NOT_NULL
Checks if the checked actual value is a boolen and not null. |
Expression |
ConstraintFactory.NULL
Passes if the checked actual value is null |
Expression |
ConstraintFactory.TRUE
Checks if the checked actual value is a boolen and true |
Methods in com.agical.rmock.core.match.constraint that return Expression | |
---|---|
Expression |
ConstraintFactory.containing(String string)
Passes if the actual string is containing the value of string |
Expression |
ConstraintFactory.endingWith(String string)
Passes if the actual string ends with the value of string |
Expression |
ConstraintFactory.eq(boolean ref)
Passes if the reference is equal to the actual object. |
Expression |
ConstraintFactory.eq(byte ref)
Passes if the reference is equal to the actual object. |
Expression |
ConstraintFactory.eq(char ref)
Passes if the reference is equal to the actual object. |
Expression |
ConstraintFactory.eq(double ref)
Passes if the reference is equal to the actual object. |
Expression |
ConstraintFactory.eq(float ref)
Passes if the reference is equal to the actual object. |
Expression |
ConstraintFactory.eq(int ref)
Passes if the reference is equal to the actual object. |
Expression |
ConstraintFactory.eq(long ref)
Passes if the reference is equal to the actual object. |
Expression |
ConstraintFactory.eq(Object ref)
Passes if the reference is equal to the actual object. |
Expression |
ConstraintFactory.eq(short ref)
Passes if the reference is equal to the actual object. |
Expression |
ConstraintFactory.ge(byte ref)
Passes if the actual is greater than or equal to the reference. |
Expression |
ConstraintFactory.ge(char ref)
Passes if the actual is greater than or equal to the reference. |
Expression |
ConstraintFactory.ge(double ref)
Passes if the actual is greater than or equal to the reference. |
Expression |
ConstraintFactory.ge(float ref)
Passes if the actual is greater than or equal to the reference. |
Expression |
ConstraintFactory.ge(int ref)
Passes if the actual is greater than or equal to the reference. |
Expression |
ConstraintFactory.ge(long ref)
Passes if the actual is greater than or equal to the reference. |
Expression |
ConstraintFactory.ge(Object ref)
Passes if the actual is greater than or equal to the reference. |
Expression |
ConstraintFactory.ge(short ref)
Passes if the actual is greater than or equal to the reference. |
Expression |
ConstraintFactory.gt(byte ref)
Passes if the actual is greater than the reference. |
Expression |
ConstraintFactory.gt(char ref)
Passes if the actual is greater than the reference. |
Expression |
ConstraintFactory.gt(double ref)
Passes if the actual is greater than the reference. |
Expression |
ConstraintFactory.gt(float ref)
Passes if the actual is greater than the reference. |
Expression |
ConstraintFactory.gt(int ref)
Passes if the actual is greater than the reference. |
Expression |
ConstraintFactory.gt(long ref)
Passes if the actual is greater than the reference. |
Expression |
ConstraintFactory.gt(Object ref)
Passes if the actual is greater than the reference. |
Expression |
ConstraintFactory.gt(short ref)
Passes if the actual is greater than the reference. |
Expression |
ConstraintFactory.instanceOf(Class clazz)
Passes if the actual object is an instance of the class passed as the parameter clazz. |
Expression |
ConstraintFactory.le(byte ref)
Passes if the actual is less than or equal to the reference. |
Expression |
ConstraintFactory.le(char ref)
Passes if the actual is less than or equal to the reference. |
Expression |
ConstraintFactory.le(double ref)
Passes if the actual is less than or equal to the reference. |
Expression |
ConstraintFactory.le(float ref)
Passes if the actual is less than or equal to the reference. |
Expression |
ConstraintFactory.le(int ref)
Passes if the actual is less than or equal to the reference. |
Expression |
ConstraintFactory.le(long ref)
Passes if the actual is less than or equal to the reference. |
Expression |
ConstraintFactory.le(Object ref)
Passes if the actual is less than or equal to the reference. |
Expression |
ConstraintFactory.le(short ref)
Passes if the actual is less than or equal to the reference. |
Expression |
ConstraintFactory.lt(byte ref)
Passes if the actual is less than the reference. |
Expression |
ConstraintFactory.lt(char ref)
Passes if the actual is less than the reference. |
Expression |
ConstraintFactory.lt(double ref)
Passes if the actual is less than the reference. |
Expression |
ConstraintFactory.lt(float ref)
Passes if the actual is less than the reference. |
Expression |
ConstraintFactory.lt(int ref)
Passes if the actual is less than the reference. |
Expression |
ConstraintFactory.lt(long ref)
Passes if the actual is less than the reference. |
Expression |
ConstraintFactory.lt(Object ref)
Passes if the actual is less than the reference. |
Expression |
ConstraintFactory.lt(short ref)
Passes if the actual is less than the reference. |
Expression |
ConstraintFactory.not(Expression expression)
Inverts an expression |
Expression |
ConstraintFactory.same(Object ref)
Passes if the actual object is the same reference as the ref object. |
Expression |
ConstraintFactory.startingWith(String string)
Passes if the actual string begins with the value of string |
Methods in com.agical.rmock.core.match.constraint with parameters of type Expression | |
---|---|
Expression |
ConstraintFactory.not(Expression expression)
Inverts an expression |
Uses of Expression in com.agical.rmock.core.match.constraint.clazz |
---|
Classes in com.agical.rmock.core.match.constraint.clazz that implement Expression | |
---|---|
class |
ClassAssignableToConstraint
|
class |
ClassIsAbstractConstraint
|
class |
ClassNameConstraint
|
Methods in com.agical.rmock.core.match.constraint.clazz that return Expression | |
---|---|
Expression |
ClassConstraintFactory.abstr()
This constraint passes if the checked class is abstract |
Expression |
ClassConstraintFactory.assignableTo(Class clazz)
Checks wether a class is an instance of (or subclass of) the class passed in the clazz parameter. |
Expression |
ClassConstraintFactory.name(Expression expression)
Returns an expression that checks wether the classes name passes the expression passed in the parameter expression. |
Methods in com.agical.rmock.core.match.constraint.clazz with parameters of type Expression | |
---|---|
Expression |
ClassConstraintFactory.name(Expression expression)
Returns an expression that checks wether the classes name passes the expression passed in the parameter expression. |
Constructors in com.agical.rmock.core.match.constraint.clazz with parameters of type Expression | |
---|---|
ClassNameConstraint(Expression expression)
|
Uses of Expression in com.agical.rmock.core.match.constraint.method |
---|
Classes in com.agical.rmock.core.match.constraint.method that implement Expression | |
---|---|
class |
MethodNameConstraint
|
class |
MethodParameterTypesConstraint
|
Methods in com.agical.rmock.core.match.constraint.method that return Expression | |
---|---|
Expression |
MethodConstraintFactory.name(Expression expression)
Passes if the mame of any method passed to this constraint passes the expression passes as the expression parameter. |
Expression |
MethodConstraintFactory.paramTypes(Expression[] expressions)
Returns an expression that matches the parametertypes of a method. |
Methods in com.agical.rmock.core.match.constraint.method with parameters of type Expression | |
---|---|
Expression |
MethodConstraintFactory.name(Expression expression)
Passes if the mame of any method passed to this constraint passes the expression passes as the expression parameter. |
Expression |
MethodConstraintFactory.paramTypes(Expression[] expressions)
Returns an expression that matches the parametertypes of a method. |
Constructors in com.agical.rmock.core.match.constraint.method with parameters of type Expression | |
---|---|
MethodNameConstraint(Expression reference)
|
|
MethodParameterTypesConstraint(Expression[] paramExpressions)
|
Uses of Expression in com.agical.rmock.core.match.operator |
---|
Classes in com.agical.rmock.core.match.operator that implement Expression | |
---|---|
class |
AbstractBinaryOperator
|
class |
AbstractExpression
|
class |
AndOperator
|
class |
NotOperator
(c) Agical AB 2005 |
class |
OrOperator
|
class |
XorOperator
|
Methods in com.agical.rmock.core.match.operator that return Expression | |
---|---|
Expression |
AbstractExpression.and(Expression right)
|
Expression |
AbstractBinaryOperator.getLeft()
|
Expression |
AbstractBinaryOperator.getRight()
|
Expression |
AbstractExpression.or(Expression right)
|
Expression |
AbstractExpression.xor(Expression right)
|
Methods in com.agical.rmock.core.match.operator with parameters of type Expression | |
---|---|
Expression |
AbstractExpression.and(Expression right)
|
Expression |
AbstractExpression.or(Expression right)
|
Expression |
AbstractExpression.xor(Expression right)
|
Constructors in com.agical.rmock.core.match.operator with parameters of type Expression | |
---|---|
AbstractBinaryOperator(String operator,
Expression left,
Expression right)
|
|
AndOperator(Expression left,
Expression right)
|
|
NotOperator(Expression wrappedConstraint)
|
|
OrOperator(Expression left,
Expression right)
|
|
XorOperator(Expression left,
Expression right)
|
Uses of Expression in com.agical.rmock.core.match.reference |
---|
Constructors in com.agical.rmock.core.match.reference with parameters of type Expression | |
---|---|
ExpressionReference(Expression expression)
|
Uses of Expression in com.agical.rmock.extension.junit |
---|
Methods in com.agical.rmock.extension.junit with parameters of type Expression | |
---|---|
void |
AbstractStrategyTestCase.assertThat(boolean result,
Expression constraint)
|
void |
AbstractStrategyTestCase.assertThat(byte result,
Expression constraint)
|
void |
AbstractStrategyTestCase.assertThat(char result,
Expression constraint)
|
void |
AbstractStrategyTestCase.assertThat(double result,
Expression constraint)
|
void |
AbstractStrategyTestCase.assertThat(float result,
Expression constraint)
|
void |
AbstractStrategyTestCase.assertThat(int result,
Expression constraint)
|
void |
AbstractStrategyTestCase.assertThat(long result,
Expression constraint)
|
void |
AbstractStrategyTestCase.assertThat(Object actual,
Expression expression)
Assert method that asserts that the object passed in the actual parameter passes the constraint passed in the expected parameter. |
void |
AbstractStrategyTestCase.assertThat(short result,
Expression constraint)
|
void |
RMockTestCase.expectThatExceptionThrown(Expression exceptionExpression)
Sets up that an exception is expected to be thrown as a result of this testCase. |
protected CollectionSelector |
DynamicTestSuite.forEach(Expression expression)
|
protected CollectionSelector |
RMockTestCase.forEach(Expression expression)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |