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.report |
This package provides API for generating reports about test runs.
|
Modifier and Type | Method and Description |
---|---|
TestResult |
TestResultTable.getCachedResult(TestDescription td)
This method returns TestResult from map of test results, collected by
TestResultCache worker.
|
TestResult |
Script.getTestResult()
Get the test result object to be used for the results of the test run.
|
TestResult[] |
TestResultTable.TreeNode.getTestResults()
Get any immediate children of this node which are test result objects.
|
TestResult[] |
TRT_TreeNode.getTestResults() |
TestResult |
TestResultTable.lookup(java.lang.String jtrPath)
Find a specific instance of a test result.
|
TestResult |
TestResultTable.lookup(TestDescription td)
Find a specific instance of a test result.
|
TestResult |
TestResultTable.TreeNode.matchTest(java.lang.String url)
Finds a TestResult in this node with the given name.
|
TestResult |
TRT_TreeNode.matchTest(java.lang.String url) |
static TestResult |
TestResult.notRun(TestDescription td)
Create a placeholder TestResult for a test that has not yet been run.
|
TestResult |
TestResultTable.resetTest(java.lang.String testName)
This method purges the given test, including attempting to delete the
associated JTR file, then replaces it with a basic
NOT_RUN
test of the same name. |
TestResult |
TestResultTable.resetTest(TestResult tr)
This method purges the given test, including attempting to delete the
associated JTR file, then replaces it with a basic
NOT_RUN
test of the same name. |
Modifier and Type | Method and Description |
---|---|
boolean |
TestFilter.accepts(TestResult tr) |
boolean |
StatusFilter.accepts(TestResult tr) |
boolean |
ParameterFilter.accepts(TestResult tr,
TestFilter.Observer o) |
boolean |
TestFilter.accepts(TestResult tr,
TestFilter.Observer o) |
void |
TestResultCache.Observer.buildingCache(TestResult tr)
Called when a test has been found to put in the cache.
|
void |
TestResult.Observer.completed(TestResult tr)
The test has completed, and the results are now immutable.
|
void |
TestResult.Observer.completedOutput(TestResult tr,
TestResult.Section section,
java.lang.String outputName)
Output has been completed in a section of the test result.
|
void |
TestResult.Observer.completedSection(TestResult tr,
TestResult.Section section)
A section has been been completed in the test result.
|
void |
TestResult.Observer.createdOutput(TestResult tr,
TestResult.Section section,
java.lang.String outputName)
New output has been created in a section of the test result.
|
void |
TestResult.Observer.createdSection(TestResult tr,
TestResult.Section section)
A new section has been created in the test result.
|
void |
Harness.Observer.finishedTest(TestResult tr)
The harness has finished running the given test.
|
TestResultTable.TreeNode[] |
TestResultTable.PathRecord.generateNodes(TestResult tr)
Generate the path to a given test.
|
static TestResultTable.TreeNode[] |
TestResultTable.getObjectPath(TestResult target)
Find the specified test, recording the path from the root.
|
java.util.Map<java.lang.String,java.lang.String> |
WorkDirectory.getTestAnnotations(TestResult tr)
Get any annotations for the given test in this work directory.
|
protected void |
Script.initTestResult(TestResult tr)
Initialize the test result for the result of the script execution.
|
void |
TestResultTable.TreeNodeObserver.insertedResult(TestResultTable.TreeNode parent,
TestResult test,
int index)
A TestResult has been inserted into the given parent node.
|
boolean |
TestResultTable.TreeIterator.isPending(TestResult node)
Will the iterator be returning the given node later.
|
protected void |
TestRunner.notifyFinishedTest(TestResult tr)
This method must be called when each test is finished, to notify any
registered observers.
|
protected void |
TestRunner.notifyStartingTest(TestResult tr)
This method must be called as each test is started, to notify any
registered observers.
|
void |
WorkDirectory.putTestAnnotation(TestResult tr,
java.lang.String key,
java.lang.String value)
See
putTestAnnotation(String,String,String). |
void |
TestResultTable.TreeNodeObserver.removedResult(TestResultTable.TreeNode parent,
TestResult test,
int index)
A TestResult has been removed from the given parent node.
|
void |
TestResultTable.TreeNodeObserver.replacedResult(TestResultTable.TreeNode parent,
TestResult oldTest,
TestResult newTest,
int index)
A TestResult has been replaced in the given parent node.
|
TestResult |
TestResultTable.resetTest(TestResult tr)
This method purges the given test, including attempting to delete the
associated JTR file, then replaces it with a basic
NOT_RUN
test of the same name. |
void |
Harness.Observer.startingTest(TestResult tr)
The harness is about to run the given test.
|
void |
TestResultTable.update(TestResult tr)
Update the information in the table with a new test result.
|
void |
TestResultTable.update(TestResult tr,
boolean suppressScan)
Update the information in the table with a new test result.
|
void |
TestResultTable.Observer.update(TestResult oldValue,
TestResult newValue)
The oldValue has been replaced by the newValue.
|
void |
TestResultTable.Observer.updated(TestResult whichTR)
The given test was changed, but previously existed in this TRT.
|
void |
TestResult.Observer.updatedOutput(TestResult tr,
TestResult.Section section,
java.lang.String outputName,
int start,
int end,
java.lang.String text)
The output for a section has been updated.
|
void |
TestResult.Observer.updatedProperty(TestResult tr,
java.lang.String name,
java.lang.String value)
A property of the test result has been updated.
|
Modifier and Type | Method and Description |
---|---|
void |
CustomTestResultViewer.onCangedTestResult(TestResult newTR,
boolean isActive)
This method is called when a new test from the test tree is selected by
user.
|
abstract void |
CustomTestResultViewer.setResult(TestResult currTestResult)
This method is called by the harness and it indicates to the viewer that it should
check the given TestResult object for changes.
There can be three possible cases: TestResult is a different test, therefore the viewer should fully update the panel TestResult is the current test, the viewer should check the result for updates TestResult is null. |
void |
JavaTestContextMenu.updateState(java.lang.String[] folders,
TestResult[] trs)
Called upon when multiple items have been selected by the user.
|
void |
JavaTestContextMenu.updateState(TestResult tr)
Called upon when a test is selected by the user.
|
protected void |
TP_DocumentationSubpanel.updateSubpanel(TestResult currTest) |
Modifier and Type | Method and Description |
---|---|
TestResult |
KflSorter.TestDiff.getTestResult() |
Constructor and Description |
---|
KflSorter.TestDiff(java.lang.String url,
java.lang.String tc,
TestResult tr,
KflSorter.Transitions type) |
KflSorter.TestDiff(java.lang.String url,
TestResult tr,
KflSorter.Transitions type) |
Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.