Class AbstractTestScanner
java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.test.scan.AbstractTestScanner
- Direct Known Subclasses:
TestPackageScanner
,TestProjectScanner
Common base class for the
TestPackageScanner
and TestProjectScanner
.-
Constructor Summary
ConstructorsConstructorDescriptionAbstractTestScanner
(String inputDir, boolean recursive, Launcher launcher) Instantiates aAbstractTestScanner
. -
Method Summary
-
Constructor Details
-
AbstractTestScanner
Instantiates aAbstractTestScanner
.- Parameters:
inputDir
- the input directory to scanrecursive
- specifies whether to scan recursivelylauncher
- the launcher
-
-
Method Details
-
getInputDir
-
isRecursive
public boolean isRecursive() -
scanTestFiles
Scans the test files.- Returns:
- the test files
- Throws:
IOException
- signals that an I/O exception has occurredInterruptedException
- if the current thread is interrupted while waiting for the completion
-
getFilePattern
Gets the file pattern.- Returns:
- the file pattern
-
getFileExtension
Gets the file extension.- Returns:
- the file extension
-