aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/11323] Enable tests for inclusion of defined variablesMarc Alexander2013-02-191-3/+0
| | | | PHPBB3-11323
* Merge PR #1194 branch 'develop-olympus' into developOleg Pudeyev2013-01-133-1/+25
|\ | | | | | | | | * develop-olympus: [ticket/11323] Add tests for inclusion of defined variables
| * [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
* | [feature/template-events] Test for event that is defined in parent style only.Oleg Pudeyev2012-11-173-0/+12
| | | | | | | | PHPBB3-9550
* | [feature/template-events] Specify style names, add inheritance tests.Oleg Pudeyev2012-11-171-7/+37
| | | | | | | | PHPBB3-9550
* | [feature/template-events] Normalize expected directory trees.Oleg Pudeyev2012-11-173-1/+1
| | | | | | | | PHPBB3-9550
* | [feature/template-events] Allow dataset to be correctly selectable.Oleg Pudeyev2012-11-171-13/+9
| | | | | | | | PHPBB3-9550
* | [feature/template-events] Dataset for template event testing with inheritance.Oleg Pudeyev2012-11-178-0/+8
| | | | | | | | PHPBB3-9550
* | [feature/template-events] Convert a single style name to array of them.Oleg Pudeyev2012-11-174-4/+4
| | | | | | | | | | | | | | This allows template code to know the entire style hierarchy for templates being rendered. PHPBB3-9550
* | [feature/template-events] Chase dependency injection for template context.Oleg Pudeyev2012-11-171-1/+1
| | | | | | | | PHPBB3-9550
* | [feature/template-events] Adjust template events test to use the dataset.Oleg Pudeyev2012-11-171-2/+2
| | | | | | | | PHPBB3-9550
* | [feature/template-events] Create a dataset for template event tests.Oleg Pudeyev2012-11-174-0/+0
| | | | | | | | | | | | Having all files in one directory is too much of a mess. PHPBB3-9550
* | [feature/template-events] Switch template event test to data providers.Oleg Pudeyev2012-11-171-16/+34
| | | | | | | | PHPBB3-9550
* | [feature/template-events] Add a universal template event test.Oleg Pudeyev2012-11-175-21/+33
| | | | | | | | | | | | | | | | | | Also drop the irrelevant includejs code and add a simple template event test. The simple test is not working yet however due to the template engine not correctly tracking which template it is rendering. PHPBB3-9550
* | [feature/template-events] Chase template/style renames and changes.Oleg Pudeyev2012-11-172-2/+2
| | | | | | | | PHPBB3-9550
* | [feature/template-events] Template events unit testVjacheslav Trushkin2012-11-172-0/+60
| | | | | | | | | | | | Adding template events test PHPBB3-9550
* | Merge remote-tracking branch 'p/ticket/10933' into developIgor Wiedler2012-11-171-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * p/ticket/10933: [ticket/10933] Prose for get_first_file_location. [ticket/10933] Remaining documentation for added functions in resource locator [ticket/10933] Update template locator test to use style resource locator. [ticket/10933] Dispose of locate function in template class. [ticket/10933] Add mutators for template_path to style resource locator. [ticket/10933] Delete template_path assignment. [ticket/10933] Delete template_path from template class. [ticket/10933] Add get_first_template_location.
| * | [ticket/10933] Update template locator test to use style resource locator.Oleg Pudeyev2012-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | There is no reason for it to go through a template instance to test resource locator functionality. PHPBB3-10933
* | | Merge pull request #881 from Fyorl/ticket/10970Nils Adermann2012-11-109-3/+32
|\ \ \ | |/ / |/| | Allow INCLUDE template macros to accept paths of the form {FOO}/a/{BAR}/c
| * | [ticket/10970] Added support for forms such as {FOO}bar.{EXT}Fyorl2012-07-082-1/+3
| | | | | | | | | | | | PHPBB3-10970
| * | [ticket/10970] Paths of the form {FOO}/a/{BAR}/b parsed correctlyFyorl2012-07-089-3/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A new method to handle this type of path was added and compile_tag_include, compile_tag_include_php and compile_tag_include_js were modified to use it appropriately. Tests were added for these three macros also. PHPBB3-10970
* | | [ticket/10933] Dependency inject template context.Oleg Pudeyev2012-11-022-2/+2
| | | | | | | | | | | | PHPBB3-10933
* | | [ticket/10933] Specify empty template path for absolute includephp test.Oleg Pudeyev2012-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This was probably necessary all along, and the test happened to work because state was not correctly reset between test runs and a previous test set an empty template path. PHPBB3-10933
* | | [ticket/10973] Drop all require_once for mocks. Use autoloading.Andreas Fischer2012-07-081-1/+0
|/ / | | | | | | PHPBB3-10973
* | Merge PR #778 branch 'cyberalien/ticket/10800' into developOleg Pudeyev2012-06-1110-14/+19
|\ \ | | | | | | | | | | | | | | | * cyberalien/ticket/10800: [ticket/10800] Changing html to js for includejs tests [ticket/10800] Changing template paths in tests
| * | [ticket/10800] Changing html to js for includejs testsVjacheslav Trushkin2012-05-016-6/+10
| | | | | | | | | | | | | | | | | | Changing .html to .js files for includejs tests PHPBB3-10800
| * | [ticket/10800] Changing template paths in testsVjacheslav Trushkin2012-04-295-11/+12
| | | | | | | | | | | | | | | | | | Changing template paths in tests from absolute to relative PHPBB3-10800
* | | [ticket/10882] Fix test name - oops.Oleg Pudeyev2012-06-111-1/+1
| | | | | | | | | | | | PHPBB3-10882
* | | [ticket/10882] Add a test for including a nonexistent file.Oleg Pudeyev2012-05-103-0/+34
| | | | | | | | | | | | PHPBB3-10882
* | | [ticket/10882] Add test for an ENDIF without IF.Oleg Pudeyev2012-05-103-0/+14
| | | | | | | | | | | | PHPBB3-10882
* | | [ticket/10882] Add test for an invalid template tag.Oleg Pudeyev2012-05-103-0/+45
|/ / | | | | | | PHPBB3-10882
* | [ticket/10756] Renaming phpbb_style_template to phpbb_templateVjacheslav Trushkin2012-04-192-2/+2
| | | | | | | | | | | | Renaming phpbb_style_template to phpbb_template PHPBB3-10756
* | [ticket/10756] Removing path provider from template classVjacheslav Trushkin2012-04-192-2/+2
| | | | | | | | | | | | Removing path provider from template class because it is not used by template class PHPBB3-10756
* | [ticket/10756] Renaming template classesVjacheslav Trushkin2012-04-192-3/+3
| | | | | | | | | | | | Renaming template classes from phpbb_style_template_ to phpbb_template_ PHPBB3-10756
* | [ticket/10783] Correctly add assets_version config var to includejs urlsNils Adermann2012-04-131-4/+4
| | | | | | | | PHPBB3-10783
* | [ticket/10665] New test class for templates with treeVjacheslav Trushkin2012-04-014-55/+35
| | | | | | | | | | | | New parent template test class for tests that use styles tree PHPBB3-10665
* | Merge remote-tracking branch 'upstream/develop' into ticket/10665Vjacheslav Trushkin2012-04-013-11/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/develop: [ticket/10733] Fixing test [ticket/10733] Removing static from data providers [ticket/10731] Fixed addquote() to work on opera browser. [ticket/10731] Fixed addquote() to work on opera browser. [Ticket/10675] Correct language string ATTACH_DISK_FULL [feature/event-dispatcher] Adding composer.phar to .gitignore for olympus [ticket/10705] Change WARNINGS_ZERO_TOTAL in subsilver2 [ticket/10705] Change WARNINGS_ZERO_TOTAL in prosilver [ticket/10705] Change WARNINGS_ZERO_TOTAL in en language [ticket/10675] Add disk full language string when posting attachments
| * | [ticket/10733] Fixing testVjacheslav Trushkin2012-04-011-7/+7
| | | | | | | | | | | | | | | | | | Changing expected and result in locator test PHPBB3-10733
| * | [ticket/10733] Removing static from data providersVjacheslav Trushkin2012-04-013-4/+4
| | | | | | | | | | | | | | | | | | Removing static from data provider functions PHPBB3-10733
* | | [ticket/10665] INCLUDEJS unit testVjacheslav Trushkin2012-04-012-0/+53
| | | | | | | | | | | | | | | | | | Adding INLCUDEJS test PHPBB3-10665
* | | [ticket/10665] Changing template compiler testVjacheslav Trushkin2012-04-011-1/+1
|/ / | | | | | | | | | | Adding new constructor parameters to template compiler test PHPBB3-10665
* | [ticket/10733] Adding test for locatorVjacheslav Trushkin2012-04-011-0/+84
| | | | | | | | | | | | Adding test for $template->locate PHPBB3-10733
* | [feature/merging-style-components] Fix for unit testsVjacheslav Trushkin2012-03-312-2/+2
| | | | | | | | | | | | Fixing typo in template unit tests PHPBB3-10632
* | [feature/merging-style-components] Moving template initialization out of styleVjacheslav Trushkin2012-03-312-4/+4
| | | | | | | | | | | | Moving template initialization out of style constructor PHPBB3-10632
* | [feature/merging-style-components] Initializing locator and provider separatelyVjacheslav Trushkin2012-03-312-2/+8
| | | | | | | | | | | | Moving locator and path provider initialization out of style class PHPBB3-10632
* | [feature/merging-style-components] Updating test casesVjacheslav Trushkin2012-03-154-5/+5
| | | | | | | | | | | | Updating code in test cases for new template classes. PHPBB3-10632
* | [feature/merging-style-components] Creating style classVjacheslav Trushkin2012-03-152-8/+5
| | | | | | | | | | | | Creating phpbb_style class, changing template initialization to style initialization PHPBB3-10632
* | [feature/merging-style-components] Renaming template classesVjacheslav Trushkin2012-03-144-9/+9
| | | | | | | | | | | | Changing template classes prefixes from phpbb_template to phpbb_style (for classes that will work with styles) or phpbb_style_template (for classes that are specific to templates) PHPBB3-10632
* | Merge remote-tracking branch 'cyberalien/feature/append_var' into developOleg Pudeyev2012-03-071-0/+36
|\ \ | | | | | | | | | | | | | | | * cyberalien/feature/append_var: [feature/append_var] Adding test case [feature/append_var] Adding append_var template class function