public class ExpandTestFinder extends TagTestFinder
-allowKeyword option.TagTestFinderTestFinder.ErrorHandler, TestFinder.Faultdebug, env| Constructor and Description |
|---|
ExpandTestFinder() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
decodeArg(java.lang.String[] args,
int i)
Decode the arg at a specified position in the arg array.
|
protected void |
foundTestDescription(java.util.Map entries,
java.io.File file,
int line)
Report that data for a test description has been found.
|
void |
init(java.lang.String[] args,
java.io.File testSuiteRoot,
TestEnvironment env)
Initialize the data required by the finder.
|
protected void |
processEntry(java.util.Map entries,
java.lang.String name,
java.lang.String value)
Handle a test description entry read from a file.
|
addExtension, exclude, exclude, getClassForExtension, getCurrentFile, getInitialTag, isExcluded, parseComment, scan, scanFile, setInitialTag, unexcludeclearErrors, decodeAllArgs, error, error, error, foundFile, foundTestDescription, getComparator, getDefaultComparator, getErrorCount, getErrorHandler, getErrors, getFiles, getRoot, getRootDir, getTests, init, isFolder, lastModified, localizedError, normalize, read, setComparator, setErrorHandler, setRootprotected int decodeArg(java.lang.String[] args,
int i)
throws TestFinder.Fault
TagTestFinderdecodeArg in class TagTestFinderargs - The array of argumentsi - The next argument to be decoded.TestFinder.Fault - If there is a problem with the value of the current arg,
such as a bad value to an option, the Fault exception can be
thrown. The exception should NOT be thrown if the current
arg is unrecognized: in that case, an implementation should
delegate the call to the supertype.public void init(java.lang.String[] args,
java.io.File testSuiteRoot,
TestEnvironment env)
throws TestFinder.Fault
TestFinderinit in class TestFinderargs - An array of strings specified as arguments in the environment. Null
indicates no args.testSuiteRoot - The root file that will be passed to test descriptions read
by the finder.env - The environment being used to run the test. May be null.TestFinder.Fault - if there is a problem interpreting any of args.protected void foundTestDescription(java.util.Map entries,
java.io.File file,
int line)
TestFinderfoundTestDescription in class TestFinderentries - The data for the test descriptionfile - The file being readline - The line number within the file (used for error messages)protected void processEntry(java.util.Map entries,
java.lang.String name,
java.lang.String value)
TestFinderprocessEntry in class TestFinderentries - The dictionary of the entries being readname - The name of the entry that has been readvalue - The value of the entry that has been readCopyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.