/** * Returns the exclude patterns for test execution. * * @see #exclude(String...) */ public Set<String> getExcludes() { return patternSet.getExcludes(); }
/** * Sets the exclude patterns for test execution. * * @param excludes The patterns list * @see #exclude(String...) */ public Test setExcludes(Iterable<String> excludes) { patternSet.setExcludes(excludes); return this; }
/** {@inheritDoc} */ public Test exclude(Closure excludeSpec) { patternSet.exclude(excludeSpec); return this; }
/** * Sets the include patterns for test execution. * * @param includes The patterns list * @see #include(String...) */ public Test setIncludes(Iterable<String> includes) { patternSet.setIncludes(includes); return this; }
/** * Adds exclude patterns for the files in the test classes directory (e.g. '**F;*Test.class')). * * @see #setExcludes(Iterable) */ public Test exclude(Iterable<String> excludes) { patternSet.exclude(excludes); return this; }
/** {@inheritDoc} */ public Test exclude(Spec<FileTreeElement> excludeSpec) { patternSet.exclude(excludeSpec); return this; }
/** * Adds exclude patterns for the files in the test classes directory (e.g. '**F;*Test.class')). * * @see #setExcludes(Iterable) */ public Test exclude(String... excludes) { patternSet.exclude(excludes); return this; }
/** {@inheritDoc} */ public Test include(Closure includeSpec) { patternSet.include(includeSpec); return this; }
/** {@inheritDoc} */ public Test include(Spec<FileTreeElement> includeSpec) { patternSet.include(includeSpec); return this; }
/** * Adds include patterns for the files in the test classes directory (e.g. '**F;*Test.class')). * * @see #setIncludes(Iterable) */ public Test include(Iterable<String> includes) { patternSet.include(includes); return this; }
/** * Adds include patterns for the files in the test classes directory (e.g. '**F;*Test.class')). * * @see #setIncludes(Iterable) */ public Test include(String... includes) { patternSet.include(includes); return this; }