Пример #1
0
 /**
  * Returns the exclude patterns for test execution.
  *
  * @see #exclude(String...)
  */
 public Set<String> getExcludes() {
   return patternSet.getExcludes();
 }
Пример #2
0
 /**
  * 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;
 }
Пример #3
0
 /** {@inheritDoc} */
 public Test exclude(Closure excludeSpec) {
   patternSet.exclude(excludeSpec);
   return this;
 }
Пример #4
0
 /**
  * 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;
 }
Пример #5
0
 /**
  * Adds exclude patterns for the files in the test classes directory (e.g. '**&#2F;*Test.class')).
  *
  * @see #setExcludes(Iterable)
  */
 public Test exclude(Iterable<String> excludes) {
   patternSet.exclude(excludes);
   return this;
 }
Пример #6
0
 /** {@inheritDoc} */
 public Test exclude(Spec<FileTreeElement> excludeSpec) {
   patternSet.exclude(excludeSpec);
   return this;
 }
Пример #7
0
 /**
  * Adds exclude patterns for the files in the test classes directory (e.g. '**&#2F;*Test.class')).
  *
  * @see #setExcludes(Iterable)
  */
 public Test exclude(String... excludes) {
   patternSet.exclude(excludes);
   return this;
 }
Пример #8
0
 /** {@inheritDoc} */
 public Test include(Closure includeSpec) {
   patternSet.include(includeSpec);
   return this;
 }
Пример #9
0
 /** {@inheritDoc} */
 public Test include(Spec<FileTreeElement> includeSpec) {
   patternSet.include(includeSpec);
   return this;
 }
Пример #10
0
 /**
  * Adds include patterns for the files in the test classes directory (e.g. '**&#2F;*Test.class')).
  *
  * @see #setIncludes(Iterable)
  */
 public Test include(Iterable<String> includes) {
   patternSet.include(includes);
   return this;
 }
Пример #11
0
 /**
  * Adds include patterns for the files in the test classes directory (e.g. '**&#2F;*Test.class')).
  *
  * @see #setIncludes(Iterable)
  */
 public Test include(String... includes) {
   patternSet.include(includes);
   return this;
 }