|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.TestSuite | +--de.oio.bugkilla.player.WebTestSuite
The WebTestSuite implements the PlayerUser in order to set the Player.
Furthermore adds one or more TestSuites/TestCases to its content
It break the current run if the Player(s) (shouldStopScenario())
StopScenario-boolean is set
Player
Constructor Summary | |
WebTestSuite()
|
Method Summary | |
void |
addTestSuite(WebTestSuite testSuite)
Adds a Testsuite to the suite. |
Player |
getMyPlayer()
Returns the Player. |
void |
run(junit.framework.TestResult result)
Runs the tests and collects their result in a TestResult. |
void |
setMyPlayer(Player myPlayer)
Sets the Player. |
Methods inherited from class junit.framework.TestSuite |
addTest, addTestSuite, countTestCases, getName, runTest, setName, testAt, testCount, tests, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WebTestSuite()
Method Detail |
public Player getMyPlayer()
getMyPlayer
in interface PlayerUser
public void setMyPlayer(Player myPlayer)
setMyPlayer
in interface PlayerUser
myPlayer
- The Player to setpublic void addTestSuite(WebTestSuite testSuite)
testSuite
- the TestSuite object that should be addedpublic void run(junit.framework.TestResult result)
run
in interface junit.framework.Test
run
in class junit.framework.TestSuite
result
- the Test-Result will be send to the specified TestResult
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |