Uses of Class
com.sun.javatest.TestDescription
-
Packages that use TestDescription Package Description com.sun.javatest This package provides facilities for reading, executing and monitoring tests.com.sun.javatest.exec The Test Manager Tool provides a GUI for opening, browsing, configuring, and running tests and test suites, and for browsing the results.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 Modifier and Type Field Description protected TestDescriptionScript. tdThe test description for the test being performed.Methods in com.sun.javatest that return TestDescription Modifier and Type Method Description TestDescriptionTestResult. getDescription()Get the description of the test from which this result was created.TestDescriptionScript. 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.TestDescriptionTestFinderQueue. next()Get the next test description if one is available, or null when all have been returned.Methods in com.sun.javatest that return types with arguments of type TestDescription Modifier and Type Method Description java.util.HashMap<TestFilter,java.util.ArrayList<TestDescription>>TestResultTable.TreeIterator. getFilterStats()Find out which filters rejected which tests.Methods in com.sun.javatest with parameters of type TestDescription Modifier and Type Method Description booleanAllTestsFilter. accepts(TestDescription td)booleanCompositeFilter. accepts(TestDescription td)booleanCompositeFilter. accepts(TestDescription td, TestFilter.Observer o)booleanExcludeListFilter. accepts(TestDescription td)booleanInitialUrlFilter. accepts(TestDescription td)booleanKeywordsFilter. accepts(TestDescription td)booleanLastRunFilter. accepts(TestDescription td)booleanLastRunFilter. accepts(TestDescription td, TestFilter.Observer o)booleanParameterFilter. accepts(TestDescription td)booleanParameterFilter. accepts(TestDescription td, TestFilter.Observer o)booleanStatusFilter. accepts(TestDescription td)abstract booleanTestFilter. accepts(TestDescription td)Determines whether a TestDescription should be accepted or rejected by this filter.booleanTestFilter. 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.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.voidTestFinderQueue.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.voidTestFinderQueue.Observer. error(TestDescription td, java.lang.String msg)An error was reported by the test finder while reading a file.booleanExcludeList. excludesAllOf(TestDescription td)Test if a specific test is completely excluded according to the table.booleanExcludeList. excludesAnyOf(TestDescription td)Test if a specific test is partially or completely excluded according to the table.voidTestFinderQueue.Observer. found(TestDescription td)A test description has been found.protected voidTestFinder. foundTestDescription(TestDescription td)Report that a test description has been found.TestResultTestResultTable. 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 subclassesjava.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.StringTestResult. getWorkRelativePath(TestDescription td)Get the path name for the results file for a test, relative to the work directory.voidTestFinderQueue.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.voidScript. initTestDescription(TestDescription td)Initialize the test description to be run by the script.booleanKnownFailuresList. listsAllOf(TestDescription td)Test if a specific test is completely excluded according to the table.booleanKnownFailuresList. listsAnyOf(TestDescription td)Test if a specific test is partially or completely excluded according to the table.TestResultTestResultTable. lookup(TestDescription td)Find a specific instance of a test result.static TestResultTestResult. notRun(TestDescription td)Create a placeholder TestResult for a test that has not yet been run.voidTestFilter.Observer. rejected(TestDescription d, TestFilter rejector)Notification method called when a test has been rejected.voidTestFinderQueue. repeat(TestDescription... tds)Deprecated.retained for historical purposesabstract StatusScript. run(java.lang.String[] args, TestDescription td, TestEnvironment env)The primary method to be provided by Scripts.protected booleanDefaultTestRunner. runTest(TestDescription td)Method parameters in com.sun.javatest with type arguments of type TestDescription Modifier and Type Method Description voidHarness. notifyOfTheFinalStats(java.util.Map<TestFilter,java.util.List<TestDescription>> filterStats, int... stats)Informs all the observers of the final stats gathered after the test rundefault voidHarness.Observer. notifyOfTheFinalStats(java.util.Map<TestFilter,java.util.List<TestDescription>> filterStats, int... stats)Is called when final test run stats are available for evaluation.booleanDefaultTestRunner. runTests(java.util.Iterator<TestDescription> testIter)booleanDefaultTestRunner2. runTests(java.util.Iterator<TestDescription> testIter)Deprecated.protected abstract booleanTestRunner. runTests(java.util.Iterator<TestDescription> testIter)Run the tests obtained from an iterator.Constructors in com.sun.javatest with parameters of type TestDescription Constructor Description 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.exec
Fields in com.sun.javatest.exec declared as TestDescription Modifier and Type Field Description protected TestDescriptionTP_Subpanel. subpanelDesc -
Uses of TestDescription in com.sun.javatest.finder
Methods in com.sun.javatest.finder that return TestDescription Modifier and Type Method Description TestDescriptionBinaryTestFinder.TestTree.Node. getTest(int index, java.io.File root, java.io.File path, BinaryTestFinder.TestTable testTable)Get a TestDescription from this node, using the data in a test table.TestDescription[]ChameleonTestFinder. getTests()TestDescription[]RandomTestFinder. getTests()TestDescription[]ReverseTestFinder. getTests()TestDescription[]TestFinderDecorator. getTests() -
Uses of TestDescription in com.sun.javatest.lib
Methods in com.sun.javatest.lib with parameters of type TestDescription 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)
-