|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface TestResult.Observer
An interface to observe activity in a TestResult as it is created.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void createdSection(TestResult tr,
TestResult.Section section)
tr - The test result in which the section was created.section - The section that has been created
void 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||