All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.ajug.jsl.jester.qc.ContainerTester

java.lang.Object
   |
   +----org.ajug.jsl.jester.cases.TestCase
           |
           +----org.ajug.jsl.jester.qc.ContainerTester

public class ContainerTester
extends TestCase
This will test the tree features of Jester We will:
 - create a vector (put vector in container class)
 - add our children (i.e. our child Tester class) Done
 - add 2 or 3 children Done
 - add a test class to test the number of children that we ran
    2) getChildTests is successful
    3) for each Child Test, the Child Test is run
    3.1) at least two Child Tests run
    4) Child Tests are run in order (is there an ordering to Child Tests?)
 
TODO - remove or turn print off


Constructor Index

 o ContainerTester()

Method Index

 o afterTest()
Test to assure that only beforeTest and runTest method had been run prior to running this method.
 o beforeTest()
Test to assure that no other test methods have been run.
 o getChildTests()
Returns the tests to be run.
 o isContainer()
Returns true if this TestCase is a test container else will return false
 o runTest()
Test to assure that only beforeTest method had been run prior to running this method.

Constructors

 o ContainerTester
 public ContainerTester()

Methods

 o isContainer
 public boolean isContainer()
Returns true if this TestCase is a test container else will return false

Overrides:
isContainer in class TestCase
 o getChildTests
 public Enumeration getChildTests()
Returns the tests to be run.
      The current tests are:
  1) ChildTester
  2) TestMethodsTest
  3) ChildTester
  4) TestMethodsTest
  5) TestSequenceTest

Overrides:
getChildTests in class TestCase
 o beforeTest
 public void beforeTest()
Test to assure that no other test methods have been run.

Overrides:
beforeTest in class TestCase
 o runTest
 public void runTest()
Test to assure that only beforeTest method had been run prior to running this method.

Overrides:
runTest in class TestCase
 o afterTest
 public void afterTest()
Test to assure that only beforeTest and runTest method had been run prior to running this method.

Overrides:
afterTest in class TestCase

All Packages  Class Hierarchy  This Package  Previous  Next  Index