--- parser3/tests/results/160.processed 2007/03/27 08:38:42 1.1 +++ parser3/tests/results/160.processed 2009/08/30 05:30:29 1.5 @@ -1,23 +1,153 @@ -content-type: text/html -content-length: 256 +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 body, ^cache[] value defined,
+result: '
+One (1)
+'
+ +Get cached result, +result: ' +One (1) +' + +Get cached result, +result: ' +One (1) +' + |
+
+Executed body, ^cache[] value defined,
+result: '
+Two (1)
+'
+ +Get cached result, +result: ' +Two (1) +' + +Get cached result, +result: ' +Two (1) +' + |
+
+Executed body, ^cache[] value defined,
+result: '
+Three (1)
+'
+ +Get cached result, +result: ' +Three (1) +' + +Get cached result, +result: ' +Three (1) +' + |
+|
| Value in cache not expired yet. | +
+Get cached result,
+result: '
+Three (1)
+'
+ +Get cached result, +result: ' +Three (1) +' + +Get cached result, +result: ' +Three (1) +' + |
+|||
| Wait for 3 secs. Cache expired for sure. | ++^sleep(3) + | +|||
|
+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) +' + +Get cached result, +result: ' +One (1) +' + |
+
+Executed body, ^cache[] value defined,
+result: '
+Two
+(1)
+'
+ +Executed body, ^cache[] value defined, +result: ' +Two +(2) +' + +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 +' + |
+
+Error. Body executed 1 times, catch executed 1 times.
+ +Error. Body executed 1 times, catch executed 1 times. + +Error. Body executed 1 times, catch executed 1 times. + |
+