Package com.avoka.tm.test
Class JUnitTestRunner.TestWrapper
- java.lang.Object
-
- com.avoka.tm.test.JUnitTestRunner.TestWrapper
-
- All Implemented Interfaces:
junit.framework.Test
- Enclosing class:
- JUnitTestRunner
public static class JUnitTestRunner.TestWrapper extends Object implements junit.framework.Test
Test wrapper.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
countTestCases()
Get test cases count.boolean
equals(Object obj)
String
getName()
Get test name.int
hashCode()
void
run(junit.framework.TestResult result)
Run test.String
toString()
-
-
-
Method Detail
-
getName
public String getName()
Get test name.- Returns:
- test name
-
countTestCases
public int countTestCases()
Get test cases count.- Specified by:
countTestCases
in interfacejunit.framework.Test
- Returns:
- test cases count
-
run
public void run(junit.framework.TestResult result)
Run test.- Specified by:
run
in interfacejunit.framework.Test
- Parameters:
result
- test result- See Also:
Test.run(junit.framework.TestResult)
-
-