Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
com.sun.javatest.TestDescription

Packages that use TestDescription
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.lib | This package contains miscellaneous library code that may be used by tests and frameworks.

Uses of TestDescription in com.sun.javatest

Fields in com.sun.javatest declared as TestDescription
`protected TestDescription` | `Script.td` The test description for the test being performed.

Methods in com.sun.javatest that return TestDescription
`TestDescription` | `TestResult.getDescription()` Get the description of the test from which this result was created.
`TestDescription` | `Script.getTestDescription()` Get the test description for the test which this script will run.
`TestDescription[]` | `TestFinder.getTests()` Get the test descriptions that were found by the most recent call of read.
`TestDescription` | `TestFinderQueue.next()` Get the next test description if one is available, or null when all have been returned.

Methods in com.sun.javatest with parameters of type TestDescription
`boolean` | `LastRunFilter.accepts(TestDescription td)`
`boolean` | `StatusFilter.accepts(TestDescription td)`
`boolean` | `ExcludeListFilter.accepts(TestDescription td)`
`abstract boolean` | `TestFilter.accepts(TestDescription td)` Determines whether a TestDescription should be accepted or rejected by this filter.
`boolean` | `AllTestsFilter.accepts(TestDescription td)`
`boolean` | `CompositeFilter.accepts(TestDescription td)`
`boolean` | `ParameterFilter.accepts(TestDescription td)`
`boolean` | `InitialUrlFilter.accepts(TestDescription td)`
`boolean` | `KeywordsFilter.accepts(TestDescription td)`
`boolean` | `LastRunFilter.accepts(TestDescription td, TestFilter.Observer o)`
`boolean` | `TestFilter.accepts(TestDescription td, TestFilter.Observer o)` Determines whether a TestDescription should be accepted or rejected by this filter; if rejected, it is reported to the provided observer.
`boolean` | `CompositeFilter.accepts(TestDescription td, TestFilter.Observer o)`
`boolean` | `ParameterFilter.accepts(TestDescription td, TestFilter.Observer o)`
`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.
`void` | `TestFinderQueue.Observer.done(TestDescription td)` A test description that was previously put in the test finder queue has been taken from the queue and passed back to the client caller.
`void` | `TestFinderQueue.Observer.error(TestDescription td, java.lang.String msg)` An error was reported by the test finder while reading a file.
`boolean` | `ExcludeList.excludesAllOf(TestDescription td)` Test if a specific test is completely excluded according to the table.
`boolean` | `ExcludeList.excludesAnyOf(TestDescription td)` Test if a specific test is partially or completely excluded according to the table.
`void` | `TestFinderQueue.Observer.found(TestDescription td)` A test description has been found.
`protected void` | `TestFinder.foundTestDescription(TestDescription td)` Report that a test description has been found.
`TestResult` | `TestResultTable.getCachedResult(TestDescription td)` This method returns TestResult from map of test results, collected by TestResultCache worker.
`java.net.URL[]` | `TestSuite.getDocsForTest(TestDescription td)` This method should be overridden in subclasses
`java.lang.String[]` | `TestRunner.getExcludedTestCases(TestDescription td)` Get the names of the test cases to be excluded when running a specific test.
`java.net.URL[]` | `TestSuite.getFilesForTest(TestDescription td)` Get a list of associated files for a specified test description.
`java.lang.String[]` | `ExcludeList.getTestCases(TestDescription td)` Get the test cases to be excluded for a test.
`static java.lang.String` | `TestResult.getWorkRelativePath(TestDescription td)` Get the path name for the results file for a test, relative to the work directory.
`void` | `TestFinderQueue.Observer.ignored(TestDescription td, TestFilter f)` A test description which was previously found, has been rejected by a test filter, and so has not been put in the queue of tests to be executed.
`void` | `Script.initTestDescription(TestDescription td)` Initialize the test description to be run by the script.
`boolean` | `KnownFailuresList.listsAllOf(TestDescription td)` Test if a specific test is completely excluded according to the table.
`boolean` | `KnownFailuresList.listsAnyOf(TestDescription td)` Test if a specific test is partially or completely excluded according to the table.
`TestResult` | `TestResultTable.lookup(TestDescription td)` Find a specific instance of a test result.
`static TestResult` | `TestResult.notRun(TestDescription td)` Create a placeholder TestResult for a test that has not yet been run.
`void` | `TestFilter.Observer.rejected(TestDescription d, TestFilter rejector)` Notification methodcalled when a test has been rejected.
`void` | `TestFinderQueue.repeat(TestDescription[] tds)` Deprecated. retained for historical purposes
`abstract Status` | `Script.run(java.lang.String[] args, TestDescription td, TestEnvironment env)` The primary method to be provided by Scripts.

Constructors in com.sun.javatest with parameters of type TestDescription
`TestResult(TestDescription td)` Construct a test result object that will be built as the test runs.
`TestResult(TestDescription td, Status s)` Create a temporary test result for which can be handed around in situations where a reasonable test result can't be created.
`TestResult(TestDescription td, WorkDirectory workDir)` Reconstruct the results of a previously run test.

Uses of TestDescription in com.sun.javatest.finder

Methods in com.sun.javatest.finder that return TestDescription
`TestDescription[]` | `ReverseTestFinder.getTests()`
`TestDescription[]` | `ChameleonTestFinder.getTests()`

Uses of TestDescription in com.sun.javatest.lib

Methods in com.sun.javatest.lib with parameters of type TestDescription
`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` | `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` | `StdTestScript.run(java.lang.String[] args, TestDescription td, TestEnvironment env)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.