|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TestEnvironment | |
---|---|
com.sun.javatest | This package provides facilities for reading, executing and monitoring tests. |
com.sun.javatest.finder | Test Finders are used to locate and read test descriptions, which give details about the tests in a test suite. |
com.sun.javatest.interview | This package provides a configuration interview for legacy test suites which do not provide their own interview, and also provides sub-interviews which may be used to build a custom interview with standard questions for the standard sections. |
com.sun.javatest.lib | This package contains miscellaneous library code that may be used by tests and frameworks. |
Uses of TestEnvironment in com.sun.javatest |
---|
Fields in com.sun.javatest declared as TestEnvironment | |
---|---|
protected TestEnvironment |
Script.env
The test environment for the test being performed. |
protected TestEnvironment |
TestFinder.env
Deprecated. This feature was available in earlier versions of JT Harness but does not interact well with JT Harness 3.0's GUI features. Use with discretion, if at all. |
Methods in com.sun.javatest that return TestEnvironment | |
---|---|
TestEnvironment |
TestEnvironment.copy()
Create a copy of the current environment. |
TestEnvironment |
FileParameters.getEnv()
|
TestEnvironment |
Harness.getEnv()
Get the current test environment being used by the harness. |
TestEnvironment |
InterviewParameters.getEnv()
|
TestEnvironment |
Parameters.getEnv()
Get the environment of test-suite-specific configuration values, to be passed to the script used to run each test. |
TestEnvironment |
Parameters.EnvParameters.getEnv()
Get the environment of test-suite-specific configuration values, to be passed to the script used to run each test. |
TestEnvironment |
TestEnvContext.getEnv(java.lang.String name)
Get a environment from this set of environments. |
TestEnvironment |
TestRunner.getEnvironment()
Get the test environment to be used to execute the tests that will be run by this test runner. |
Methods in com.sun.javatest with parameters of type TestEnvironment | |
---|---|
Script |
TestSuite.createScript(TestDescription td,
java.lang.String[] exclTestCases,
TestEnvironment scriptEnv,
WorkDirectory workDir,
BackupPolicy backupPolicy)
Create and initialize a Script that can be used to run a test. |
TestFilter |
TestSuite.createTestFilter(TestEnvironment filterEnv)
Create a test suite specific filter to be used to filter the tests to be selected for a test run. |
void |
TestFinder.init(java.lang.String[] args,
java.io.File testSuiteRoot,
java.io.File[] tests,
TestFilter[] filters,
TestEnvironment env)
Deprecated. Use one of the other init() methods. This functionality is no longer supported. Methods on TestResultTable should yield similar results. |
void |
TestFinder.init(java.lang.String[] args,
java.io.File testSuiteRoot,
TestEnvironment env)
Initialize the data required by the finder. |
void |
Script.initTestEnvironment(TestEnvironment env)
Initialize the environment to be used when running the test. |
abstract Status |
Script.run(java.lang.String[] args,
TestDescription td,
TestEnvironment env)
The primary method to be provided by Scripts. |
void |
TestResult.setEnvironment(TestEnvironment environment)
Set the environment used by this test. |
Constructors in com.sun.javatest with parameters of type TestEnvironment | |
---|---|
TestEnvironment(TestEnvironment o)
|
Uses of TestEnvironment in com.sun.javatest.finder |
---|
Methods in com.sun.javatest.finder with parameters of type TestEnvironment | |
---|---|
void |
ChameleonTestFinder.init(java.lang.String[] args,
java.io.File testSuiteRoot,
TestEnvironment env)
Generic initialization routine. |
void |
ExpandTestFinder.init(java.lang.String[] args,
java.io.File testSuiteRoot,
TestEnvironment env)
|
void |
ReverseTestFinder.init(java.lang.String[] args,
java.io.File testSuiteRoot,
TestEnvironment env)
Initialize the test finder. |
void |
BinaryTestFinder.init(java.lang.String[] args,
java.io.File testSuiteRoot,
TestEnvironment env)
Initialize a new BinaryTestFinder. |
Uses of TestEnvironment in com.sun.javatest.interview |
---|
Methods in com.sun.javatest.interview that return TestEnvironment | |
---|---|
TestEnvironment |
SimpleInterviewParameters.getEnv()
|
TestEnvironment |
EnvironmentInterview.getEnv()
Get the environment specified by the environment files and environment name, or null, if it cannot be determined. |
Uses of TestEnvironment in com.sun.javatest.lib |
---|
Methods in com.sun.javatest.lib with parameters of type TestEnvironment | |
---|---|
Status |
ReportScript.run(java.lang.String[] args,
TestDescription td,
TestEnvironment env)
This method should not be called; for this class, its identity is significant, not its implementation. |
Status |
APIScript.run(java.lang.String[] args,
TestDescription td,
TestEnvironment env)
The method that interprets the tags provided in the test description and performs actions accordingly. |
Status |
KeywordScript.run(java.lang.String[] args,
TestDescription td,
TestEnvironment env)
|
Status |
StdTestScript.run(java.lang.String[] args,
TestDescription td,
TestEnvironment env)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |