de.oio.bugkilla.player
Class JScenario

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

public class JScenario
extends WebTestSuite

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

NOTE:

decorating WebTestSuite(s) run(TestResult)-method in order to start and end the current Player-WebConversation
Result: a new WebConversation will be started for each Test-Scenario Plase check up WebTestSuite

Author:
aspall
See Also:
JTestManager, JTestSeries, JTestSequence, WebTestSuite, Player

Constructor Summary
JScenario()
           
 
Method Summary
 void run(junit.framework.TestResult result)
          start the JScenario with one or more JTestSequences use the Player for reseting the WebConversation extends the WebTestSuite for running the containing TestSuites (JTestSequence)
 
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

JScenario

public JScenario()
Method Detail

run

public void run(junit.framework.TestResult result)
         throws IllegalStructureException
start the JScenario with one or more JTestSequences use the Player for reseting the WebConversation extends the WebTestSuite for running the containing TestSuites (JTestSequence)

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


Copyright © Orientation in Objects GmbH. All Rights Reserved.