File:  [parser3project] / parser3 / tests / results / 160.processed
Revision 1.6: download - view: text, annotated - select for diffs - revision graph
Sat Jul 3 07:49:12 2010 UTC (16 years ago) by misha
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, release_3_4_6, release_3_4_5, release_3_4_4, release_3_4_3, release_3_4_2, release_3_4_1, HEAD
- prepare tests to trim trailing methods' EOLs

Content-Type: text/html
Content-Length: 2070

<table border="1" cellpadding="3">
<tr>
<th>Info</th>
<th>File: 1</th>
<th>File: 2</th>
<th>File: 3</th>
<th>File: 4</th>
</tr>
<tr valign="top">
<td>Exec body on 1st step, then just get cached result</td>
<td>
Executed body, ^cache[] value defined,
result: '
One (1)
'
<br />
Get cached result,
result: '
One (1)
'
<br />
Get cached result,
result: '
One (1)
'
</td>
<td>
Executed body, ^cache[] value defined,
result: '
Two (1)
'
<br />
Get cached result,
result: '
Two (1)
'
<br />
Get cached result,
result: '
Two (1)
'
</td>
<td>
Executed body, ^cache[] value defined,
result: '
Three (1)
'
<br />
Get cached result,
result: '
Three (1)
'
<br />
Get cached result,
result: '
Three (1)
'
</td>
<td><br /></td>
</tr>
<tr valign="top">
<td>Value in cache not expired yet.</td>
<td><br /></td>
<td><br /></td>
<td>
Get cached result,
result: '
Three (1)
'
<br />
Get cached result,
result: '
Three (1)
'
<br />
Get cached result,
result: '
Three (1)
'
</td>
</tr>
<tr valign="top">
<td>Wait for 3 secs. Cache expired for sure.</td>
<td colspan="3">
^sleep(3)
</td>
<td><br /></td>
</tr>
<tr valign="top">
<td>
1. Body code has an exception but force get cached result<br />
2. Execute body and set ^cache(0) for prevent cacheing<br />
3. Body code has an exception, execute catch section and set ^cache(0)
</td>
<td>
Processing catch section, result: '
One (1)
'
<br />
Get cached result,
result: '
One (1)
'
<br />
Get cached result,
result: '
One (1)
'
</td>
<td>
Executed body, ^cache[] value defined,
result: '
Two
(1)
'
<br />
Executed body, ^cache[] value defined,
result: '
Two
(2)
'
<br />
Executed body, ^cache[] value defined,
result: '
Two
(3)
'
</td>
<td>
Processing catch section, result: '
Catch section results
'
<br />
Processing catch section, result: '
Catch section results
'
<br />
Processing catch section, result: '
Catch section results
'
</td>
<td>
Error. Body executed 1 times, catch executed 1 times.
<br />
Error. Body executed 1 times, catch executed 1 times.
<br />
Error. Body executed 1 times, catch executed 1 times.
</td>
</tr>
</table>

E-mail: