Package gw.test
Class TestClassWrapper
- java.lang.Object
-
- junit.framework.TestSuite
-
- gw.test.TestClassWrapper
-
- All Implemented Interfaces:
junit.framework.Test
public class TestClassWrapper extends junit.framework.TestSuite
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classTestClassWrapper.ExceptionTestClassprivate static classTestClassWrapper.InvalidTestClass
-
Field Summary
Fields Modifier and Type Field Description private TestExecutionManager_executionManagerprivate IType_type
-
Constructor Summary
Constructors Constructor Description TestClassWrapper(TestExecutionManager executionManager, IType type, java.lang.String... methods)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ITypegetBackingType()java.lang.StringgetName()private static booleanisMetaAnnotationInfo(IAnnotationInfo ai)private junit.framework.TestCasemakeTest(IType type, java.lang.String method)voidrunTest(junit.framework.Test test, junit.framework.TestResult result)private voidrunWithTimeout(junit.framework.Test test, junit.framework.TestResult result, long timeout)
-
-
-
Field Detail
-
_type
private IType _type
-
_executionManager
private TestExecutionManager _executionManager
-
-
Constructor Detail
-
TestClassWrapper
public TestClassWrapper(TestExecutionManager executionManager, IType type, java.lang.String... methods)
-
-
Method Detail
-
runTest
public void runTest(junit.framework.Test test, junit.framework.TestResult result)- Overrides:
runTestin classjunit.framework.TestSuite
-
runWithTimeout
private void runWithTimeout(junit.framework.Test test, junit.framework.TestResult result, long timeout)
-
getName
public java.lang.String getName()
- Overrides:
getNamein classjunit.framework.TestSuite
-
makeTest
private junit.framework.TestCase makeTest(IType type, java.lang.String method)
-
isMetaAnnotationInfo
private static boolean isMetaAnnotationInfo(IAnnotationInfo ai)
-
getBackingType
public IType getBackingType()
-
-