com.sun.javatest
public static interface TestResult.Observer
Modifier and Type | Method and Description |
---|---|
void |
completed(TestResult tr)
The test has completed, and the results are now immutable.
|
void |
completedOutput(TestResult tr,
TestResult.Section section,
java.lang.String outputName)
Output has been completed in a section of the test result.
|
void |
completedSection(TestResult tr,
TestResult.Section section)
A section has been been completed in the test result.
|
void |
createdOutput(TestResult tr,
TestResult.Section section,
java.lang.String outputName)
New output has been created in a section of the test result.
|
void |
createdSection(TestResult tr,
TestResult.Section section)
A new section has been created in the test result.
|
void |
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 |
updatedProperty(TestResult tr,
java.lang.String name,
java.lang.String value)
A property of the test result has been updated.
|
void createdSection(TestResult tr, TestResult.Section section)
tr
- The test result in which the section was created.section
- The section that has been createdvoid completedSection(TestResult tr, TestResult.Section section)
tr
- The test result containing the section.section
- The section that has been completed.void createdOutput(TestResult tr, TestResult.Section section, java.lang.String outputName)
tr
- The test result containing the output.section
- The section in which the output has been created.outputName
- The name of the output.void completedOutput(TestResult tr, TestResult.Section section, java.lang.String outputName)
tr
- The test result containing the output.section
- The section in which the output has been completed.outputName
- The name of the output.void updatedOutput(TestResult tr, TestResult.Section section, java.lang.String outputName, int start, int end, java.lang.String text)
tr
- The test result object being modified.section
- The section in which the output is being produced.outputName
- The name of the output.start
- the start offset of the text that was changedend
- the end offset of the text that was changedtext
- the text that replaced the specified range.void updatedProperty(TestResult tr, java.lang.String name, java.lang.String value)
tr
- The test result containing the property that was modified.name
- The key for the property that was modified.value
- The new value for the property.void completed(TestResult tr)
tr
- The test result that has been completed.Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.