* WallClock Criterion.
*/
public void testListOrAbort() {
gaps.setFitness(TEST_FITNESS_MAX);
gaps.setNumIndividuals(NUM_OF_IND);
ListOrAbort abortList = new ListOrAbort();
abortList.addCriterion(new GenerationCountAbort(GEN_COUNT));
abortList.addCriterion(new MaxFitnessAbort(MAXIMIZE_FITNESS));
StopWatch watch = new StopWatch();
watch.start();
abortList.addCriterion(new WallClockTimeAbort(MILLISECONDS));
gaps.setAbortCriterion(abortList);
gaps.portfolio(problemDescription);
watch.stop();
assertTrue(