public class ScriptiveUnit
extends org.junit.runners.Parameterized
| Modifier | Constructor and Description |
|---|---|
|
ScriptiveUnit(Class<?> klass)
Only called reflectively.
|
protected |
ScriptiveUnit(Class<?> klass,
Properties properties)
A constructor for testing.
|
|
ScriptiveUnit(Class<?> klass,
TestSuiteLoader testSuiteLoader) |
| 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() |
String |
getName() |
protected org.junit.runners.model.Statement |
withAfterClasses(org.junit.runners.model.Statement statement) |
protected org.junit.runners.model.Statement |
withBeforeClasses(org.junit.runners.model.Statement statement) |
public ScriptiveUnit(Class<?> klass) throws Throwable
klass - A test class.Throwableprotected ScriptiveUnit(Class<?> klass, Properties properties) throws Throwable
klass - A test classproperties - A properties object. Typically a value returned by System.getProperties().Throwablepublic ScriptiveUnit(Class<?> klass, TestSuiteLoader testSuiteLoader) throws Throwable
Throwablepublic String getName()
getName in class org.junit.runners.ParentRunner<org.junit.runner.Runner>public 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>protected org.junit.runners.model.Statement withBeforeClasses(org.junit.runners.model.Statement statement)
withBeforeClasses in class org.junit.runners.ParentRunner<org.junit.runner.Runner>protected org.junit.runners.model.Statement withAfterClasses(org.junit.runners.model.Statement statement)
withAfterClasses in class org.junit.runners.ParentRunner<org.junit.runner.Runner>public static List<ObjectMethod> getAnnotatedMethodsFromImportedFieldsInObject(Object object)
Copyright © 2017. All rights reserved.