public class TestEnvironmentInitializers extends Object
| Constructor and Description |
|---|
TestEnvironmentInitializers() |
| Modifier and Type | Method and Description |
|---|---|
static void |
add(TestEnvironmentInitializer initializer)
Installs a new initializer.
|
static void |
initTestEnvironment(TestCase testCase)
Calls all initializers for the given TestCase before the test has been run.
|
static void |
restoreOriginalEnvironment(TestCase testCase)
Calls all initializers for the given TestCase after the test has been run.
|
public static void add(TestEnvironmentInitializer initializer)
initializer - public static void initTestEnvironment(TestCase testCase) throws Exception
testCase - the TestCase to initialize the environment forExceptionCopyright © 2017 TopQuadrant, Inc.. All rights reserved.