|
4096 - trunk/Template/tests/regression_tests/blocks/incorrect [eZComponents: msg#00266web.ezcomponents.cvs
Author: Jan Borsodi Date: 2006-11-28 10:27:30 +0100 (Tue, 28 Nov 2006) New Revision: 4096 Log: - Use of {case} was wrong for these test, updated with correct syntax. Modified: trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0065.in trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0065.out trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0066.in trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0066.out trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0067.in trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0067.out trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0068.in trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0068.out trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0069.in trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0069.out trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0070.in trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0070.out trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0072.in trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0072.out trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0145.in trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0146.in trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0147.in trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0148.in trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0149.in trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0150.in trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0152.in Modified: trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0065.in =================================================================== --- trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0065.in 2006-11-28 09:08:25 UTC (rev 4095) +++ trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0065.in 2006-11-28 09:27:30 UTC (rev 4096) @@ -1,6 +1,6 @@ {* file: non_matching_block_0065.in *} {var $foo = 1, $_false = false, $array = array( 1, 2 )} -{case $foo} +{case 5} {$foo} Modified: trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0065.out =================================================================== --- trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0065.out 2006-11-28 09:08:25 UTC (rev 4095) +++ trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0065.out 2006-11-28 09:27:30 UTC (rev 4096) @@ -1,4 +1,4 @@ -mock:3:7: Expecting a literal value. +mock:3:6: Unexpected block {case} at this position. Some blocks can only be used inside other blocks. -{case $foo} - ^ +{case 5} + ^ Modified: trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0066.in =================================================================== --- trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0066.in 2006-11-28 09:08:25 UTC (rev 4095) +++ trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0066.in 2006-11-28 09:27:30 UTC (rev 4096) @@ -1,6 +1,6 @@ {* file: non_matching_block_0066.in *} {var $foo = 1, $_false = false, $array = array( 1, 2 )} -{case $foo} +{case 5} {$foo} {/foreach} Modified: trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0066.out =================================================================== --- trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0066.out 2006-11-28 09:08:25 UTC (rev 4095) +++ trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0066.out 2006-11-28 09:27:30 UTC (rev 4096) @@ -1,4 +1,4 @@ -mock:3:7: Expecting a literal value. +mock:3:6: Unexpected block {case} at this position. Some blocks can only be used inside other blocks. -{case $foo} - ^ +{case 5} + ^ Modified: trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0067.in =================================================================== --- trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0067.in 2006-11-28 09:08:25 UTC (rev 4095) +++ trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0067.in 2006-11-28 09:27:30 UTC (rev 4096) @@ -1,6 +1,6 @@ {* file: non_matching_block_0067.in *} {var $foo = 1, $_false = false, $array = array( 1, 2 )} -{case $foo} +{case 5} {$foo} {/while} Modified: trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0067.out =================================================================== --- trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0067.out 2006-11-28 09:08:25 UTC (rev 4095) +++ trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0067.out 2006-11-28 09:27:30 UTC (rev 4096) @@ -1,4 +1,4 @@ -mock:3:7: Expecting a literal value. +mock:3:6: Unexpected block {case} at this position. Some blocks can only be used inside other blocks. -{case $foo} - ^ +{case 5} + ^ Modified: trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0068.in =================================================================== --- trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0068.in 2006-11-28 09:08:25 UTC (rev 4095) +++ trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0068.in 2006-11-28 09:27:30 UTC (rev 4096) @@ -1,6 +1,6 @@ {* file: non_matching_block_0068.in *} {var $foo = 1, $_false = false, $array = array( 1, 2 )} -{case $foo} +{case 5} {$foo} {/delimiter} Modified: trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0068.out =================================================================== --- trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0068.out 2006-11-28 09:08:25 UTC (rev 4095) +++ trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0068.out 2006-11-28 09:27:30 UTC (rev 4096) @@ -1,4 +1,4 @@ -mock:3:7: Expecting a literal value. +mock:3:6: Unexpected block {case} at this position. Some blocks can only be used inside other blocks. -{case $foo} - ^ +{case 5} + ^ Modified: trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0069.in =================================================================== --- trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0069.in 2006-11-28 09:08:25 UTC (rev 4095) +++ trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0069.in 2006-11-28 09:27:30 UTC (rev 4096) @@ -1,6 +1,6 @@ {* file: non_matching_block_0069.in *} {var $foo = 1, $_false = false, $array = array( 1, 2 )} -{case $foo} +{case 5} {$foo} {/if} Modified: trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0069.out =================================================================== --- trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0069.out 2006-11-28 09:08:25 UTC (rev 4095) +++ trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0069.out 2006-11-28 09:27:30 UTC (rev 4096) @@ -1,4 +1,4 @@ -mock:3:7: Expecting a literal value. +mock:3:6: Unexpected block {case} at this position. Some blocks can only be used inside other blocks. -{case $foo} - ^ +{case 5} + ^ Modified: trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0070.in =================================================================== --- trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0070.in 2006-11-28 09:08:25 UTC (rev 4095) +++ trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0070.in 2006-11-28 09:27:30 UTC (rev 4096) @@ -1,6 +1,6 @@ {* file: non_matching_block_0070.in *} {var $foo = 1, $_false = false, $array = array( 1, 2 )} -{case $foo} +{case 5} {$foo} {/switch} Modified: trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0070.out =================================================================== --- trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0070.out 2006-11-28 09:08:25 UTC (rev 4095) +++ trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0070.out 2006-11-28 09:27:30 UTC (rev 4096) @@ -1,4 +1,4 @@ -mock:3:7: Expecting a literal value. +mock:3:6: Unexpected block {case} at this position. Some blocks can only be used inside other blocks. -{case $foo} - ^ +{case 5} + ^ Modified: trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0072.in =================================================================== --- trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0072.in 2006-11-28 09:08:25 UTC (rev 4095) +++ trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0072.in 2006-11-28 09:27:30 UTC (rev 4096) @@ -1,6 +1,6 @@ {* file: non_matching_block_0072.in *} {var $foo = 1, $_false = false, $array = array( 1, 2 )} -{case $foo} +{case 5} {$foo} {/default} Modified: trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0072.out =================================================================== --- trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0072.out 2006-11-28 09:08:25 UTC (rev 4095) +++ trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0072.out 2006-11-28 09:27:30 UTC (rev 4096) @@ -1,4 +1,4 @@ -mock:3:7: Expecting a literal value. +mock:3:6: Unexpected block {case} at this position. Some blocks can only be used inside other blocks. -{case $foo} - ^ +{case 5} + ^ Modified: trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0145.in =================================================================== --- trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0145.in 2006-11-28 09:08:25 UTC (rev 4095) +++ trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0145.in 2006-11-28 09:27:30 UTC (rev 4096) @@ -1,7 +1,7 @@ {* file: non_matching_block_0145.in *} {var $foo = 1, $_false = false, $array = array( 1, 2 )} {foreach $array as $bar} - {case $foo} + {case 5} {$foo} {/foreach} Modified: trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0146.in =================================================================== --- trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0146.in 2006-11-28 09:08:25 UTC (rev 4095) +++ trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0146.in 2006-11-28 09:27:30 UTC (rev 4096) @@ -1,7 +1,7 @@ {* file: non_matching_block_0146.in *} {var $foo = 1, $_false = false, $array = array( 1, 2 )} {foreach $array as $bar} - {case $foo} + {case 5} {$foo} {/foreach} {/foreach} Modified: trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0147.in =================================================================== --- trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0147.in 2006-11-28 09:08:25 UTC (rev 4095) +++ trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0147.in 2006-11-28 09:27:30 UTC (rev 4096) @@ -1,7 +1,7 @@ {* file: non_matching_block_0147.in *} {var $foo = 1, $_false = false, $array = array( 1, 2 )} {foreach $array as $bar} - {case $foo} + {case 5} {$foo} {/while} {/foreach} Modified: trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0148.in =================================================================== --- trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0148.in 2006-11-28 09:08:25 UTC (rev 4095) +++ trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0148.in 2006-11-28 09:27:30 UTC (rev 4096) @@ -1,7 +1,7 @@ {* file: non_matching_block_0148.in *} {var $foo = 1, $_false = false, $array = array( 1, 2 )} {foreach $array as $bar} - {case $foo} + {case 5} {$foo} {/delimiter} {/foreach} Modified: trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0149.in =================================================================== --- trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0149.in 2006-11-28 09:08:25 UTC (rev 4095) +++ trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0149.in 2006-11-28 09:27:30 UTC (rev 4096) @@ -1,7 +1,7 @@ {* file: non_matching_block_0149.in *} {var $foo = 1, $_false = false, $array = array( 1, 2 )} {foreach $array as $bar} - {case $foo} + {case 5} {$foo} {/if} {/foreach} Modified: trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0150.in =================================================================== --- trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0150.in 2006-11-28 09:08:25 UTC (rev 4095) +++ trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0150.in 2006-11-28 09:27:30 UTC (rev 4096) @@ -1,7 +1,7 @@ {* file: non_matching_block_0150.in *} {var $foo = 1, $_false = false, $array = array( 1, 2 )} {foreach $array as $bar} - {case $foo} + {case 5} {$foo} {/switch} {/foreach} Modified: trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0152.in =================================================================== --- trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0152.in 2006-11-28 09:08:25 UTC (rev 4095) +++ trunk/Template/tests/regression_tests/blocks/incorrect/non_matching_block_0152.in 2006-11-28 09:27:30 UTC (rev 4096) @@ -1,7 +1,7 @@ {* file: non_matching_block_0152.in *} {var $foo = 1, $_false = false, $array = array( 1, 2 )} {foreach $array as $bar} - {case $foo} + {case 5} {$foo} {/default} {/foreach} |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | 4095 - in trunk/Template/tests/regression_tests/blocks: correct incorrect [eZComponents: Trunk]: 00266, Raymond Bosman |
|---|---|
| Next by Date: | 4097 - trunk/Template/tests/regression_tests/blocks/incorrect [eZComponents: Trunk]: 00266, Jan Borsodi |
| Previous by Thread: | 4095 - in trunk/Template/tests/regression_tests/blocks: correct incorrect [eZComponents: Trunk]i: 00266, Raymond Bosman |
| Next by Thread: | 4097 - trunk/Template/tests/regression_tests/blocks/incorrect [eZComponents: Trunk]: 00266, Jan Borsodi |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |