Package org.junit.runner
Class JUnitCommandLineParseResult
java.lang.Object
org.junit.runner.JUnitCommandLineParseResult
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Exception used if there's a problem parsing the command line. -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Request
applyFilterSpecs
(Request request) private String[]
createRequest
(Computer computer) Creates aRequest
.private Request
errorReport
(Throwable cause) Returns test classes parsed from command line.Returns filter specs parsed from command line.static JUnitCommandLineParseResult
Parses the arguments.private void
(package private) String[]
parseOptions
(String... args) (package private) void
parseParameters
(String[] args)
-
Field Details
-
filterSpecs
-
classes
-
parserErrors
-
-
Constructor Details
-
JUnitCommandLineParseResult
JUnitCommandLineParseResult()Do not use. Testing purposes only.
-
-
Method Details
-
getFilterSpecs
Returns filter specs parsed from command line. -
getClasses
Returns test classes parsed from command line. -
parse
Parses the arguments.- Parameters:
args
- Arguments
-
parseArgs
-
parseOptions
-
copyArray
-
parseParameters
-
errorReport
-
createRequest
Creates aRequest
.- Parameters:
computer
-Computer
to be used.
-
applyFilterSpecs
-