Package randoop.test
Class RegressionTestPredicate
java.lang.Object
randoop.test.RegressionTestPredicate
- All Implemented Interfaces:
Predicate<ExecutableSequence>
RegressionTestPredicate
determines whether to keep an ExecutableSequence
as a
regression test.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
test
(ExecutableSequence eseq) Determines whether an executable sequence is a valid regression test.
-
Constructor Details
-
RegressionTestPredicate
public RegressionTestPredicate()
-
-
Method Details
-
test
Determines whether an executable sequence is a valid regression test. In particular, shouldn't have failures (an error-revealing test), and shouldn't haveTimeoutExceededException
.A true result means the test is a candidate for output.
- Specified by:
test
in interfacePredicate<ExecutableSequence>
- Returns:
- true if has no failures and does not involve a timeout exception, false otherwise
-