com.atlassian.maven.plugin.clover.internal.scanner
Class TestSourceScanner
java.lang.Object
com.atlassian.maven.plugin.clover.internal.scanner.AbstractSourceScanner
com.atlassian.maven.plugin.clover.internal.scanner.TestSourceScanner
- All Implemented Interfaces:
- CloverSourceScanner
public class TestSourceScanner
- extends AbstractSourceScanner
Computes the list of test source files to instrument.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SRC_TEST_JAVA
@NotNull
public static final String SRC_TEST_JAVA
SRC_TEST_GROOVY
@NotNull
public static final String SRC_TEST_GROOVY
TestSourceScanner
public TestSourceScanner(CompilerConfiguration configuration,
String outputSourceDirectory)
removeGroovySourceRoot
public void removeGroovySourceRoot(@NotNull
Set<String> sourceRoots)
- From a list of provided
sourceRoots remove SRC_TEST_GROOVY root
- Specified by:
removeGroovySourceRoot in class AbstractSourceScanner
- Parameters:
sourceRoots - list of source roots- See Also:
SRC_TEST_GROOVY,
AbstractSourceScanner.getSourceFilesToInstrument()
getCompileSourceRoots
protected List<String> getCompileSourceRoots()
-
- Specified by:
getCompileSourceRoots in class AbstractSourceScanner
getSourceDirectory
protected String getSourceDirectory()
- Specified by:
getSourceDirectory in class AbstractSourceScanner
isSourceRootForLanguage
public boolean isSourceRootForLanguage(@NotNull
String sourceRoot,
@NotNull
com.atlassian.clover.spi.lang.Language language)
-
Copyright © 2014 Atlassian Pty Ltd. All Rights Reserved.