net.walend.toolkit.junit.test
Class TestSetupTest.SomeTestSetup

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.extensions.TestDecorator
              |
              +--net.walend.toolkit.junit.TestSetup
                    |
                    +--net.walend.toolkit.junit.test.TestSetupTest.SomeTestSetup
All Implemented Interfaces:
junit.framework.Test
Enclosing class:
TestSetupTest

static class TestSetupTest.SomeTestSetup
extends TestSetup


Nested Class Summary
 
Nested classes inherited from class net.walend.toolkit.junit.TestSetup
 
Field Summary
private  boolean brokenSetUp
           
private  boolean brokenTearDown
           
private  boolean setUp
           
private  boolean tornDown
           
 
Fields inherited from class junit.extensions.TestDecorator
fTest
 
Constructor Summary
(package private) TestSetupTest.SomeTestSetup(junit.framework.Test test, boolean failSetUp, boolean failTearDown)
           
 
Method Summary
 boolean getSetUp()
           
 boolean getTornDown()
           
 void setUp()
          Sets up the fixture.
 void tearDown()
          Tears down the fixture.
 
Methods inherited from class net.walend.toolkit.junit.TestSetup
run
 
Methods inherited from class junit.extensions.TestDecorator
basicRun, countTestCases, getTest, toString
 
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
 

Field Detail

setUp

private boolean setUp

tornDown

private boolean tornDown

brokenSetUp

private boolean brokenSetUp

brokenTearDown

private boolean brokenTearDown
Constructor Detail

TestSetupTest.SomeTestSetup

TestSetupTest.SomeTestSetup(junit.framework.Test test,
                            boolean failSetUp,
                            boolean failTearDown)
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Description copied from class: TestSetup
Sets up the fixture.

Specified by:
setUp in class TestSetup

tearDown

public void tearDown()
              throws java.lang.Exception
Description copied from class: TestSetup
Tears down the fixture.

Specified by:
tearDown in class TestSetup

getSetUp

public boolean getSetUp()

getTornDown

public boolean getTornDown()


Copyright (c) 2000, 2001, David Walend