public class NullResultMatcher extends java.lang.Object implements ResultMatcher
ResultMatcher which always passes.
This is useful if the expected result of an operation is not known.| Constructor and Description |
|---|
NullResultMatcher() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMatch(Geometry geom,
java.lang.String opName,
java.lang.Object[] args,
Result actualResult,
Result expectedResult,
double tolerance)
Always reports a match.
|
public boolean isMatch(Geometry geom, java.lang.String opName, java.lang.Object[] args, Result actualResult, Result expectedResult, double tolerance)
isMatch in interface ResultMatchergeom - the target geometryopName - the operation performedargs - the input arguments to the operationactualResult - the actual computed resultexpectedResult - the expected result of the testtolerance - the tolerance for the test