Uses of Class
com.sun.javatest.TestEnvironment
Packages that use TestEnvironment
Package
Description
This package provides facilities for reading, executing
and monitoring tests.
Test Finders are used to locate and read test descriptions,
which give details about the tests in a test suite.
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.
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 TestEnvironmentModifier and TypeFieldDescriptionprotected TestEnvironmentScript.envThe test environment for the test being performed.protected TestEnvironmentTestFinder.envDeprecated.This feature was available in earlier versions of JT Harness but does not interact well with JT Harness 3.0's GUI features.Methods in com.sun.javatest that return TestEnvironmentModifier and TypeMethodDescriptionTestEnvironment.copy()Create a copy of the current environment.FileParameters.getEnv()Harness.getEnv()Get the current test environment being used by the harness.InterviewParameters.getEnv()Parameters.EnvParameters.getEnv()Get the environment of test-suite-specific configuration values, to be passed to the script used to run each test.Parameters.getEnv()Get the environment of test-suite-specific configuration values, to be passed to the script used to run each test.Get a environment from this set of environments.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 TestEnvironmentModifier and TypeMethodDescriptionTestSuite.createScript(TestDescription td, String[] exclTestCases, TestEnvironment scriptEnv, WorkDirectory workDir, BackupPolicy backupPolicy) Create and initialize a Script that can be used to run a test.TestSuite.createTestFilter(TestEnvironment filterEnv) Create a test suite specific filter to be used to filter the tests to be selected for a test run.voidTestFinder.init(String[] args, File testSuiteRoot, TestEnvironment env) Initialize the data required by the finder.voidTestFinder.init(String[] args, File testSuiteRoot, File[] tests, TestFilter[] filters, TestEnvironment env) Deprecated.Use one of the other init() methods.voidScript.initTestEnvironment(TestEnvironment env) Initialize the environment to be used when running the test.abstract StatusScript.run(String[] args, TestDescription td, TestEnvironment env) The primary method to be provided by Scripts.voidTestResult.setEnvironment(TestEnvironment environment) Set the environment used by this test.Constructors in com.sun.javatest with parameters of type TestEnvironment -
Uses of TestEnvironment in com.sun.javatest.finder
Methods in com.sun.javatest.finder with parameters of type TestEnvironmentModifier and TypeMethodDescriptionvoidBinaryTestFinder.init(String[] args, File testSuiteRoot, TestEnvironment env) Initialize a new BinaryTestFinder.voidChameleonTestFinder.init(String[] args, File testSuiteRoot, TestEnvironment env) Generic initialization routine.voidExpandTestFinder.init(String[] args, File testSuiteRoot, TestEnvironment env) voidReverseTestFinder.init(String[] args, File testSuiteRoot, TestEnvironment env) Initialize the test finder. -
Uses of TestEnvironment in com.sun.javatest.interview
Methods in com.sun.javatest.interview that return TestEnvironment -
Uses of TestEnvironment in com.sun.javatest.lib
Methods in com.sun.javatest.lib with parameters of type TestEnvironmentModifier and TypeMethodDescriptionAPIScript.run(String[] args, TestDescription td, TestEnvironment env) The method that interprets the tags provided in the test description and performs actions accordingly.KeywordScript.run(String[] args, TestDescription td, TestEnvironment env) ReportScript.run(String[] args, TestDescription td, TestEnvironment env) This method should not be called; for this class, its identity is significant, not its implementation.StdTestScript.run(String[] args, TestDescription td, TestEnvironment env)