aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/11662] Typos: occured -> occurredAndreas Fischer2013-07-121-1/+1
| | | | PHPBB3-11662
* [ticket/11618] Replace glob() with scandir() and string matchingJoseph Warner2013-06-261-4/+15
| | | | | | | Removes glob from template tests as glob() does not work on all systems according to PHP documentation as has been noticed by users. PHPBB3-11618
* Merge remote-tracking branch 'p/ticket/11323-olympus' into develop-olympusAndreas Fischer2013-01-222-0/+9
|\ | | | | | | | | * p/ticket/11323-olympus: [ticket/11323] Backport include_define test to olympus.
| * [ticket/11323] Backport include_define test to olympus.Oleg Pudeyev2013-01-132-0/+9
| | | | | | | | PHPBB3-11323
* | [ticket/11323] Add tests for inclusion of defined variablesMarc Alexander2013-01-143-1/+22
|/ | | | | | | | | This adds 2 tests for the template engine. The test using include_define_variable.html will test if a defined variable, which was defined with another template variable, can be used to include a file. The second test will do the same inside a loop using a loop variable. PHPBB3-11323
* [ticket/11159] static public is the currently approved order.Oleg Pudeyev2012-11-061-2/+2
| | | | PHPBB3-11159
* [ticket/9916] Updating License in the headerUnknown2012-01-021-1/+1
| | | | PHPBB3-9916
* [ticket/10354] Include cache directory path in unwritable message.Oleg Pudeyev2011-09-051-2/+3
| | | | | | | | When template tests are skipped because cache directory is not writable, include path to the cache directory into the message saying it is not writable. PHPBB3-10354
* [ticket/10081] remove $phpEx.Marek A. Ruszczynski2011-03-071-10/+3
| | | | PHPBB3-10081
* [ticket/10081] Cleanup Template Tests.Marek A. Ruszczynski2011-03-073-199/+47
| | | | | | There are no incomplete template tests anymore. PHPBB3-10081
* [ticket/10011] Tests don't work on PHP < 5.3Erik Frèrejean2011-01-311-2/+2
| | | | | | | | Due to the usage of `__DIR__` for the file includes the tests can't be ran on systems with PHP < 5.3. Replace all occurances of `__DIR__` with `dirname(__FILE__)`. PHPBB3-10011
* [ticket/9987] Rename test files to include a _test suffixIgor Wiedler2011-01-101-0/+0
| | | | PHPBB3-9987
* [ticket/9981] Fix unit test dependenciesIgor Wiedler2011-01-071-0/+1
| | | | PHPBB3-9981
* [task/phpunit-xml] Use phpunit.xml for test suiteIgor Wiedler2011-01-045-47/+5
| | | | PHPBB3-9967
* [task/mssql-db-tests] PHPUnit output got stuck after unterminated ob_start.Nils Adermann2010-10-251-0/+1
| | | | PHPBB3-9868
* [ticket/9701] Prevent notices from being hidden by template testsNils Adermann2010-07-081-3/+21
| | | | | | | | | | | | | | | | | | The template tests disable NOTICEs for the duration of template execution since the current version of the template engine does not generate sufficiently clean code. The error level is reset aftwards, however that part is skipped when trigger_error is called which is converted into a regular exception by PHPUnit and passed down until caught. Such exceptions are now caught to reset the error level, and then the exception is rethrown. This uncovered another issue in the template tests which only passed because NOTICEs were unintentionally disabled at this point. assign_display is also required to operate without NOTICEs. The respective code has been added around its callee as well. However no handling of exceptions takes place there. If another test checking for errors in that function is ever added similar catch logic will have to be added there. PHPBB3-9701
* [develop-olympus] Make this test run on windows with backslash-paths.Joas Schilling2010-03-261-1/+1
|
* [develop-olympus] Backported 3.1 unit tests to 3.0.Nils Adermann2010-03-1016-0/+915
Start adding unit tests for bugs you fix! Tests for anything are welcome really. We have to work on these a lot.