aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | [ticket/10838] separate database used mentioned in unit testsDhruv2013-07-021-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Separate database used for tests which is deleted each time tests are run information is added to unit tests. PHPBB3-10838
| | * | | [ticket/10838] Updated RUNNING_TESTS.mdDhruv2013-06-271-0/+36
| | |/ / | | | | | | | | | | | | PHPBB3-10838
* | | | Merge remote-tracking branch 'dhruvgoel92/ticket/9341' into developJoas Schilling2013-06-293-101/+140
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dhruvgoel92/ticket/9341: [ticket/9341] Assert that page doesnt contain next or prev page posts [ticket/9341] Follow the Next/Prev link in tests follow the next/prev link and then assert if the page contains its last post or not [ticket/9341] remove PREV_PAGE tpl var used for backward compatability [ticket/9341] Add tests for checking Next and Previous template vars [ticket/9341] Move create_topic and post into functional test case [ticket/9341] Use U_PREVIOUS and U_NEXT in template files [ticket/9341] Correctly named template vars
| * | | | [ticket/9341] Assert that page doesnt contain next or prev page postsDhruv2013-06-281-1/+3
| | | | | | | | | | | | | | | | | | | | PHPBB3-9341
| * | | | [ticket/9341] Follow the Next/Prev link in testsDhruv2013-06-281-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | follow the next/prev link and then assert if the page contains its last post or not PHPBB3-9341
| * | | | [ticket/9341] Add tests for checking Next and Previous template varsDhruv2013-06-271-0/+33
| | | | | | | | | | | | | | | | | | | | PHPBB3-9341
| * | | | [ticket/9341] Move create_topic and post into functional test caseDhruv2013-06-272-101/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | create_topic and create_post are moved into functional test case so that they can be used by other tests as well PHPBB3-9341
* | | | | Merge branch 'develop-olympus' into developAndreas Fischer2013-06-271-4/+15
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/11618] Replace glob() with scandir() and string matching Conflicts: tests/template/template_test.php
| * | | | Merge remote-tracking branch 'Hardolaf/ticket/11618' into develop-olympusAndreas Fischer2013-06-271-4/+15
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * Hardolaf/ticket/11618: [ticket/11618] Replace glob() with scandir() and string matching
| | * | | | [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 'asperous/ticket/11615/creation_test' into ↵Andreas Fischer2013-06-271-3/+4
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop-olympus * asperous/ticket/11615/creation_test: [ticket/11615] Fix typo in creation_test [ticket/11615] Remove magic number in creation_test [ticket/11615] Rename class in file to match [ticket/11615] Rename init_test to creation_test for clarity
* | | | | Merge branch 'develop-olympus' into developAndreas Fischer2013-06-271-3/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/11615] Fix typo in creation_test [ticket/11615] Remove magic number in creation_test [ticket/11615] Rename class in file to match [ticket/11615] Rename init_test to creation_test for clarity
| * \ \ \ \ Merge remote-tracking branch 'asperous/ticket/11615/creation_test' into ↵Andreas Fischer2013-06-271-3/+4
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop-olympus * asperous/ticket/11615/creation_test: [ticket/11615] Fix typo in creation_test [ticket/11615] Remove magic number in creation_test [ticket/11615] Rename class in file to match [ticket/11615] Rename init_test to creation_test for clarity
| | * | | | [ticket/11615] Fix typo in creation_testAndy Chase2013-06-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11615
| | * | | | [ticket/11615] Remove magic number in creation_testAndy Chase2013-06-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing this magic number to its own variable with clean multiplication makes it clear what the number represents. PHPBB3-11615
| | * | | | [ticket/11615] Rename class in file to matchAndy Chase2013-06-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11615
| | * | | | [ticket/11615] Rename init_test to creation_test for clarityAndy Chase2013-06-261-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11615
* | | | | | Merge branch 'develop-olympus' into developJoas Schilling2013-06-201-10/+43
|\ \ \ \ \ \ | | |_|/ / / | |/| | / / | |_|_|/ / |/| | | | Conflicts: tests/test_framework/phpbb_functional_test_case.php
| * | | | [ticket/11604] Skip installer step where config.php is created.Andreas Fischer2013-06-191-20/+27
| | | | | | | | | | | | | | | | | | | | PHPBB3-11604
| * | | | [ticket/11604] Fix case where config.php is not generated by phpBB.Andreas Fischer2013-06-181-1/+23
| | | | | | | | | | | | | | | | | | | | PHPBB3-11604
| * | | | [ticket/11604] Use variables for config.php filesnames.Andreas Fischer2013-06-181-6/+10
| |/ / / | | | | | | | | | | | | PHPBB3-11604
* | | | Merge remote-tracking branch 'nickvergessen/ticket/11561' into developDhruv2013-06-181-0/+8
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | # By Joas Schilling # Via Joas Schilling * nickvergessen/ticket/11561: [ticket/11561] Specify used tables in notification fixture, so they are emptied
| * | | [ticket/11561] Specify used tables in notification fixture, so they are emptiedJoas Schilling2013-06-181-0/+8
| | | | | | | | | | | | | | | | PHPBB3-11561
* | | | Merge branch 'develop' into ticket/10820-developDhruv2013-06-1315-31/+926
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Marc Alexander (10) and Joas Schilling (2) # Via Andreas Fischer (3) and Joas Schilling (1) * develop: [ticket/11605] Remove unused copied_files property [ticket/11605] Use empty_dir to better delete files and dirs of extensions [ticket/11579] Add method for validating emails for valid MX and mark as slow [ticket/11579] Do not extend validate_data_helper [ticket/11579] Add missing commas to validate_username_test [ticket/11579] Rework calls to validate_data_helper [ticket/11579] Move simple tests into seperate files [ticket/11579] Use test case helper class and use assert prefix for method [ticket/11579] Move tests into seperate files depending on needed fixture [ticket/11579] Remove unnecessary globals from validate_password() [ticket/11579] Add remaining unit tests for validate_data functions [ticket/11579] Add basic set of unit tests for validate_data()
| * \ \ \ Merge branch 'develop-olympus' into developAndreas Fischer2013-06-1114-0/+918
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/11579] Add method for validating emails for valid MX and mark as slow [ticket/11579] Do not extend validate_data_helper [ticket/11579] Add missing commas to validate_username_test [ticket/11579] Rework calls to validate_data_helper [ticket/11579] Move simple tests into seperate files [ticket/11579] Use test case helper class and use assert prefix for method [ticket/11579] Move tests into seperate files depending on needed fixture [ticket/11579] Remove unnecessary globals from validate_password() [ticket/11579] Add remaining unit tests for validate_data functions [ticket/11579] Add basic set of unit tests for validate_data() Conflicts: tests/mock/cache.php
| | * | | Merge remote-tracking branch 'marc1706/ticket/11579' into develop-olympusAndreas Fischer2013-06-1114-0/+918
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * marc1706/ticket/11579: [ticket/11579] Add method for validating emails for valid MX and mark as slow [ticket/11579] Do not extend validate_data_helper [ticket/11579] Add missing commas to validate_username_test [ticket/11579] Rework calls to validate_data_helper [ticket/11579] Move simple tests into seperate files [ticket/11579] Use test case helper class and use assert prefix for method [ticket/11579] Move tests into seperate files depending on needed fixture [ticket/11579] Remove unnecessary globals from validate_password() [ticket/11579] Add remaining unit tests for validate_data functions [ticket/11579] Add basic set of unit tests for validate_data()
| | | * | | [ticket/11579] Add method for validating emails for valid MX and mark as slowMarc Alexander2013-06-051-3/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A method for setting up the prerequisities also has been added in order to reduce the amount of necessary code. PHPBB3-11579
| | | * | | [ticket/11579] Do not extend validate_data_helperMarc Alexander2013-06-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11579
| | | * | | [ticket/11579] Add missing commas to validate_username_testMarc Alexander2013-06-031-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11579
| | | * | | [ticket/11579] Rework calls to validate_data_helperMarc Alexander2013-06-0310-232/+344
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11579
| | | * | | [ticket/11579] Move simple tests into seperate filesMarc Alexander2013-06-037-251/+366
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11579
| | | * | | [ticket/11579] Use test case helper class and use assert prefix for methodMarc Alexander2013-06-035-95/+100
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11579
| | | * | | [ticket/11579] Move tests into seperate files depending on needed fixtureMarc Alexander2013-05-308-499/+594
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11579
| | | * | | [ticket/11579] Add remaining unit tests for validate_data functionsMarc Alexander2013-05-304-62/+375
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This now includes tests for usernames, passwords, emails, and jabber addresses. A few small changes had to be applied to phpbb_mock_cache and phpbb_mock_user in order to incorporate needed methods. PHPBB3-11579
| | | * | | [ticket/11579] Add basic set of unit tests for validate_data()Marc Alexander2013-05-291-0/+252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This currently includes tests for the string, num, date, match, and language iso validation functions. PHPBB3-11579
| * | | | | Merge remote-tracking branch 'nickvergessen/ticket/11605' into developAndreas Fischer2013-06-111-31/+8
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nickvergessen/ticket/11605: [ticket/11605] Remove unused copied_files property [ticket/11605] Use empty_dir to better delete files and dirs of extensions
| | * | | | | [ticket/11605] Remove unused copied_files propertyJoas Schilling2013-06-111-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11605
| | * | | | | [ticket/11605] Use empty_dir to better delete files and dirs of extensionsJoas Schilling2013-06-111-23/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11605
* | | | | | | Merge branch 'develop' into ticket/10820-developDhruv2013-06-1382-344/+3667
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Joas Schilling (146) and others # Via Andreas Fischer (50) and others * develop: (356 commits) [ticket/11599] Copy the forums into a static array for later reuse [ticket/11602] Do not call localize_errors() if avatars are disabled [ticket/11601] Add protected method for database sync and call it [ticket/11601] Split post_setup_synchronisation logic from xml parsing [ticket/11550] Specify a valid path so it's clearer that it must be a path [ticket/11550] Move comments to correct function [ticket/11550] We use a different fixture set for extension_acp_test.php [ticket/11550] Fixtures should only be directories not files [ticket/11550] Use new functionality from the test case helpers [ticket/11550] Move functionality for copying/restoring to test case helpers [ticket/11550] Fix copying the fixtures in extension_permission_lang_test.php [ticket/11543] Add more users so #hidden <> #normal [ticket/11590] Close database connections when tearDown() is called [ticket/develop/11543] Use plurals in develop [ticket/11543] Use correct IP addresses and inject time for correct values [ticket/11543] Add unit tests for obtain_users_online_string() [ticket/11543] Add unit tests for obtain_users_online() with empty forum [ticket/11543] Add unit tests for obtain_users_online() [ticket/11543] Add unit tests for obtain_guest_count() [ticket/11481] Move prepended slash from calls into function ...
| * | | | | | [ticket/11599] Copy the forums into a static array for later reuseJoas Schilling2013-06-111-17/+42
| |/ / / / / | | | | | | | | | | | | | | | | | | PHPBB3-11599
| * | | | | Merge branch 'develop-olympus' into developAndreas Fischer2013-06-112-3/+39
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/11601] Add protected method for database sync and call it [ticket/11601] Split post_setup_synchronisation logic from xml parsing
| | * | | | Merge remote-tracking branch 'nickvergessen/ticket/11601' into develop-olympusAndreas Fischer2013-06-112-3/+39
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nickvergessen/ticket/11601: [ticket/11601] Add protected method for database sync and call it [ticket/11601] Split post_setup_synchronisation logic from xml parsing
| | | * | | | [ticket/11601] Add protected method for database sync and call itJoas Schilling2013-06-111-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11601
| | | * | | | [ticket/11601] Split post_setup_synchronisation logic from xml parsingJoas Schilling2013-06-111-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11601
| | * | | | | Merge remote-tracking branch 'remotes/nickv/ticket/11543' into develop-olympusNathaniel Guse2013-06-072-0/+359
| | |\ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Joas Schilling # Via Joas Schilling * remotes/nickv/ticket/11543: [ticket/11543] Add more users so #hidden <> #normal [ticket/11543] Use correct IP addresses and inject time for correct values [ticket/11543] Add unit tests for obtain_users_online_string() [ticket/11543] Add unit tests for obtain_users_online() with empty forum [ticket/11543] Add unit tests for obtain_users_online() [ticket/11543] Add unit tests for obtain_guest_count()
| * | | | | | Merge remote-tracking branch 'nickvergessen/ticket/11550' into developAndreas Fischer2013-06-116-194/+88
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nickvergessen/ticket/11550: [ticket/11550] Specify a valid path so it's clearer that it must be a path [ticket/11550] Move comments to correct function [ticket/11550] We use a different fixture set for extension_acp_test.php [ticket/11550] Fixtures should only be directories not files [ticket/11550] Use new functionality from the test case helpers [ticket/11550] Move functionality for copying/restoring to test case helpers [ticket/11550] Fix copying the fixtures in extension_permission_lang_test.php
| | * | | | | | [ticket/11550] Specify a valid path so it's clearer that it must be a pathJoas Schilling2013-06-112-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11550
| | * | | | | | [ticket/11550] Move comments to correct functionJoas Schilling2013-06-116-40/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11550
| | * | | | | | [ticket/11550] We use a different fixture set for extension_acp_test.phpJoas Schilling2013-06-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11550
| | * | | | | | [ticket/11550] Fixtures should only be directories not filesJoas Schilling2013-06-081-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11550