de.oio.bugkilla.player
Class JTestSeries

java.lang.Object
  |
  +--junit.framework.TestSuite
        |
        +--de.oio.bugkilla.player.WebTestSuite
              |
              +--de.oio.bugkilla.player.JTestSeries
All Implemented Interfaces:
PlayerUser, junit.framework.Test

public class JTestSeries
extends WebTestSuite

one JTestSeries with one or more JScenario. extends the WebTestSuite for running the containing TestSuites (JScenario)

NOTE:

overwrite run(TestResult) from WebTestSuite in order to invoke The Player(s) startScenario()-method
Result:
If one TestStep fails and the Scenario will be terminated, the next Scenario will be run

Author:
aspall, cdedek
See Also:
JTestManager, JScenario, WebTestSuite

Constructor Summary
JTestSeries()
           
 
Method Summary
 void run(junit.framework.TestResult result)
          start the TestSeries with one or more Scenario use the Player for reseting Scenario-Stop-boolean
 
Methods inherited from class de.oio.bugkilla.player.WebTestSuite
addTestSuite, getMyPlayer, setMyPlayer
 
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

JTestSeries

public JTestSeries()
Method Detail

run

public void run(junit.framework.TestResult result)
         throws IllegalStructureException
start the TestSeries with one or more Scenario use the Player for reseting Scenario-Stop-boolean

Specified by:
run in interface junit.framework.Test
Overrides:
run in class WebTestSuite
Parameters:
result - Test-Result will be send to the specified TestResult
Throws:
IllegalStructureException - if the child element is not a Scenario object


Copyright © Orientation in Objects GmbH. All Rights Reserved.