net.bpelunit.framework.client.model
Class TestRunSession

java.lang.Object
  extended by net.bpelunit.framework.client.model.TestRunSession

public class TestRunSession
extends Object

A test session encapsulates execution of one test suite. It also allows stopping and restarting the suite. A test session stays active even after the launch has completed. A test session is only valid for one launch. Restarting the session will create a new launch and thus a new session.

Version:
$Id$
Author:
Philip Mayer

Constructor Summary
TestRunSession(net.bpelunit.framework.model.test.TestSuite suite, org.eclipse.debug.core.ILaunch launch)
           
 
Method Summary
 net.bpelunit.framework.model.test.TestSuite getSuite()
           
 boolean isAbortedByUser()
           
 void relaunchTest()
           
 void stopTest()
          Stops the test.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestRunSession

public TestRunSession(net.bpelunit.framework.model.test.TestSuite suite,
                      org.eclipse.debug.core.ILaunch launch)
Method Detail

getSuite

public net.bpelunit.framework.model.test.TestSuite getSuite()

stopTest

public void stopTest()
Stops the test. Can be called from any thread. Note, however, that the framework may still be running (cleanup) when this method returns.


relaunchTest

public void relaunchTest()

isAbortedByUser

public boolean isAbortedByUser()


Copyright © 2013 Leibniz Universität Hannover. All Rights Reserved.