Package fitnesse.testsystems.slim
Class InstructionTestSystem
- java.lang.Object
-
- fitnesse.testsystems.slim.InstructionTestSystem
-
- All Implemented Interfaces:
TestSystem
public class InstructionTestSystem extends java.lang.Object implements TestSystem
-
-
Constructor Summary
Constructors Constructor Description InstructionTestSystem(java.lang.StringBuilder result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTestSystemListener(TestSystemListener listener)
Add a listener for test system events.void
bye()
Close the test system.java.lang.String
getName()
Get the test system name identifier, as it was provided by the user.boolean
isSuccessfullyStarted()
System is up and running.void
kill()
Kill the test system.void
runTests(TestPage page)
Run a collection of tests.void
start()
Start the test system.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:TestSystem
Get the test system name identifier, as it was provided by the user.- Specified by:
getName
in interfaceTestSystem
- Returns:
- returns the test system name identifier
-
start
public void start() throws UnableToStartException
Description copied from interface:TestSystem
Start the test system.- Specified by:
start
in interfaceTestSystem
- Throws:
UnableToStartException
-
bye
public void bye() throws UnableToStopException
Description copied from interface:TestSystem
Close the test system. This is typically performed from the test execution thread.- Specified by:
bye
in interfaceTestSystem
- Throws:
UnableToStopException
-
kill
public void kill()
Description copied from interface:TestSystem
Kill the test system. This is typically invoked asynchronously.- Specified by:
kill
in interfaceTestSystem
-
runTests
public void runTests(TestPage page) throws TestExecutionException
Description copied from interface:TestSystem
Run a collection of tests.- Specified by:
runTests
in interfaceTestSystem
- Parameters:
page
- TestPage to run- Throws:
TestExecutionException
-
isSuccessfullyStarted
public boolean isSuccessfullyStarted()
Description copied from interface:TestSystem
System is up and running.- Specified by:
isSuccessfullyStarted
in interfaceTestSystem
- Returns:
- returns boolean
-
addTestSystemListener
public void addTestSystemListener(TestSystemListener listener)
Description copied from interface:TestSystem
Add a listener for test system events. During test execution the listeners will be kept informed about the status of the test execution.- Specified by:
addTestSystemListener
in interfaceTestSystem
- Parameters:
listener
- TestSystemListener
-
-