de.tivano.junit
Class ParametrizedTestSuite.ParametrizedTestWrapper

de.tivano.junit.ParametrizedTestSuite.ParametrizedTestWrapper
Enclosing class:
ParametrizedTestSuite

class ParametrizedTestSuite.ParametrizedTestWrapper

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
 String toString()
           
 

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.
Parameters:
key - the key prefix for the associated test data set
Method Detail

getTest

public junit.framework.Test getTest()

run

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

toString

public String toString()


Copyright © 2002 Tivano Software GmbH. All Rights reserved.