de.tivano.junit
Class ParametrizedTestSuite.ParametrizedTestWrapper

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--de.tivano.junit.ParametrizedTestSuite.ParametrizedTestWrapper
All Implemented Interfaces:
junit.framework.Test
Enclosing class:
ParametrizedTestSuite

class ParametrizedTestSuite.ParametrizedTestWrapper
extends junit.framework.TestCase

Helper class for parametrizing a single test case. The test is parametrized immediately before calling the run(TestResult) method of the decorated test.


Field Summary
(package private)  junit.framework.Test WRAPPED
           
 
Constructor Summary
ParametrizedTestSuite.ParametrizedTestWrapper(junit.framework.Test test)
          Construct a parametrized wrapper for test.
 
Method Summary
 junit.framework.Test getTest()
           
 void run(junit.framework.TestResult result)
          Parametrize and run the test
 java.lang.String toString()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, 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
 

Field Detail

WRAPPED

final junit.framework.Test WRAPPED
Constructor Detail

ParametrizedTestSuite.ParametrizedTestWrapper

public ParametrizedTestSuite.ParametrizedTestWrapper(junit.framework.Test test)
Construct a parametrized wrapper for test.

Method Detail

getTest

public junit.framework.Test getTest()

run

public void run(junit.framework.TestResult result)
Parametrize and run the test

Specified by:
run in interface junit.framework.Test
Overrides:
run in class junit.framework.TestCase

toString

public java.lang.String toString()
Overrides:
toString in class junit.framework.TestCase


Copyright © 2002 Tivano Software GmbH. All Rights reserved.