--- parser3/tests/results/160.processed 2007/08/06 16:48:50 1.3 +++ parser3/tests/results/160.processed 2009/08/30 05:30:29 1.5 @@ -1,92 +1,153 @@ -content-type: text/html -content-length: 1351 +Content-Type: text/html +Content-Length: 2071
| Info | File: 1 | File: 2 | File: 3 | +File: 4 |
|---|---|---|---|---|
| Exec body on 1st step, then just get cached result |
-Executed code, ^cache[] value defined,
-result: One (1)
+Executed body, ^cache[] value defined,
+result: '
+One (1)
+'
Get cached result, -result: One (1) +result: ' +One (1) +' Get cached result, -result: One (1) +result: ' +One (1) +' |
-Executed code, ^cache[] value defined,
-result: Two (1)
+Executed body, ^cache[] value defined,
+result: '
+Two (1)
+'
Get cached result, -result: Two (1) +result: ' +Two (1) +' Get cached result, -result: Two (1) +result: ' +Two (1) +' |
-Executed code, ^cache[] value defined,
-result: Three (1)
+Executed body, ^cache[] value defined,
+result: '
+Three (1)
+'
Get cached result, -result: Three (1) +result: ' +Three (1) +' Get cached result, -result: Three (1) +result: ' +Three (1) +' |
+|
| Value in cache not expired yet. |
Get cached result,
-result: Three (1)
+result: '
+Three (1)
+'
Get cached result, -result: Three (1) +result: ' +Three (1) +' Get cached result, -result: Three (1) +result: ' +Three (1) +' |
|||
| Wait for 3 secs. Cache expired for sure. | ^sleep(3) | +|||
|
-Process error handler, result: One (1)
+1. Body code has an exception but force get cached result +2. Execute body and set ^cache(0) for prevent cacheing +3. Body code has an exception, execute catch section and set ^cache(0) + |
+
+Processing catch section, result: '
+One (1)
+'
Get cached result, -result: One (1) +result: ' +One (1) +' Get cached result, -result: One (1) +result: ' +One (1) +' |
-Executed code, ^cache[] value defined,
-result: Two
+Executed body, ^cache[] value defined,
+result: '
+Two
(1)
+'
-Executed code, ^cache[] value defined, -result: Two +Executed body, ^cache[] value defined, +result: ' +Two (2) +' -Executed code, ^cache[] value defined, -result: Two +Executed body, ^cache[] value defined, +result: ' +Two (3) +' + |
+
+Processing catch section, result: '
+Catch section results
+'
+ +Processing catch section, result: ' +Catch section results +' + +Processing catch section, result: ' +Catch section results +' |
-Process error handler, result: Error occure while executing body
+Error. Body executed 1 times, catch executed 1 times.
-Process error handler, result: Error occure while executing body +Error. Body executed 1 times, catch executed 1 times. -Process error handler, result: Error occure while executing body +Error. Body executed 1 times, catch executed 1 times. |