Package org.apache.sling.junit
Interface TestSelector
- All Known Implementing Classes:
RequestParser
public interface TestSelector
Used by the
TestsManager to select which tests to run-
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptTestName(String testName) If true, testName will be selectedReturn the extension used to render resultsReturns the name of the selected test.Return the String used to select tests
-
Method Details
-
acceptTestName
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
-