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 java.lang.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(java.lang.Object obj)
java.lang.String
getName()
Get test name.int
hashCode()
void
run(junit.framework.TestResult result)
Run test.java.lang.String
toString()
-
-
-
Method Detail
-
getName
public java.lang.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)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-