de.oio.bugkilla.player
Class WebTestCase

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--de.oio.bugkilla.player.WebTestCase
All Implemented Interfaces:
PlayerUser, junit.framework.Test
Direct Known Subclasses:
JTestStep

public abstract class WebTestCase
extends junit.framework.TestCase
implements PlayerUser

The WebTestSuite implements the PlayerUser in order to set the Player to each TestCase.

Author:
cdedek

Constructor Summary
WebTestCase(java.lang.String name)
          sets the name of the TestCase
 
Method Summary
 java.lang.String getMyName()
          returns the name of the TestStep for the JUnit-Test-Hierachy-Tree
 Player getMyPlayer()
          Returns the Player.
 void setMyName(java.lang.String myName)
          set the name of the TestStep for the JUnit-Test-Hierachy-Tree
 void setMyPlayer(Player myPlayer)
          Sets the Player.
 java.lang.String toString()
          returns the name of the TestStep for the JUnit-Test-Hierachy-Tree
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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
 

Constructor Detail

WebTestCase

public WebTestCase(java.lang.String name)
sets the name of the TestCase

Parameters:
name - name of the TestCase
Method Detail

getMyPlayer

public Player getMyPlayer()
Returns the Player.

Specified by:
getMyPlayer in interface PlayerUser
Returns:
Player

setMyName

public void setMyName(java.lang.String myName)
set the name of the TestStep for the JUnit-Test-Hierachy-Tree

Parameters:
myName - the player name

getMyName

public java.lang.String getMyName()
returns the name of the TestStep for the JUnit-Test-Hierachy-Tree

Returns:
the player name

setMyPlayer

public void setMyPlayer(Player myPlayer)
Sets the Player.

Specified by:
setMyPlayer in interface PlayerUser
Parameters:
myPlayer - The Player to set

toString

public java.lang.String toString()
returns the name of the TestStep for the JUnit-Test-Hierachy-Tree

Overrides:
toString in class junit.framework.TestCase
See Also:
Object.toString()


Copyright © Orientation in Objects GmbH. All Rights Reserved.