Uses of Class
com.sun.javatest.TestEnvironment
-
Packages that use TestEnvironment Package Description 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 Modifier and Type Field Description protected 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 TestEnvironment Modifier and Type Method Description TestEnvironmentTestEnvironment. copy()Create a copy of the current environment.TestEnvironmentFileParameters. getEnv()TestEnvironmentHarness. getEnv()Get the current test environment being used by the harness.TestEnvironmentInterviewParameters. getEnv()TestEnvironmentParameters.EnvParameters. getEnv()Get the environment of test-suite-specific configuration values, to be passed to the script used to run each test.TestEnvironmentParameters. getEnv()Get the environment of test-suite-specific configuration values, to be passed to the script used to run each test.TestEnvironmentTestEnvContext. getEnv(java.lang.String name)Get a environment from this set of environments.TestEnvironmentTestRunner. 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 Modifier and Type Method Description ScriptTestSuite. 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.TestFilterTestSuite. 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(java.lang.String[] args, java.io.File testSuiteRoot, TestEnvironment env)Initialize the data required by the finder.voidTestFinder. 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.voidScript. initTestEnvironment(TestEnvironment env)Initialize the environment to be used when running the test.abstract StatusScript. run(java.lang.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 Constructor Description TestEnvironment(TestEnvironment o) -
Uses of TestEnvironment in com.sun.javatest.finder
Methods in com.sun.javatest.finder with parameters of type TestEnvironment Modifier and Type Method Description voidBinaryTestFinder. init(java.lang.String[] args, java.io.File testSuiteRoot, TestEnvironment env)Initialize a new BinaryTestFinder.voidChameleonTestFinder. init(java.lang.String[] args, java.io.File testSuiteRoot, TestEnvironment env)Generic initialization routine.voidExpandTestFinder. init(java.lang.String[] args, java.io.File testSuiteRoot, TestEnvironment env)voidReverseTestFinder. init(java.lang.String[] args, java.io.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 Modifier and Type Method Description TestEnvironmentEnvironmentInterview. getEnv()Get the environment specified by the environment files and environment name, or null, if it cannot be determined.TestEnvironmentSimpleInterviewParameters. getEnv() -
Uses of TestEnvironment in com.sun.javatest.lib
Methods in com.sun.javatest.lib with parameters of type TestEnvironment Modifier and Type Method Description StatusAPIScript. run(java.lang.String[] args, TestDescription td, TestEnvironment env)The method that interprets the tags provided in the test description and performs actions accordingly.StatusKeywordScript. run(java.lang.String[] args, TestDescription td, TestEnvironment env)StatusReportScript. 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.StatusStdTestScript. run(java.lang.String[] args, TestDescription td, TestEnvironment env)
-