| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface which provides general services for managing test assets
| Method Summary | |
void | addTestHostListener(ITestHostListener listener)Deprecated. |
IAssertion | createAsserion(String assertionType)Creates new assertion if given type. |
ITestAssetReference | createReference(ITestAssetRO asset)Creates a new reference to be pasted into some target. |
ITarget | createTarget()Creates new suite target |
ITestCollection | createTestCollection(String name)Create test collection. |
ITestResultAsset | createTestResult(String name)Create test result. |
IElementRO | find(String refid)finds test element with specified reference id . |
IElementRO | find(ITestCollection collection, String refid)Deprecated. |
String[] | findResults(String refId) |
ICategory[] | getAssertionCategories()Returns an array of known assertion categories |
ICategory[] | getAssetCategories()Returns an array of known asset categories |
IEnvironment | getEnvironment()Deprecated. |
IProgressMonitor | getProgress()Deprecated. |
IResource | getResource(URL location)Returns resource at given URL |
ITestCollection | getResultCollection()Returns ITestCollection containing test results. |
ICategory[] | getTaskCategories()Returns an array of task categories |
TaskDefinition | getTaskDefinition(ICategory cat)Returns a task definition for given category |
ITestAssetFactory | getTestAssetFactory(ICategory cat)Used to get asset factory of registered ICategory cat |
ITestProject | getTestProject() |
boolean | isInitialized()Deprecated. |
void | registerAsset(ICategory cat, Class factoryClass) |
void | registerTask(ICategory cat, TaskDefinition taskDef)Registration of a task for a Suite (ant project). |
void | removeTestHostListener(ITestHostListener listener)Deprecated. |
boolean | run(ITestAsset asset, ITestResultAsset result) |
void | runInCommandThread(Runnable runnable, String name, boolean wait)Runs given command in command thread |
boolean | runSuite(ITestSuite suite, ITestResultAsset result, String[] target) |
| Method Detail |
public void addTestHostListener(ITestHostListener listener)
public IAssertion createAsserion(String assertionType)
throws TestHostException
registerTask( ICategory cat, TaskDefinition taskDef )public ITestAssetReference createReference(ITestAssetRO asset)
throws TestHostException
public ITarget createTarget()
public ITestCollection createTestCollection(String name)
throws TestHostException
public ITestResultAsset createTestResult(String name)
throws TestHostException
public IElementRO find(String refid)
public IElementRO find(ITestCollection collection, String refid)
public String[] findResults(String refId)
public ICategory[] getAssertionCategories()
public ICategory[] getAssetCategories()
public IEnvironment getEnvironment()
public IProgressMonitor getProgress()
public IResource getResource(URL location)
public ITestCollection getResultCollection()
ITestCollection containing test results.public ICategory[] getTaskCategories()
public TaskDefinition getTaskDefinition(ICategory cat)
public ITestAssetFactory getTestAssetFactory(ICategory cat)
ICategory catpublic ITestProject getTestProject()
public boolean isInitialized()
public void registerAsset(ICategory cat, Class factoryClass)
public void registerTask(ICategory cat, TaskDefinition taskDef)
public void removeTestHostListener(ITestHostListener listener)
public boolean run(ITestAsset asset, ITestResultAsset result)
throws TestHostException
result if notifications about testing progress are required.public void runInCommandThread(Runnable runnable, String name, boolean wait)
public boolean runSuite(ITestSuite suite, ITestResultAsset result, String[] target)
throws TestHostException
result if notifications about testing progress are required.
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||