Package randoop.test

Class IncludeIfCoversPredicate

java.lang.Object
randoop.test.IncludeIfCoversPredicate
All Implemented Interfaces:
Predicate<ExecutableSequence>

public class IncludeIfCoversPredicate extends Object implements 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 Details

    • coveredClasses

      private Set<Class<?>> coveredClasses
      the set of classes to be covered
  • Constructor Details

    • IncludeIfCoversPredicate

      public IncludeIfCoversPredicate(Set<Class<?>> coveredClasses)
      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