| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
* develop-olympus:
[ticket/10052] Add comments to the session testable factory.
[ticket/10052] Correct session tests, and separate session factory from tests
|
| | |
| | |
| | |
| | | |
PHPBB3-10052
|
| | |
| | |
| | |
| | | |
PHPBB3-10052
|
|\ \ \
| |/ /
| | /
| |/
|/|
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
PHPBB3-10049
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
PHPBB3-10049
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
* 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
|
| |
| |
| |
| | |
PHPBB3-10043
|
| |
| |
| |
| | |
PHPBB3-10043
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
PHPBB3-9596
|
| |
| |
| |
| | |
PHPBB3-9596
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
PHPBB3-9596
|
| |
| |
| |
| | |
PHPBB3-9596
|
| |
| |
| |
| | |
PHPBB3-9596
|
| |
| |
| |
| |
| |
| |
| | |
Added a number of tests for the locking mechanism which can now lock
arbitrary config variables.
PHPBB3-9596
|
| |
| |
| |
| | |
PHPBB3-9596
|
| |
| |
| |
| | |
PHPBB3-9596
|
| |
| |
| |
| | |
PHPBB3-10013
|
| |
| |
| |
| | |
PHPBB3-10013
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| |
| | |
* develop-olympus:
[ticket/9949] Unit tests for user::lang()
[ticket/9949] $user->lang() uses last int-value to get the key not first
|
| |\
| | |
| | |
| | |
| | |
| | | |
* ticket/nickvergessen/9949:
[ticket/9949] Unit tests for user::lang()
[ticket/9949] $user->lang() uses last int-value to get the key not first
|
| | |
| | |
| | |
| | | |
PHPBB3-9949
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* ticket/nickvergessen/9823:
[ticket/9823] Replace 0x80000000 with -2147483648 in tests.
[ticket/9823] Move mock file into the mock/ folder.
[ticket/9823] Update Unit tests to the new system and correct some minor issues
[ticket/9823] Update copyright year and add newline at the end of the file.
[ticket/9823] Correct unit-tests to use self:: instead of the class-name.
[ticket/9823] Unit tests for validate_config_vars.
[ticket/9823] Unit tests for build_cfg_template.
[ticket/9823] Unit tests for validate_rang.
[ticket/9823] Unit tests for h_radio.
[ticket/9823] Moving the functions. Unit tests for build_select.
Conflicts:
phpBB/adm/index.php
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
See 181f2551cfc82e119d73f462268813d18de06097
PHPBB3-9823
|
| | | |
| | | |
| | | |
| | | | |
PHPBB3-9823
|
| | | |
| | | |
| | | |
| | | | |
PHPBB3-9823
|
| | | |
| | | |
| | | |
| | | | |
PHPBB3-9823
|
| | | |
| | | |
| | | |
| | | | |
PHPBB3-9823
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix some documentations and use the $max-var instead of the magic-number
in validate_config_vars.
PHPBB3-9823
|
| | | |
| | | |
| | | |
| | | | |
PHPBB3-9823
|
| | | |
| | | |
| | | |
| | | | |
PHPBB3-9823
|
| | | |
| | | |
| | | |
| | | | |
PHPBB3-9823
|
| | | |
| | | |
| | | |
| | | | |
PHPBB3-9823
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Apply the `__DIR__` fix to some remaining Ascraeus tests
PHPBB3-10011
|
|\ \ \ \
| |/ / /
|/| / /
| |/ /
| | |
| | |
| | |
| | | |
* develop-olympus:
[ticket/10011] Tests don't work on PHP < 5.3
Conflicts:
tests/security/redirect_test.php
|
| |/
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
* develop-olympus:
[task/session-tests] Renamed assertSqlResultEquals and fixed its param order
[task/session-tests] Test additional combinations of session_begin.
[task/session-tests] Added tests for the session class.
Conflicts:
tests/mock/cache.php
|
| |
| |
| |
| | |
PHPBB3-9732
|
| |
| |
| |
| | |
PHPBB3-9732
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* develop-olympus:
[ticket/9933] Remove empty word check.
[ticket/9933] Add $use_unicode parameter to get_censor_preg_expression().
[ticket/9933] Adjust word censor regex for non-unicode mode.
Conflicts:
phpBB/includes/functions.php
Also remove static $unicode_support.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Rename $unicode to $unicode_support, pass in $use_unicode defaulting to true.
In unit tests we can now pass in $use_unicode as false and also test the code
path that is taken when PCRE does not support unicode.
PHPBB3-9933
|