Package org.fest.swing.junit.ant
Class Tests
java.lang.Object
org.fest.swing.junit.ant.Tests
Understands utility methods related to JUnit tests.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static String
classNameFromVmExitErrorTest
(junit.framework.Test test) private static String
classNameOf
(junit.framework.Test test) private static String
invokeNameMethod
(Method m, Object target) private static boolean
isJunit4TestCaseFacade
(junit.framework.Test test) private static boolean
isJUnit4TestCaseFacade
(junit.framework.Test test) private static Method
methodInType
(Class<?> type, String name) private static Method
methodInType
(Class<?> type, String name, String alternativeName) private static Method
nameMethodIn
(Class<?> type) (package private) static String
testClassNameFrom
(junit.framework.Test test) private static String
testClassNameFromJUnit4TestCaseFacade
(junit.framework.Test test) (package private) static String
testMethodNameFrom
(junit.framework.Test test) private static String
-
Field Details
-
JUNIT4_TEST_CASE_FACADE_TYPE
- See Also:
-
testCaseName
-
-
Constructor Details
-
Tests
Tests()
-
-
Method Details
-
testMethodNameFrom
-
isJUnit4TestCaseFacade
private static boolean isJUnit4TestCaseFacade(junit.framework.Test test) -
trimClassNameFromMethodName
-
nameMethodIn
-
methodInType
-
methodInType
-
invokeNameMethod
-
testClassNameFrom
-
classNameFromVmExitErrorTest
-
isJunit4TestCaseFacade
private static boolean isJunit4TestCaseFacade(junit.framework.Test test) -
testClassNameFromJUnit4TestCaseFacade
-
classNameOf
-