Package randoop.test
Class IncludeIfCoversPredicate
java.lang.Object
randoop.test.IncludeIfCoversPredicate
- All Implemented Interfaces:
Predicate<ExecutableSequence>
Requires a test to cover certain classes. Returns true if the most recent execution of the
ExecutableSequence
covers any of the classes in this predicate.-
Field Summary
Modifier and TypeFieldDescriptionthe set of classes to be covered -
Constructor Summary
ConstructorDescriptionIncludeIfCoversPredicate
(Set<Class<?>> coveredClasses) Creates a predicate to test whether a sequence covers any of the given classes. -
Method Summary
-
Field Details
-
coveredClasses
the set of classes to be covered
-
-
Constructor Details
-
IncludeIfCoversPredicate
Creates a predicate to test whether a sequence covers any of the given classes.- Parameters:
coveredClasses
- the set of classes to be covered
-
-
Method Details
-
test
- Specified by:
test
in interfacePredicate<ExecutableSequence>
- Returns:
- true if any of the classes in this predicate are covered by the sequence
-