The required format for use of the FormattingOption class. All TestRunner implementations should produce output of this format
- A TEST RESULT consists of:
- name of test page
- \n
- counts (1 right, 0 wrong, 0 ignored, 0 exceptions)
- \n
- processed HTML
- \n
- To build a results file acceptable by FormattingOption:
- For each document
- WRITE the TEST RESULT
- WRITE COUNTS (accumulated counts for all tests added)
- INTEGER : A integer value in the form of a 10 byte string
- 0000000000 = 0
- 0000000005 = 5
- 0000000123 = 123
- READ : Reading a value involves two step.
- read an INTEGER value, n
- read n bytes.
- WRITE : Writing a value involves two steps
- count the bytes in value and write the size as an INTEGER
- write the value as bytes
- WRITE COUNTS : Write the counts as 4 INTEGERs
- right
- wrong
- ignores
- exceptions
- STATUS : Length of Error Message. If it is zero, the connection has been established. If not, it is followed by the Error Message.
0000004196TestCreatingSymbolicLink
7 right, 0 wrong, 0 ignored, 0 exceptions
<div class="setup">
... HTML ...
</div>
0000005311TestRemovingSymbolicLink
10 right, 0 wrong, 0 ignored, 0 exceptions
<div class="setup">
... HTML ...
</div>
0000004391TestSymbolicLinkBehavior
8 right, 0 wrong, 0 ignored, 0 exceptions
<div class="setup">
... HTML ...
</div>
00000000000000000025000000000000000000000000000000
Add Child Page to TestResultsFormat