| java.lang.Object de.danet.an.util.junit.NamedTestGroup
NamedTestGroup | public class NamedTestGroup implements Test(Code) | | This class wraps a junit test (usually a suite) to mark it as a
group. The group name and additional attributes are used by
the
LoadTestRunner LoadTestRunner .
author: version: $Revision: 1.2 $ |
Constructor Summary | |
public | NamedTestGroup(Test base, String name) Creates an instance of NamedTestGroup
with all attributes initialized to the give values. | public | NamedTestGroup(Test base, String name, Map attrs) Creates an instance of NamedTestGroup
with all attributes initialized to the give values.
Parameters: base - the test to wrap Parameters: name - the name of the test group Parameters: attrs - additional attributes. |
NamedTestGroup | public NamedTestGroup(Test base, String name)(Code) | | Creates an instance of NamedTestGroup
with all attributes initialized to the give values.
Parameters: base - the test to wrap Parameters: name - the name of the test group |
NamedTestGroup | public NamedTestGroup(Test base, String name, Map attrs)(Code) | | Creates an instance of NamedTestGroup
with all attributes initialized to the give values.
Parameters: base - the test to wrap Parameters: name - the name of the test group Parameters: attrs - additional attributes. A shallow copy of the mappassed will be saved, so it is save to modify the argumentafter the call. |
countTestCases | public int countTestCases()(Code) | | Describe countTestCases method here.
an int value |
groupAttributes | public Map groupAttributes()(Code) | | Return the group attributes.
group attributes |
groupName | public String groupName()(Code) | | Return the group name.
group name |
run | public void run(TestResult testResult)(Code) | | Describe run method here.
Parameters: testResult - a TestResult value |
|
|