public abstract class CompareIdenticalFunctions extends CompareEquivalentFunctions
methodTest, methodValidation| Modifier | Constructor and Description |
|---|---|
protected |
CompareIdenticalFunctions(java.lang.Class<?> testClass,
java.lang.Class<?> validationClass) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
compareResults(java.lang.Object targetResult,
java.lang.Object[] targetParam,
java.lang.Object validationResult,
java.lang.Object[] validationParam)
Compares the two sets of results from the target and validation methods.
|
protected boolean |
isEquivalent(java.lang.reflect.Method candidate,
java.lang.reflect.Method evaluation)
Returns two if the two methods provide results that should be compared
|
protected boolean |
isTestMethod(java.lang.reflect.Method m)
Checks to see if the provided method from the test class is a method that should be tested
|
protected java.lang.Object[] |
reformatForValidation(java.lang.reflect.Method m,
java.lang.Object[] targetParam)
Adjusts the input for the validation method.
|
compareMethod, createInputParam, createSubImageInputs, performTestsprotected CompareIdenticalFunctions(java.lang.Class<?> testClass,
java.lang.Class<?> validationClass)
protected boolean isTestMethod(java.lang.reflect.Method m)
CompareEquivalentFunctionsisTestMethod in class CompareEquivalentFunctionsprotected boolean isEquivalent(java.lang.reflect.Method candidate,
java.lang.reflect.Method evaluation)
CompareEquivalentFunctionsisEquivalent in class CompareEquivalentFunctionsprotected java.lang.Object[] reformatForValidation(java.lang.reflect.Method m,
java.lang.Object[] targetParam)
CompareEquivalentFunctionsreformatForValidation in class CompareEquivalentFunctionsprotected void compareResults(java.lang.Object targetResult,
java.lang.Object[] targetParam,
java.lang.Object validationResult,
java.lang.Object[] validationParam)
CompareEquivalentFunctionscompareResults in class CompareEquivalentFunctions