org.eclipse.core.tests.session
Class SessionTestSuite

java.lang.Object
  extended by junit.framework.TestSuite
      extended by org.eclipse.core.tests.session.SessionTestSuite
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
ConfigurationSessionTestSuite, PerformanceSessionTestSuite, WorkspaceSessionTestSuite

public class SessionTestSuite
extends junit.framework.TestSuite


Field Summary
static java.lang.String CORE_TEST_APPLICATION
           
static java.lang.String UI_TEST_APPLICATION
           
 
Constructor Summary
SessionTestSuite(java.lang.String pluginId)
           
SessionTestSuite(java.lang.String pluginId, java.lang.Class theClass)
           
SessionTestSuite(java.lang.String pluginId, java.lang.Class theClass, java.lang.String name)
           
SessionTestSuite(java.lang.String pluginId, java.lang.String name)
           
 
Method Summary
 void addCrashTest(junit.framework.TestCase test)
          Crash tests are not expected to complete (they fail if they do).
 void addLocalTest(junit.framework.TestCase test)
          Adds a local test, a test that is run locally, not in a separate session.
 java.lang.String getApplicationId()
           
 Setup getSetup()
           
 boolean isSharedSession()
           
 void run(junit.framework.TestResult result)
          Runs this session test suite.
 void runTest(junit.framework.Test test, junit.framework.TestResult result)
           
 void setApplicationId(java.lang.String applicationId)
           
 void setSharedSession(boolean sharedSession)
           
 
Methods inherited from class junit.framework.TestSuite
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, setName, testAt, testCount, tests, toString, warning
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CORE_TEST_APPLICATION

public static final java.lang.String CORE_TEST_APPLICATION
See Also:
Constant Field Values

UI_TEST_APPLICATION

public static final java.lang.String UI_TEST_APPLICATION
See Also:
Constant Field Values
Constructor Detail

SessionTestSuite

public SessionTestSuite(java.lang.String pluginId)

SessionTestSuite

public SessionTestSuite(java.lang.String pluginId,
                        java.lang.Class theClass)

SessionTestSuite

public SessionTestSuite(java.lang.String pluginId,
                        java.lang.Class theClass,
                        java.lang.String name)

SessionTestSuite

public SessionTestSuite(java.lang.String pluginId,
                        java.lang.String name)
Method Detail

addCrashTest

public void addCrashTest(junit.framework.TestCase test)
Crash tests are not expected to complete (they fail if they do).


addLocalTest

public void addLocalTest(junit.framework.TestCase test)
Adds a local test, a test that is run locally, not in a separate session.


getApplicationId

public java.lang.String getApplicationId()

getSetup

public Setup getSetup()
               throws SetupManager.SetupException
Throws:
SetupManager.SetupException

isSharedSession

public boolean isSharedSession()

run

public void run(junit.framework.TestResult result)
Runs this session test suite.

Specified by:
run in interface junit.framework.Test
Overrides:
run in class junit.framework.TestSuite

runTest

public final void runTest(junit.framework.Test test,
                          junit.framework.TestResult result)
Overrides:
runTest in class junit.framework.TestSuite

setApplicationId

public void setApplicationId(java.lang.String applicationId)

setSharedSession

public void setSharedSession(boolean sharedSession)