aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template_test.php
diff options
context:
space:
mode:
authorVjacheslav Trushkin <cyberalien@gmail.com>2013-04-10 09:00:34 +0300
committerVjacheslav Trushkin <cyberalien@gmail.com>2013-04-10 09:00:34 +0300
commit5e8d92b0a84cf6ffbaefe1af5f2efd947e25aa1a (patch)
tree0ca694311d617b0ae7295e1cd4b4b4f622d32d47 /tests/template/template_test.php
parent29a5db25ec21a8b349195d01bdd0cfea09814653 (diff)
downloadforums-5e8d92b0a84cf6ffbaefe1af5f2efd947e25aa1a.tar
forums-5e8d92b0a84cf6ffbaefe1af5f2efd947e25aa1a.tar.gz
forums-5e8d92b0a84cf6ffbaefe1af5f2efd947e25aa1a.tar.bz2
forums-5e8d92b0a84cf6ffbaefe1af5f2efd947e25aa1a.tar.xz
forums-5e8d92b0a84cf6ffbaefe1af5f2efd947e25aa1a.zip
[ticket/11482] Unit tests for advanced DEFINE
Unit tests for advanced DEFINE and ENDDEFINE PHPBB3-11482
Diffstat (limited to 'tests/template/template_test.php')
-rw-r--r--tests/template/template_test.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/template/template_test.php b/tests/template/template_test.php
index 56cc7a9de5..a3c0b69123 100644
--- a/tests/template/template_test.php
+++ b/tests/template/template_test.php
@@ -133,6 +133,20 @@ class phpbb_template_template_test extends phpbb_template_template_test_case
"xyz\nabc\nabc\nbar\nbar\nabc",
),
array(
+ 'define_advanced.html',
+ array(),
+ array('loop' => array(array(), array(), array(), array(), array(), array(), array()), 'test' => array(array()), 'test.deep' => array(array()), 'test.deep.defines' => array(array())),
+ array(),
+ "abc\nzxc\ncde\nbcd",
+ ),
+ array(
+ 'define_unclosed.html',
+ array(),
+ array(),
+ array(),
+ "test",
+ ),
+ array(
'expressions.html',
array(),
array(),