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