From 4b646c6c80712bbbc0737defc48f6fbb05bac0f3 Mon Sep 17 00:00:00 2001 From: "Marek A. Ruszczynski" Date: Mon, 7 Mar 2011 16:52:22 +0100 Subject: [feature/template-engine] Update tests. PHPBB3-9726 --- tests/template/templates/expressions.html | 29 ----------------------------- tests/template/templates/if.html | 4 ++-- tests/template/templates/loop_nested.html | 2 -- tests/template/templates/loop_vars.html | 13 +++---------- 4 files changed, 5 insertions(+), 43 deletions(-) (limited to 'tests/template/templates') diff --git a/tests/template/templates/expressions.html b/tests/template/templates/expressions.html index c40d967dab..e1283f165f 100644 --- a/tests/template/templates/expressions.html +++ b/tests/template/templates/expressions.html @@ -1,86 +1,57 @@ passfail - failpass - failpass - passfail - failpass - passfail - failpass - passfail - passfail - passfail passfail - passfail - passfail - passfail passfail - passfail passfail - passfail - passfail - passfail - passfail - passfail passfail - passfail passfail - passfail - passfail - passfail - passfail - passfail passfail - passfail passfail - passfail passfail - passfail - passfail passfail - passfail diff --git a/tests/template/templates/if.html b/tests/template/templates/if.html index c502e52f51..41ff024779 100644 --- a/tests/template/templates/if.html +++ b/tests/template/templates/if.html @@ -3,9 +3,9 @@ 2 -0 +03 -0 +04 diff --git a/tests/template/templates/loop_nested.html b/tests/template/templates/loop_nested.html index 9b251cd453..45b1ef85d4 100644 --- a/tests/template/templates/loop_nested.html +++ b/tests/template/templates/loop_nested.html @@ -1,8 +1,6 @@ outer - {outer.S_ROW_COUNT} - {outer.VARIABLE} - middle - {middle.S_ROW_COUNT} - {middle.VARIABLE} - diff --git a/tests/template/templates/loop_vars.html b/tests/template/templates/loop_vars.html index 4f02fd2e6c..d94a0ae0f7 100644 --- a/tests/template/templates/loop_vars.html +++ b/tests/template/templates/loop_vars.html @@ -1,21 +1,14 @@ first - -{loop.S_ROW_COUNT} - -{loop.VARIABLE} - +{loop.S_ROW_NUM} - a +{loop.VARIABLE} - b set - last - -{inner.S_ROW_COUNT} - +{inner.S_ROW_NUM} - c last inner - inner loop -- cgit v1.2.1