aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'develop-olympus' into developNils Adermann2010-03-261-1/+1
|\ | | | | | | | | | | | | | | * develop-olympus: [develop-olympus] Make this test run on windows with backslash-paths. [bug/56965] Redirect fails with directory traversal [bug/58685] Correct spelling errors in append_sid() comments. [bug/58025] Search robots are now redirected if they send a SID in the request
| * [develop-olympus] Make this test run on windows with backslash-paths.Joas Schilling2010-03-261-1/+1
| |
* | [develop] Failed to merge the template test properly.Nils Adermann2010-03-101-96/+0
| | | | | | | | | | | | The feature branch for the new template engine should probably contain all the deleted tests as well. We should look into the incompatibilities and try to stay backwards compatible.
* | Merge branch 'develop-olympus' into developNils Adermann2010-03-101-0/+93
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/all_tests.php tests/request/all_tests.php tests/request/request_var.php tests/security/all_tests.php tests/security/extract_current_page.php tests/security/redirect.php tests/template/all_tests.php tests/template/template.php tests/template/templates/define.html tests/template/templates/expressions.html tests/template/templates/if.html tests/template/templates/includephp.html tests/template/templates/loop.html tests/template/templates/loop_advanced.html tests/template/templates/loop_vars.html tests/test_framework/framework.php tests/test_framework/phpbb_test_case.php tests/text_processing/all_tests.php tests/text_processing/make_clickable.php tests/utf/all_tests.php tests/utf/utf8_clean_string_test.php tests/utf/utf8_wordwrap_test.php
| * [develop-olympus] Backported 3.1 unit tests to 3.0.Nils Adermann2010-03-101-0/+671
| | | | | Start adding unit tests for bugs you fix! Tests for anything are welcome really. We have to work on these a lot.
* adjust tests a little bit to let them work again in trunk (not adjusted ↵Meik Sievertsen2009-10-051-57/+19
| | | | | | template/bbcode yet) git-svn-id: file:///svn/phpbb/trunk@10212 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix most of the template test suite :)Chris Smith2009-06-131-27/+77
| | | | git-svn-id: file:///svn/phpbb/trunk@9588 89ea8834-ac86-4346-8a33-228a782c2dd0
* Remove cache files after each test, ensure they are not included in the ↵Chris Smith2008-12-071-0/+11
| | | | | | coverage report git-svn-id: file:///svn/phpbb/trunk@9181 89ea8834-ac86-4346-8a33-228a782c2dd0
* Should not be needed, unlink() should clear sthe cache and this was never ↵Chris Smith2008-12-071-4/+0
| | | | | | the problem anyway git-svn-id: file:///svn/phpbb/trunk@9180 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fixed :DChris Smith2008-12-011-0/+4
| | | | git-svn-id: file:///svn/phpbb/trunk@9142 89ea8834-ac86-4346-8a33-228a782c2dd0
* Test empty filename and invalid handleChris Smith2008-11-251-0/+7
| | | | git-svn-id: file:///svn/phpbb/trunk@9119 89ea8834-ac86-4346-8a33-228a782c2dd0
* Test empty filenameChris Smith2008-11-251-1/+7
| | | | git-svn-id: file:///svn/phpbb/trunk@9118 89ea8834-ac86-4346-8a33-228a782c2dd0
* Test missing filesChris Smith2008-11-251-6/+16
| | | | git-svn-id: file:///svn/phpbb/trunk@9117 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Add template variable S_BLOCK_NAMEChris Smith2008-11-251-0/+257
| | | | | | | | - Modify template::alter_block_array() so it supports modification of nested blocks - Add (incomplete) tests for template::alter_block_array() git-svn-id: file:///svn/phpbb/trunk@9116 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Make a start on completing the phpDoc comments for the template engineChris Smith2008-11-241-3/+47
| | | | | | | | - Tidy template engine code, mainly PHP5 stuff, made some methods void instead of just returning true - Add tests for the remaining untested compilation code git-svn-id: file:///svn/phpbb/trunk@9115 89ea8834-ac86-4346-8a33-228a782c2dd0
* Test is (even|odd) by yChris Smith2008-11-241-0/+7
| | | | git-svn-id: file:///svn/phpbb/trunk@9110 89ea8834-ac86-4346-8a33-228a782c2dd0
* - updating all tests to use new frameworkNils Adermann2008-11-241-2/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@9106 89ea8834-ac86-4346-8a33-228a782c2dd0
* More testsChris Smith2008-11-231-9/+132
| | | | git-svn-id: file:///svn/phpbb/trunk@9100 89ea8834-ac86-4346-8a33-228a782c2dd0
* test advanced loop constructsChris Smith2008-11-231-1/+7
| | | | git-svn-id: file:///svn/phpbb/trunk@9099 89ea8834-ac86-4346-8a33-228a782c2dd0
* S_NUM_ROWS gives you the number of rows in a blockChris Smith2008-11-231-3/+3
| | | | git-svn-id: file:///svn/phpbb/trunk@9098 89ea8834-ac86-4346-8a33-228a782c2dd0
* Will he ever be happy? ...Chris Smith2008-11-231-21/+14
| | | | git-svn-id: file:///svn/phpbb/trunk@9094 89ea8834-ac86-4346-8a33-228a782c2dd0
* Refactor and fix :)Chris Smith2008-11-231-35/+19
| | | | git-svn-id: file:///svn/phpbb/trunk@9093 89ea8834-ac86-4346-8a33-228a782c2dd0
* Run template tests over non-cached data as wellChris Smith2008-11-231-8/+50
| | | | git-svn-id: file:///svn/phpbb/trunk@9092 89ea8834-ac86-4346-8a33-228a782c2dd0
* all 557 tests pass now :DChris Smith2008-11-231-1/+5
| | | | git-svn-id: file:///svn/phpbb/trunk@9091 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Deprecate S_ROW_COUNT use S_ROW_NUMChris Smith2008-11-221-4/+20
| | | | | | | | | - S_ROW_NUM, S_FIRST_ROW, S_LAST_ROW are now using internal template engine variables saving memory - Other small changes - Update of template tests git-svn-id: file:///svn/phpbb/trunk@9087 89ea8834-ac86-4346-8a33-228a782c2dd0
* Initial template tests, a bit hackish currently, excuse the rushed nature of ↵Chris Smith2008-10-151-0/+144
this commit got to catch a train :) git-svn-id: file:///svn/phpbb/trunk@9020 89ea8834-ac86-4346-8a33-228a782c2dd0