Class NoOpTestInputPrioritizer
- java.lang.Object
-
- de.rwth.swc.coffee4j.algorithmic.sequential.prioritization.NoOpTestInputPrioritizer
-
- All Implemented Interfaces:
TestInputPrioritizer
public final class NoOpTestInputPrioritizer extends Object implements TestInputPrioritizer
An implementation ofTestInputPrioritizer
which does not do anything except returning the same test inputs.
-
-
Constructor Summary
Constructors Constructor Description NoOpTestInputPrioritizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
int
hashCode()
List<int[]>
prioritize(Collection<int[]> testCases, TestModel model)
Prioritizes the given test cases according to some internal prioritization criterion.String
toString()
-
-
-
Method Detail
-
prioritize
public List<int[]> prioritize(Collection<int[]> testCases, TestModel model)
Description copied from interface:TestInputPrioritizer
Prioritizes the given test cases according to some internal prioritization criterion. This criterion should be explained in the Javadoc of the implementation.- Specified by:
prioritize
in interfaceTestInputPrioritizer
- Parameters:
testCases
- the test cases to prioritize. Must not benull
model
- the model which includes additional prioritization information. Must not benull
- Returns:
- the same test cases as in the input, but ordered according to the prioritization criteria. This must
NEVER include additional/remove existing test cases! Otherwise the correct behaviour of any calling class
can not be guaranteed. Consequently,
null
is also never a valid return value
-
-