Package org.apache.sling.junit
Interface TestSelector
-
- All Known Implementing Classes:
RequestParser
public interface TestSelectorUsed by theTestsManagerto select which tests to run
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanacceptTestName(String testName)If true, testName will be selectedStringgetExtension()Return the extension used to render resultsStringgetSelectedTestMethodName()Returns the name of the selected test.StringgetTestSelectorString()Return the String used to select tests
-
-
-
Method Detail
-
acceptTestName
boolean acceptTestName(String testName)
If true, testName will be selected- Parameters:
testName- the name of the test- Returns:
trueif the test will be selected,falseotherwise
-
getSelectedTestMethodName
String getSelectedTestMethodName()
Returns the name of the selected test.- Returns:
- the name of the selected test
-
getTestSelectorString
String getTestSelectorString()
Return the String used to select tests- Returns:
- the string used to select the tests
-
getExtension
String getExtension()
Return the extension used to render results- Returns:
- the extension used to render the results
-
-