public class ScriptiveUnit
extends org.junit.runners.Parameterized
| Constructor and Description |
|---|
ScriptiveUnit(Class<?> klass)
Only called reflectively.
|
ScriptiveUnit(Class<?> klass,
Config config)
A constructor for testing.
|
ScriptiveUnit(Class<?> klass,
TestSuiteDescriptor.Loader loader) |
| Modifier and Type | Method and Description |
|---|---|
protected org.junit.runners.model.TestClass |
createTestClass(Class<?> testClass) |
static TestSuiteDescriptor.Loader |
createTestSuiteDescriptorLoader(Config config) |
Description |
describeFunction(Object driverObject,
String functionName) |
List<org.junit.runner.Runner> |
getChildren() |
List<String> |
getFormNames(Object driverObject) |
String |
getName() |
static List<ObjectMethod> |
getObjectMethodsFromImportedFieldsInObject(Object object) |
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.Throwablepublic ScriptiveUnit(Class<?> klass, Config config) throws Throwable
klass - A test classconfig - A config object.Throwablepublic ScriptiveUnit(Class<?> klass, TestSuiteDescriptor.Loader loader) 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 TestSuiteDescriptor.Loader createTestSuiteDescriptorLoader(Config config)
public Description describeFunction(Object driverObject, String functionName)
public static List<ObjectMethod> getObjectMethodsFromImportedFieldsInObject(Object object)
Copyright © 2017. All rights reserved.