public class ScriptUnit
extends org.junit.runners.Parameterized
| Modifier | Constructor and Description |
|---|---|
|
ScriptUnit(Class<?> klass)
Only called reflectively.
|
protected |
ScriptUnit(Class<?> klass,
Properties properties)
A constructor for testing.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.junit.runners.model.TestClass |
createTestClass(Class<?> testClass) |
static List<ObjectMethod> |
getAnnotatedMethodsFromImportedFieldsInObject(Object object) |
List<org.junit.runner.Runner> |
getChildren() |
childrenInvoker, classBlock, classRules, collectInitializationErrors, filter, getDescription, getName, getRunnerAnnotations, getTestClass, isIgnored, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClassespublic ScriptUnit(Class<?> klass) throws Throwable
klass - A test class.Throwableprotected ScriptUnit(Class<?> klass, Properties properties) throws Throwable
klass - A test classproperties - A properties object. Typically a value returned by System.getProperties().Throwablepublic List<org.junit.runner.Runner> getChildren()
getChildren in class org.junit.runners.Parameterizedprotected org.junit.runners.model.TestClass createTestClass(Class<?> testClass)
createTestClass in class org.junit.runners.ParentRunner<org.junit.runner.Runner>public static List<ObjectMethod> getAnnotatedMethodsFromImportedFieldsInObject(Object object)
Copyright © 2017. All rights reserved.