aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework
Commit message (Collapse)AuthorAgeFilesLines
* [task/functional] Fixed DEBUG_TEST related issuesDavid King2012-09-011-1/+1
| | | | PHPBB3-10758
* [ticket/11034] Re-arranged install order to emulate real installFyorl2012-07-301-4/+2
| | | | PHPBB3-11034
* Merge remote-tracking branch 'Fyorl/ticket/10981' into develop-olympusAndreas Fischer2012-07-191-13/+6
|\ | | | | | | | | | | | | | | | | * Fyorl/ticket/10981: [ticket/10981] Added check for PHP version before running composer [ticket/10981] Modified travis to use composer with --dev [ticket/10981] Removed setupBeforeClass [ticket/10981] Modified functional framework to account for goutte changes [ticket/10981] Added goutte via composer
| * [ticket/10981] Removed setupBeforeClassFyorl2012-07-171-8/+0
| | | | | | | | PHPBB3-10981
| * [ticket/10981] Modified functional framework to account for goutte changesFyorl2012-07-161-3/+6
| | | | | | | | PHPBB3-10981
| * [ticket/10981] Added goutte via composerFyorl2012-07-161-2/+0
| | | | | | | | | | | | composer.phar added and autoloaded before tests PHPBB3-10981
* | Merge remote-tracking branch 'github-noxwizard/ticket/10678' into ↵Nils Adermann2012-07-174-6/+180
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop-olympus * github-noxwizard/ticket/10678: [ticket/10678] Typo and formatting [ticket/10678] Add port handling for MSSQL tests [ticket/10678] Move config changes to new location [ticket/10678] Rename helper class file [ticket/10678] Lowercase class name, adjust comment width [ticket/10678] More formatting and docblocks [ticket/10678] More formatting requests [ticket/10678] Fix formatting [ticket/10678] Add better support for Firebird, Oracle, and MSSQL Conflicts: tests/RUNNING_TESTS.txt
| * [ticket/10678] Typo and formattingPatrick Webster2012-05-132-6/+6
| | | | | | | | PHPBB3-10678
| * [ticket/10678] Add port handling for MSSQL testsPatrick Webster2012-05-081-0/+7
| | | | | | | | PHPBB3-10678
| * [ticket/10678] Move config changes to new locationPatrick Webster2012-05-081-1/+3
| | | | | | | | PHPBB3-10678
| * [ticket/10678] Rename helper class filePatrick Webster2012-05-082-1/+1
| | | | | | | | PHPBB3-10678
| * [ticket/10678] Lowercase class name, adjust comment widthPatrick Webster2012-05-082-3/+3
| | | | | | | | PHPBB3-10678
| * [ticket/10678] More formatting and docblocksPatrick Webster2012-05-082-4/+12
| | | | | | | | PHPBB3-10678
| * [ticket/10678] More formatting requestsPatrick Webster2012-05-082-8/+5
| | | | | | | | PHPBB3-10678
| * [ticket/10678] Fix formattingPatrick Webster2012-05-083-7/+15
| | | | | | | | PHPBB3-10678
| * [ticket/10678] Add better support for Firebird, Oracle, and MSSQLPatrick Webster2012-05-083-5/+152
| | | | | | | | | | | | | | | | | | Allow ODBC connections for Firebird Capitalize fixture tables and columns for Firebird On database drop failure, drop all tables Provide cleanup utilities for databases that cannot be dropped PHPBB3-10678
* | Merge PR #856 branch 'prep-release-3.0.11' into develop-olympusOleg Pudeyev2012-07-071-1/+1
|\ \ | | | | | | | | | | | | | | | * prep-release-3.0.11: [ticket/10937] Update documentation to say which comment styles are removed. [ticket/10937] Comment removal functions: Restore backward compatibility
| * | [ticket/10937] Comment removal functions: Restore backward compatibilityAndreas Fischer2012-07-031-1/+1
| | | | | | | | | | | | PHPBB3-10937
* | | Merge remote-tracking branch 'github-p/ticket/10828' into develop-olympusNils Adermann2012-06-121-0/+15
|\ \ \ | |/ / |/| | | | | | | | * github-p/ticket/10828: [ticket/10828] Connect to postgres database by default.
| * | [ticket/10828] Connect to postgres database by default.Oleg Pudeyev2012-05-211-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | When not connecting to a specific database, connect to postgres database which specifically exists as a default database to connect to. PHPBB3-10828
* | | Merge remote-tracking branch 'github-imkingdavid/task/functional' into ↵Nils Adermann2012-05-221-1/+78
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop-olympus By David King via David King * github-imkingdavid/task/functional: [task/functional] Use proper format for @var doc blocks. [task/functional] Fix $lang_path variable [task/functional] Change property visibility, remove globals, reword comment [task/functional] Make sure missing language values are handled properly [task/functional] Increase code coverage for functional tests
| * | [task/functional] Use proper format for @var doc blocks. David King2012-05-221-2/+4
| | | | | | | | | PHPBB3-10758
| * | [task/functional] Fix $lang_path variableDavid King2012-05-221-1/+1
| | | | | | | | | | | | PHPBB3-10758
| * | [task/functional] Change property visibility, remove globals, reword commentDavid King2012-05-221-6/+6
| | | | | | | | | | | | PHPBB3-10758
| * | [task/functional] Make sure missing language values are handled properlyDavid King2012-04-241-1/+1
| | | | | | | | | | | | PHPBB3-10758
| * | [task/functional] Increase code coverage for functional testsDavid King2012-04-231-1/+76
| |/ | | | | | | PHPBB3-10758
* | [ticket/10891] Allow specifying test_config.php path via environment.Oleg Pudeyev2012-05-111-2/+12
|/ | | | PHPBB3-10891
* [ticket/10492] Backporting functional testsPatrick Webster2012-04-212-0/+176
| | | | PHPBB3-10492
* [ticket/10492] Separate config generation from the installerPatrick Webster2012-04-202-37/+50
| | | | PHPBB3-10492
* [ticket/9916] Updating License in the headerUnknown2012-01-024-4/+4
| | | | PHPBB3-9916
* Merge remote-tracking branch 'Noxwizard/ticket/10349' into develop-olympusOleg Pudeyev2011-12-031-38/+7
|\ | | | | | | | | | | | | | | | | * Noxwizard/ticket/10349: [ticket/10349] Removed duplicated functions from schema loading in tests [ticket/10349] Update function comment [ticket/10349] Use new schema comment function in installer [ticket/10349] Unit tests: Consolidate schema comment removal functions [ticket/10349] Unit tests: Remove comments while loading schema files
| * [ticket/10349] Removed duplicated functions from schema loading in testsPatrick Webster2011-10-291-43/+4
| | | | | | | | PHPBB3-10349
| * [ticket/10349] Update function commentPatrick Webster2011-09-281-2/+0
| | | | | | | | PHPBB3-10349
| * [ticket/10349] Unit tests: Consolidate schema comment removal functionsPatrick Webster2011-09-201-58/+11
| | | | | | | | PHPBB3-10349
| * [ticket/10349] Unit tests: Remove comments while loading schema filesPatrick Webster2011-09-031-1/+58
| | | | | | | | | | | | | | | | Perform the same operations that the installer does when preparing the schema files. These functions come straight from /includes/functions_install.php and /includes/functions_admin.php. PHPBB3-10349
* | [ticket/10416] Pass dbport to PDO object in ...connection_manager::connect().Andreas Fischer2011-10-161-0/+5
|/ | | | PHPBB3-10416
* [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
* [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-142-273/+348
| | | | | | | | | 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
* [ticket/10011] Tests don't work on PHP < 5.3Erik Frèrejean2011-01-311-5/+5
| | | | | | | | 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
* [task/session-tests] Renamed assertSqlResultEquals and fixed its param orderNils Adermann2011-01-211-1/+1
| | | | PHPBB3-9732
* [task/session-tests] Added tests for the session class.Nils Adermann2011-01-201-0/+11
| | | | | | | | | | | Two first simple tests to check functionality of session_begin and session_create. Added a mock class for the cache as well as a subclass of session which has its cookie handling function mocked out to avoid header sending problems. PHPBB3-9732
* [task/phpunit-xml] Manually blacklisting a few PHPUnit classes from backups.Nils Adermann2011-01-072-0/+30
| | | | | | | | | | | The blacklisting of these static variables is necessary because code coverage will otherwise consume too much memory. The problem did not exist in earlier PHPUnit versions because all classes beginning with PHPUnit are automatically blacklisted, and code coverage as well as a few other internal classes were still internal parts of PHPunit. These were now moved to PHP_ namespace, causing the problem with backupStaticAttributes. PHPBB3-9967
* [task/phpunit-xml] Use phpunit.xml for test suiteIgor Wiedler2011-01-042-48/+5
| | | | PHPBB3-9967
* [task/mssql-db-tests] Split up database tests into SELECT and write operationsNils Adermann2010-10-251-5/+5
| | | | | | | SELECT is based on the user table fixture, write (INSERT/UPDATE/DELETE) is tested using the config table fixture. PHPBB3-9868
* [task/mssql-db-tests] Add support for odbc & sqlsrv PDO test connectionsNils Adermann2010-10-251-6/+94
| | | | PHPBB3-9868
* [task/mssql-db-tests] Refactored getConnection into multiple smaller parts.Nils Adermann2010-10-251-51/+84
| | | | | | | This is a first step to simplify the extraction of database specific code parts into separate classes. PHPBB3-9868
* [task/mssql-db-tests] Allow test configuration with environment variables.Nils Adermann2010-10-251-1/+12
| | | | | | | | | To allow execution of the tests with different configurations without having to use the test_config.php file, environment variables of the form PHPBB_TEST_<name> can now be used, e.g. PHPBB_TEST_DBMS to set the variables otherwise expected in test_config.php PHPBB3-9868