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 ofTestInputPrioritizerwhich 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 booleanequals(Object object)inthashCode()List<int[]>prioritize(Collection<int[]> testCases, TestModel model)Prioritizes the given test cases according to some internal prioritization criterion.StringtoString()
-
-
-
Method Detail
-
prioritize
public List<int[]> prioritize(Collection<int[]> testCases, TestModel model)
Description copied from interface:TestInputPrioritizerPrioritizes the given test cases according to some internal prioritization criterion. This criterion should be explained in the Javadoc of the implementation.- Specified by:
prioritizein interfaceTestInputPrioritizer- Parameters:
testCases- the test cases to prioritize. Must not benullmodel- 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,
nullis also never a valid return value
-
-