TPTP 4.4.0 Testing Tools Project
Public API Specification

org.eclipse.tptp.test.tools.junit.plugin.runner.ui
Class PluginTestHarness

java.lang.Object
  extended byorg.eclipse.tptp.test.tools.junit.plugin.runner.ui.PluginTestHarness
All Implemented Interfaces:
IPluginRunnerFactory, org.eclipse.ui.testing.ITestHarness

public class PluginTestHarness
extends java.lang.Object
implements org.eclipse.ui.testing.ITestHarness, IPluginRunnerFactory

This Test Harness is used to launch, at the appropriate time, the agent that will be able to receive commands from the "local" eclipse instance. It is informed by the testable object (namely, the platform) when this object is ready to start being tested.


Field Summary
protected  EclipseTesterAgent agent
           
 
Constructor Summary
PluginTestHarness(java.lang.String[] args)
           
 
Method Summary
 PluginRunner createRunner(java.lang.String testClass, java.lang.String testID, java.lang.String agentName)
           
 void runTests()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

agent

protected EclipseTesterAgent agent
Constructor Detail

PluginTestHarness

public PluginTestHarness(java.lang.String[] args)
Method Detail

runTests

public void runTests()
Specified by:
runTests in interface org.eclipse.ui.testing.ITestHarness

createRunner

public PluginRunner createRunner(java.lang.String testClass,
                                 java.lang.String testID,
                                 java.lang.String agentName)
Specified by:
createRunner in interface IPluginRunnerFactory

TPTP 4.4.0 Testing Tools Project
Public API Specification