@ProviderType
public interface TestsManager
Modifier and Type | Method and Description |
---|---|
void |
clearCaches()
Clear our internal caches.
|
void |
executeTests(java.util.Collection<java.lang.String> testNames,
Renderer renderer,
TestSelector selector)
Execute tests and report results using supplied Renderer - does NOT call setup or cleanup
on renderer.
|
java.lang.Class<?> |
getTestClass(java.lang.String testName)
Instantiate test class for specified test
|
java.util.Collection<java.lang.String> |
getTestNames(TestSelector selector)
Return the names of available tests
|
void |
listTests(java.util.Collection<java.lang.String> testNames,
Renderer renderer)
List tests using supplied Renderer - does NOT call setup or cleanup
on renderer.
|
java.util.Collection<java.lang.String> getTestNames(TestSelector selector)
selector
- if null, returns all available tests.void clearCaches()
java.lang.Class<?> getTestClass(java.lang.String testName) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
void listTests(java.util.Collection<java.lang.String> testNames, Renderer renderer) throws java.lang.Exception
java.lang.Exception
void executeTests(java.util.Collection<java.lang.String> testNames, Renderer renderer, TestSelector selector) throws java.lang.Exception
selector
- if not null, used to select tests and test methods.java.lang.Exception
Copyright © 2010 - 2020 Adobe. All Rights Reserved