aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template
Commit message (Collapse)AuthorAgeFilesLines
* 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-252-0/+265
| | | | | | | | - 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-246-5/+86
| | | | | | | | - 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-242-0/+18
| | | | git-svn-id: file:///svn/phpbb/trunk@9110 89ea8834-ac86-4346-8a33-228a782c2dd0
* - updating all tests to use new frameworkNils Adermann2008-11-242-3/+3
| | | | git-svn-id: file:///svn/phpbb/trunk@9106 89ea8834-ac86-4346-8a33-228a782c2dd0
* More testsChris Smith2008-11-237-9/+147
| | | | git-svn-id: file:///svn/phpbb/trunk@9100 89ea8834-ac86-4346-8a33-228a782c2dd0
* test advanced loop constructsChris Smith2008-11-232-1/+66
| | | | 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-232-3/+5
| | | | 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-232-35/+20
| | | | git-svn-id: file:///svn/phpbb/trunk@9093 89ea8834-ac86-4346-8a33-228a782c2dd0
* Run template tests over non-cached data as wellChris Smith2008-11-232-8/+55
| | | | 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-223-4/+26
| | | | | | | | | - 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-159-0/+328
this commit got to catch a train :) git-svn-id: file:///svn/phpbb/trunk@9020 89ea8834-ac86-4346-8a33-228a782c2dd0