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
-
ContainerTester()
-
-
afterTest()
- Test to assure that only beforeTest and runTest method had been
run prior to running this method.
-
beforeTest()
- Test to assure that no other test methods have been run.
-
getChildTests()
- Returns the tests to be run.
-
isContainer()
- Returns true if this TestCase is a test container else will return false
-
runTest()
- Test to assure that only beforeTest method had been run prior
to running this method.
ContainerTester
public ContainerTester()
isContainer
public boolean isContainer()
- Returns true if this TestCase is a test container else will return false
- Overrides:
- isContainer
in class TestCase
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
beforeTest
public void beforeTest()
- Test to assure that no other test methods have been run.
- Overrides:
- beforeTest
in class TestCase
runTest
public void runTest()
- Test to assure that only beforeTest method had been run prior
to running this method.
- Overrides:
- runTest
in class TestCase
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