public class LdpTestSuite extends Object
TestNG
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
static String |
OUTPUT_DIR |
static String |
SPEC_URI |
Constructor and Description |
---|
LdpTestSuite(org.apache.commons.cli.CommandLine cmd)
Initialize the test suite with options as the row command-line input
|
LdpTestSuite(org.apache.commons.cli.CommandLine cmd,
String reportTitle)
Initialize the test suite with options as the row command-line input
|
LdpTestSuite(Map<String,String> options)
Initialize the test suite with options as a map
|
Modifier and Type | Method and Description |
---|---|
static org.apache.commons.cli.OptionGroup |
addCommonOptions() |
static org.apache.commons.cli.OptionGroup |
addEarlOptions() |
void |
addTestClass(String klass) |
void |
addTestClass(org.testng.xml.XmlClass klass) |
void |
addTestClasses(Collection<org.testng.xml.XmlClass> classes) |
void |
checkUriScheme(String uri) |
static void |
executeTestSuite(String[] args,
org.apache.commons.cli.Options options,
String reportTitle) |
static void |
executeTestSuite(String[] args,
org.apache.commons.cli.Options options,
String reportTitle,
List<org.testng.xml.XmlClass> classes) |
static org.apache.commons.cli.CommandLine |
getCommandLine(org.apache.commons.cli.Options options,
String[] args) |
String |
getOutputDir() |
int |
getStatus() |
void |
run() |
String |
wildcardPatternToRegex(String wildcardPattern) |
public static final String NAME
public static final String SPEC_URI
public static final String OUTPUT_DIR
public LdpTestSuite(Map<String,String> options)
options
- map of optionspublic LdpTestSuite(org.apache.commons.cli.CommandLine cmd)
cmd
- command-line optionspublic LdpTestSuite(org.apache.commons.cli.CommandLine cmd, String reportTitle)
cmd
- command-line optionsreportTitle
- report titlepublic void checkUriScheme(String uri) throws URISyntaxException
URISyntaxException
public void addTestClass(String klass)
public void addTestClass(org.testng.xml.XmlClass klass)
public void addTestClasses(Collection<org.testng.xml.XmlClass> classes)
public String wildcardPatternToRegex(String wildcardPattern)
public void run()
public int getStatus()
public String getOutputDir()
public static org.apache.commons.cli.CommandLine getCommandLine(org.apache.commons.cli.Options options, String[] args)
public static void executeTestSuite(String[] args, org.apache.commons.cli.Options options, String reportTitle)
public static void executeTestSuite(String[] args, org.apache.commons.cli.Options options, String reportTitle, List<org.testng.xml.XmlClass> classes)
public static org.apache.commons.cli.OptionGroup addCommonOptions()
public static org.apache.commons.cli.OptionGroup addEarlOptions()
Copyright © 2014 World Wide Web Consortium (W3C). All rights reserved.