Nathan Guse
06720fb0d7
[ticket/11435] Enable spacing test as it should now pass
...
PHPBB3-11435
2013-05-20 11:46:08 -05:00
Nathan Guse
9fab868f0f
Merge remote-tracking branch 'remotes/cyberalien/ticket/11482' into develop
...
# By Vjacheslav Trushkin
# Via Vjacheslav Trushkin
* remotes/cyberalien/ticket/11482:
[ticket/11482] Use double quotes for code
[ticket/11482] Unit tests for advanced DEFINE
[ticket/11482] Implementation of advanced DEFINE tag
2013-05-20 10:47:45 -05:00
Nathaniel Guse
9608d9bf1e
[ticket/11519] Rename test event template file
...
As requested by Oleg
https://github.com/phpbb/phpbb3/pull/1340#issuecomment-17306967
PHPBB3-11519
2013-05-04 11:45:49 -05:00
Nathaniel Guse
356bc00a29
[ticket/11435] Mark extension spacing test as incomplete
...
This test fails until 11435 is fixed
Add newlines at EOF
PHPBB3-11435
2013-04-30 23:21:50 -05:00
Nathan Guse
ab87fe7982
[ticket/11435] Create test to make sure template/event output is equal
...
PHPBB3-11435
2013-04-25 15:26:59 -05:00
Nathan Guse
6801e36def
[ticket/11435] Fix comments in events test
...
PHPBB3-11435
2013-04-25 15:26:59 -05:00
Vjacheslav Trushkin
5e8d92b0a8
[ticket/11482] Unit tests for advanced DEFINE
...
Unit tests for advanced DEFINE and ENDDEFINE
PHPBB3-11482
2013-04-10 09:00:34 +03:00
Marc Alexander
dd5963eabb
[ticket/11323] Enable tests for inclusion of defined variables
...
PHPBB3-11323
2013-02-19 16:08:36 +01:00
Oleg Pudeyev
62279d46a6
Merge PR #1194 branch 'develop-olympus' into develop
...
* develop-olympus:
[ticket/11323] Add tests for inclusion of defined variables
2013-01-13 20:13:17 -05:00
Marc Alexander
4c50a35b62
[ticket/11323] Add tests for inclusion of defined variables
...
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
2013-01-14 01:14:29 +01:00
Oleg Pudeyev
d42d71b47d
[feature/template-events] Test for event that is defined in parent style only.
...
PHPBB3-9550
2012-11-17 16:42:44 -05:00
Oleg Pudeyev
5f88bbbef3
[feature/template-events] Specify style names, add inheritance tests.
...
PHPBB3-9550
2012-11-17 16:42:44 -05:00
Oleg Pudeyev
21a244543d
[feature/template-events] Normalize expected directory trees.
...
PHPBB3-9550
2012-11-17 16:42:43 -05:00
Oleg Pudeyev
0e6d12dfc4
[feature/template-events] Allow dataset to be correctly selectable.
...
PHPBB3-9550
2012-11-17 16:42:43 -05:00
Oleg Pudeyev
99d93a3f0f
[feature/template-events] Dataset for template event testing with inheritance.
...
PHPBB3-9550
2012-11-17 16:42:43 -05:00
Oleg Pudeyev
44d6dc4c4c
[feature/template-events] Convert a single style name to array of them.
...
This allows template code to know the entire style hierarchy for
templates being rendered.
PHPBB3-9550
2012-11-17 16:42:40 -05:00
Oleg Pudeyev
0a29312d83
[feature/template-events] Chase dependency injection for template context.
...
PHPBB3-9550
2012-11-17 16:40:01 -05:00
Oleg Pudeyev
9a7c8721ce
[feature/template-events] Adjust template events test to use the dataset.
...
PHPBB3-9550
2012-11-17 16:40:00 -05:00
Oleg Pudeyev
48adf8c5de
[feature/template-events] Create a dataset for template event tests.
...
Having all files in one directory is too much of a mess.
PHPBB3-9550
2012-11-17 16:40:00 -05:00
Oleg Pudeyev
0df0c6199b
[feature/template-events] Switch template event test to data providers.
...
PHPBB3-9550
2012-11-17 16:39:59 -05:00
Oleg Pudeyev
667f8d581f
[feature/template-events] Add a universal template event test.
...
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
2012-11-17 16:39:59 -05:00
Oleg Pudeyev
f46f48a2cf
[feature/template-events] Chase template/style renames and changes.
...
PHPBB3-9550
2012-11-17 16:39:58 -05:00
Vjacheslav Trushkin
db688c2574
[feature/template-events] Template events unit test
...
Adding template events test
PHPBB3-9550
2012-11-17 16:39:58 -05:00
Igor Wiedler
b5e069f879
Merge remote-tracking branch 'p/ticket/10933' into develop
...
* 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.
2012-11-17 19:49:03 +01:00
Nils Adermann
f0cfae1f01
Merge pull request #881 from Fyorl/ticket/10970
...
Allow INCLUDE template macros to accept paths of the form {FOO}/a/{BAR}/c
2012-11-10 07:46:50 -08:00
Oleg Pudeyev
a7babc211c
[ticket/11159] static public is the currently approved order.
...
PHPBB3-11159
2012-11-06 10:41:06 -05:00
Oleg Pudeyev
b878d5daa9
[ticket/10933] Update template locator test to use style resource locator.
...
There is no reason for it to go through a template instance to test
resource locator functionality.
PHPBB3-10933
2012-11-02 19:39:07 -04:00
Oleg Pudeyev
767d09227b
[ticket/10933] Dependency inject template context.
...
PHPBB3-10933
2012-11-02 18:51:35 -04:00
Oleg Pudeyev
c3fb0f359c
[ticket/10933] Specify empty template path for absolute includephp test.
...
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
2012-11-02 18:06:21 -04:00
Andreas Fischer
d3bbde69c4
[ticket/10973] Drop all require_once for mocks. Use autoloading.
...
PHPBB3-10973
2012-07-08 22:57:23 +02:00
Fyorl
d0cb5bb093
[ticket/10970] Added support for forms such as {FOO}bar.{EXT}
...
PHPBB3-10970
2012-07-08 20:41:22 +01:00
Fyorl
d589623906
[ticket/10970] Paths of the form {FOO}/a/{BAR}/b parsed correctly
...
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
2012-07-08 20:41:00 +01:00
Oleg Pudeyev
d8946e74de
Merge PR #778 branch 'cyberalien/ticket/10800' into develop
...
* cyberalien/ticket/10800:
[ticket/10800] Changing html to js for includejs tests
[ticket/10800] Changing template paths in tests
2012-06-11 20:02:35 -04:00
Oleg Pudeyev
241033ae88
[ticket/10882] Fix test name - oops.
...
PHPBB3-10882
2012-06-11 18:50:05 -04:00
Oleg Pudeyev
56b2b87423
[ticket/10882] Add a test for including a nonexistent file.
...
PHPBB3-10882
2012-05-10 03:36:58 -04:00
Oleg Pudeyev
720d07c9b3
[ticket/10882] Add test for an ENDIF without IF.
...
PHPBB3-10882
2012-05-10 03:28:54 -04:00
Oleg Pudeyev
9a38a034e5
[ticket/10882] Add test for an invalid template tag.
...
PHPBB3-10882
2012-05-10 03:28:35 -04:00
Vjacheslav Trushkin
5114edcafe
[ticket/10800] Changing html to js for includejs tests
...
Changing .html to .js files for includejs tests
PHPBB3-10800
2012-05-01 17:41:46 +03:00
Vjacheslav Trushkin
51347ebc09
[ticket/10800] Changing template paths in tests
...
Changing template paths in tests from absolute to relative
PHPBB3-10800
2012-04-29 00:30:08 +03:00
Vjacheslav Trushkin
d91abbb146
[ticket/10756] Renaming phpbb_style_template to phpbb_template
...
Renaming phpbb_style_template to phpbb_template
PHPBB3-10756
2012-04-19 04:25:25 +02:00
Vjacheslav Trushkin
6cecc91326
[ticket/10756] Removing path provider from template class
...
Removing path provider from template class because it is not used by template class
PHPBB3-10756
2012-04-19 04:21:56 +02:00
Vjacheslav Trushkin
ef295a2860
[ticket/10756] Renaming template classes
...
Renaming template classes from phpbb_style_template_ to phpbb_template_
PHPBB3-10756
2012-04-19 04:15:11 +02:00
Nils Adermann
8a1d084d6d
[ticket/10783] Correctly add assets_version config var to includejs urls
...
PHPBB3-10783
2012-04-13 04:08:21 +02:00
Vjacheslav Trushkin
2d9d8d3673
[ticket/10665] New test class for templates with tree
...
New parent template test class for tests that use styles tree
PHPBB3-10665
2012-04-01 20:37:45 +03:00
Vjacheslav Trushkin
b548389207
Merge remote-tracking branch 'upstream/develop' into ticket/10665
...
* 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
2012-04-01 19:28:37 +03:00
Vjacheslav Trushkin
eaba2ed9ca
[ticket/10733] Fixing test
...
Changing expected and result in locator test
PHPBB3-10733
2012-04-01 19:20:42 +03:00
Vjacheslav Trushkin
f5bac7686b
[ticket/10733] Removing static from data providers
...
Removing static from data provider functions
PHPBB3-10733
2012-04-01 19:14:53 +03:00
Vjacheslav Trushkin
4b2ede433e
[ticket/10665] INCLUDEJS unit test
...
Adding INLCUDEJS test
PHPBB3-10665
2012-04-01 11:17:13 +03:00
Vjacheslav Trushkin
38c988fb59
[ticket/10665] Changing template compiler test
...
Adding new constructor parameters to template compiler test
PHPBB3-10665
2012-04-01 11:16:57 +03:00
Vjacheslav Trushkin
2509853ca5
[ticket/10733] Adding test for locator
...
Adding test for $template->locate
PHPBB3-10733
2012-04-01 09:53:23 +03:00