Deprecated
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static Boolean | Returns: true if the class appears to be a testthe class we want to check scriptClass, GroovyClassLoader the GroovyClassLoader to use to find classes loader)Utility method to check via reflection if the parsed class appears to be a JUnit4 test. |
| pack-priv static Object | Returns: the result of running the testthe class we want to run as a test scriptClass, GroovyClassLoader loader)Utility method to run a JUnit4 test. |
| JUnit4Utils | back to summary |
|---|---|
| public JUnit4Utils() | |
| realIsJUnit4Test | back to summary |
|---|---|
| pack-priv static Boolean realIsJUnit4Test(Class<T> scriptClass, GroovyClassLoader loader) Utility method to check via reflection if the parsed class appears to be a JUnit4 test.
| |
| realRunJUnit4Test | back to summary |
|---|---|
| pack-priv static Object realRunJUnit4Test(Class<T> scriptClass, GroovyClassLoader loader) Utility method to run a JUnit4 test. | |