junit.extensions.jfunc.samples
Class SuiteConstruction

java.lang.Object
  |
  +--junit.extensions.jfunc.JFuncAssert
        |
        +--junit.extensions.jfunc.VerboseAssert
              |
              +--junit.extensions.jfunc.JFuncTestCase
                    |
                    +--junit.extensions.jfunc.samples.SuiteConstruction
All Implemented Interfaces:
java.lang.Cloneable, junit.framework.Test

public class SuiteConstruction
extends JFuncTestCase

This sample illustrates the different means of constructing suites of tests.


Fields inherited from class junit.extensions.jfunc.JFuncAssert
result
 
Constructor Summary
SuiteConstruction()
          For proxies only!
SuiteConstruction(java.lang.String name)
           
 
Method Summary
static junit.framework.Test suite(java.lang.String[] args)
           
static junit.framework.Test suiteNotSafe()
           
static junit.framework.Test suiteSharing()
           
static junit.framework.Test suiteTypeSafe()
           
static junit.framework.Test suiteUsingProxy()
           
 void testErrored()
           
 void testFailed()
           
 void testPassed()
           
 void testSharing()
           
 void testWithArgs(java.lang.Object arg)
           
 
Methods inherited from class junit.extensions.jfunc.JFuncTestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, shortName, tearDown, toString
 
Methods inherited from class junit.extensions.jfunc.VerboseAssert
vassert, vassert, vassert, vassert, vassert, vassert
 
Methods inherited from class junit.extensions.jfunc.JFuncAssert
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, getResult, getTest, isFatal, setFatal, setResult, setTest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SuiteConstruction

public SuiteConstruction()
For proxies only!

SuiteConstruction

public SuiteConstruction(java.lang.String name)
Method Detail

testSharing

public void testSharing()

testPassed

public void testPassed()

testFailed

public void testFailed()

testErrored

public void testErrored()

testWithArgs

public void testWithArgs(java.lang.Object arg)

suiteTypeSafe

public static junit.framework.Test suiteTypeSafe()

suiteNotSafe

public static junit.framework.Test suiteNotSafe()

suiteUsingProxy

public static junit.framework.Test suiteUsingProxy()

suiteSharing

public static junit.framework.Test suiteSharing()

suite

public static junit.framework.Test suite(java.lang.String[] args)
                                  throws UsageException