com.atlassian.selenium
Class SeleniumMultiTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.selenium.SeleniumMultiTest
All Implemented Interfaces:
junit.framework.Test

public abstract class SeleniumMultiTest
extends junit.framework.TestCase


Field Summary
protected  SeleniumAssertions assertThat
           
protected  SeleniumClient client
           
protected  boolean parallel
           
 
Constructor Summary
SeleniumMultiTest()
           
 
Method Summary
abstract  List<SeleniumConfiguration> getSeleniumConfigurations()
           
protected  void onSetUp()
          To be overridden in the case of test-specific setup activities
protected  void onTearDown()
          To be overridden in the case of test-specific tear-down activities
 void setUp()
          Calls overridden onSetup method before starting the selenium client and possibly server and initiating assertThat and interaction variables
 void tearDown()
          Calls overridden onTearDown method before shutting down the selenium client and possibly server
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

assertThat

protected SeleniumAssertions assertThat

client

protected SeleniumClient client

parallel

protected boolean parallel
Constructor Detail

SeleniumMultiTest

public SeleniumMultiTest()
Method Detail

getSeleniumConfigurations

public abstract List<SeleniumConfiguration> getSeleniumConfigurations()

setUp

public final void setUp()
                 throws Exception
Calls overridden onSetup method before starting the selenium client and possibly server and initiating assertThat and interaction variables

Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

onSetUp

protected void onSetUp()
                throws Exception
To be overridden in the case of test-specific setup activities

Throws:
Exception

tearDown

public final void tearDown()
                    throws Exception
Calls overridden onTearDown method before shutting down the selenium client and possibly server

Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

onTearDown

protected void onTearDown()
                   throws Exception
To be overridden in the case of test-specific tear-down activities

Throws:
Exception


Copyright © 2010 Atlassian Pty Ltd. All Rights Reserved.