aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'ticket/naderman/10080' into developNils Adermann2011-03-071-0/+9
|\ | | | | | | | | * ticket/naderman/10080: [ticket/10080] Allow resetting the request instance used by request_var.
| * [ticket/10080] Allow resetting the request instance used by request_var.Nils Adermann2011-03-071-0/+9
| | | | | | | | PHPBB3-10080
* | Merge branch 'develop-olympus' into developNils Adermann2011-03-073-206/+47
|\ \ | | | | | | | | | | | | | | | * develop-olympus: [ticket/10081] remove $phpEx. [ticket/10081] Cleanup Template Tests.
| * | [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
* | | Merge branch 'ticket/naderman/10011' into developAndreas Fischer2011-03-071-3/+3
|\ \ \ | |_|/ |/| | | | | | | | * ticket/naderman/10011: [ticket/10011] Removing __DIR__ uses I missed in previous commit
| * | [ticket/10011] Removing __DIR__ uses I missed in previous commitNils Adermann2011-03-071-3/+3
| | | | | | | | | | | | PHPBB3-10011
* | | Merge branch 'ticket/naderman/10011' into developAndreas Fischer2011-03-072-7/+7
|\ \ \ | |/ / | | | | | | | | | * ticket/naderman/10011: [ticket/10011] Removing __DIR__ for PHP5.2 compatability from new files.
| * | [ticket/10011] Removing __DIR__ for PHP5.2 compatability from new files.Nils Adermann2011-03-072-7/+7
| | | | | | | | | | | | PHPBB3-10011
* | | Merge branch 'develop-olympus' into developAndreas Fischer2011-03-071-0/+4
|\ \ \ | |/ / |/| / | |/ | | * develop-olympus: [ticket/10040] Ensure the test suite runs on PHP 5.2 without E_DEPRECATED.
| * [ticket/10040] Ensure the test suite runs on PHP 5.2 without E_DEPRECATED.Nils Adermann2011-03-071-0/+4
| | | | | | | | PHPBB3-10040
* | Merge branch 'ticket/9549' into developOleg Pudeyev2011-03-012-0/+310
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ticket/9549: [ticket/9549] Display users in their primary group instead of their first group [ticket/9549] Change default value of "sort legend by group name" to false. [ticket/9549] Fix displaying empty groups [ticket/9549] Fix language strings. [ticket/9549] Only add group to legend/teampage when the checkbox is checked. [ticket/9549] New method move() to move a group more than 1 up/down. [ticket/9549] Fix some minor issues with descriptions and coding-guidelines. [ticket/9549] Throw an error when the given field-name is invalid. [ticket/9549] Make the class non static and extend delete_group function. [ticket/9549] Add template changes for subsilver2. [ticket/9549] Enhance teampage and legend functionality [ticket/9549] Add the module and files for the ACP. [ticket/9549] Update database with the new config values and columns [ticket/9549] Enhance teampage functionality with a new class, group_positions. Conflicts: phpBB/install/database_update.php
| * | [ticket/9549] New method move() to move a group more than 1 up/down.Joas Schilling2011-02-161-0/+59
| | | | | | | | | | | | PHPBB3-9549
| * | [ticket/9549] Fix some minor issues with descriptions and coding-guidelines.Joas Schilling2011-02-161-1/+1
| | | | | | | | | | | | PHPBB3-9549
| * | [ticket/9549] Make the class non static and extend delete_group function.Joas Schilling2011-02-161-10/+31
| | | | | | | | | | | | | | | | | | | | | delete_group() can now be used, so it does not update the actual group. This can save a query, when you update the group anyway. PHPBB3-9549
| * | [ticket/9549] Enhance teampage functionality with a new class, group_positions.Joas Schilling2011-02-162-0/+230
| | | | | | | | | | | | PHPBB3-9549
* | | Merge branch 'develop-olympus' into developIgor Wiedler2011-02-272-17/+45
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [task/session-tests] Make result check independent of returned row order. [task/session-tests] By default the cache check now skips over db server info [task/session-tests] Correctly display message on session continue test failure [task/session-tests] Make the session id replacement of dataset values clearer Conflicts: tests/mock/cache.php
| * | [task/session-tests] Make result check independent of returned row order.Nils Adermann2011-02-271-3/+4
| | | | | | | | | | | | PHPBB3-9732
| * | [task/session-tests] By default the cache check now skips over db server infoNils Adermann2011-02-271-2/+9
| | | | | | | | | | | | PHPBB3-9732
| * | [task/session-tests] Correctly display message on session continue test failureNils Adermann2011-02-271-1/+1
| | | | | | | | | | | | PHPBB3-9732
| * | [task/session-tests] Make the session id replacement of dataset values clearerNils Adermann2011-02-271-12/+32
| | | | | | | | | | | | PHPBB3-9732
* | | Merge branch 'develop-olympus' into developAndreas Fischer2011-02-251-1/+1
|\ \ \ | |/ / | | | | | | | | | * develop-olympus: [ticket/10060] Fix test suite under MySQL
| * | [ticket/10060] Fix test suite under MySQLIgor Wiedler2011-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | Regression from PHPBB3-10043, a typo caused the database tests to fail under MySQL. PHPBB3-10060
* | | Merge branch 'develop-olympus' into developNils Adermann2011-02-246-78/+274
|\ \ \ | |/ / | | | | | | | | | | | | * develop-olympus: [ticket/10052] Add comments to the session testable factory. [ticket/10052] Correct session tests, and separate session factory from tests
| * | [ticket/10052] Add comments to the session testable factory.Nils Adermann2011-02-232-7/+60
| | | | | | | | | | | | PHPBB3-10052
| * | [ticket/10052] Correct session tests, and separate session factory from testsNils Adermann2011-02-235-78/+165
| | | | | | | | | | | | PHPBB3-10052
* | | Merge branch 'develop-olympus' into developAndreas Fischer2011-02-203-12/+15
|\ \ \ | |/ / | | / | |/ |/| | | | | | | | | | | * develop-olympus: [ticket/10049] Mark session init test incomplete for now. [ticket/10049] Mark session continue test incomplete for now. [ticket/10049] Globalize $_SID. [ticket/10049] Chase assertResultEquals rename. [ticket/10049] Fixed requires in session tests and mock. [ticket/10049] Renamed session test files to proper file names.
| * [ticket/10049] Mark session init test incomplete for now.Oleg Pudeyev2011-02-201-0/+2
| | | | | | | | | | | | | | This test passes by itself but fails when run as part of the compete suite. Mark it incomplete to avoid breaking the suite. PHPBB3-10049
| * [ticket/10049] Mark session continue test incomplete for now.Oleg Pudeyev2011-02-201-0/+2
| | | | | | | | | | | | | | I am unable to find any code revision in which this test worked. Thus to not break the entire suite I mark it incomplete. PHPBB3-10049
| * [ticket/10049] Globalize $_SID.Oleg Pudeyev2011-02-191-0/+1
| | | | | | | | PHPBB3-10049
| * [ticket/10049] Chase assertResultEquals rename.Oleg Pudeyev2011-02-192-4/+4
| | | | | | | | | | | | | | | | | | | | | | cd694e9b9dfd59c8be00a52b30db8e6c280b97a9 renamed assertResultEquals to assertSqlResultEquals. However, since the session tests were never executed calls in them were never updated. Parameter order also changed; chase that too. PHPBB3-10049
| * [ticket/10049] Fixed requires in session tests and mock.Oleg Pudeyev2011-02-193-8/+6
| | | | | | | | PHPBB3-10049
| * [ticket/10049] Renamed session test files to proper file names.Oleg Pudeyev2011-02-192-0/+0
| | | | | | | | | | | | | | | | phpunit.xml.dist specifies that only files ending in _test.php are test files; with the old names session tests were not run as a result. PHPBB3-10049
* | Merge branch 'develop-olympus' into developNils Adermann2011-02-163-273/+359
|\ \ | |/ | | | | | | | | | | | | * develop-olympus: [task/refactor-db-testcase] Further improve error messages. [task/refactor-db-testcase] Do not show db password on connect error [task/refactor-db-testcase] Improve error message of db tests [task/refactor-db-testcase] Refactor phpbb_database_test_case
| * [task/refactor-db-testcase] Further improve error messages.Oleg Pudeyev2011-02-151-2/+2
| | | | | | | | PHPBB3-10043
| * [task/refactor-db-testcase] Do not show db password on connect errorIgor Wiedler2011-02-141-1/+2
| | | | | | | | PHPBB3-10043
| * [task/refactor-db-testcase] Improve error message of db testsIgor Wiedler2011-02-141-2/+11
| | | | | | | | | | | | | | | | | | | | | | If database tests cannot be run the error message is ambigous. This commit makes it clearer: - whether the supplied dbms is supported by us - which dbms are supported by us - whether the required PDO extension is loaded PHPBB3-10043
| * [task/refactor-db-testcase] Refactor phpbb_database_test_caseIgor Wiedler2011-02-143-273/+349
| | | | | | | | | | | | | | | | | | Move most of the methods to a separate connection manager class. The test case creates a manager to handle database creation, schema loading and more. Most of the methods could be simplified because they can access shared pdo, config and dbms data. PHPBB3-10043
* | [feature/system-cron] More tests for cron manager.Oleg Pudeyev2011-02-124-0/+55
| | | | | | | | PHPBB3-9596
* | [feature/system-cron] Rename lock() to acquire and unlock() to release.Nils Adermann2011-02-121-13/+13
| | | | | | | | PHPBB3-9596
* | [feature/system-cron] Cache cron's task names.Nils Adermann2011-02-123-8/+70
| | | | | | | | | | | | | | | | Instead of using a path relative to phpbb_root_path the path to the task directory is directly passed to the cron manager. Dummy tasks are now in the tests directory directly. PHPBB3-9596
* | [feature/system-cron] Use a RecursiveDirectoryIterator instead of readdir.Nils Adermann2011-02-121-1/+1
| | | | | | | | PHPBB3-9596
* | [feature/system-cron] Make use of the new config class in locks.Nils Adermann2011-02-121-11/+27
| | | | | | | | PHPBB3-9596
* | [feature/system-cron] Fix duplicate instantiation of class loader in tests.Nils Adermann2011-02-121-5/+0
| | | | | | | | PHPBB3-9596
* | [feature/system-cron] Abstract the database locking mechanism out of cron.Nils Adermann2011-02-122-0/+80
| | | | | | | | | | | | | | Added a number of tests for the locking mechanism which can now lock arbitrary config variables. PHPBB3-9596
* | [feature/system-cron] Move tests to phpunit.xml and always load class loaderNils Adermann2011-02-123-59/+12
| | | | | | | | PHPBB3-9596
* | [feature/system-cron] Basic tests for cron manager.Oleg Pudeyev2011-02-122-0/+98
| | | | | | | | PHPBB3-9596
* | [ticket/10013] Use mkdir to create directory trees.Oleg Pudeyev2011-02-121-5/+1
| | | | | | | | PHPBB3-10013
* | [ticket/10013] Fixed cache test to create intermediate directories.Oleg Pudeyev2011-02-122-2/+11
| | | | | | | | PHPBB3-10013
* | [ticket/10013] Changed cache test to use tests/tmp/cache as cache directoryOleg Pudeyev2011-02-122-4/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first step of making the test suite use a single directory for writing files to, this directory being tests/tmp. The cache test, instead of tests/cache/tmp, now writes to tests/tmp/cache. Also remove cache directory in setUp method, in case an earlier test run did not complete successfully and the cache directory was not cleaned up. Finally, this change makes the cache test take responsibility over the entire contents of its cache directory. PHPBB3-10013