Andreas Fischer
9f9e4ad3d8
Merge remote-tracking branch 'p/ticket/10309' into develop-olympus
...
* p/ticket/10309:
[ticket/10309] Update .gitignore and move .gitkeep.
2011-08-21 14:11:10 +02:00
Joas Schilling
dc149a43e4
[ticket/10321] Do not append the ? if the param-list is empty anyway.
...
PHPBB3-10321
2011-08-21 13:16:05 +02:00
Oleg Pudeyev
57accade85
[ticket/10309] Update .gitignore and move .gitkeep.
...
PHPBB3-10309
2011-08-20 14:34:02 -04:00
Andreas Fischer
106cec9a92
Merge remote-tracking branch 'p/ticket/10309' into develop-olympus
...
* p/ticket/10309:
[ticket/10309] Coding guidelines fix.
[ticket/10309] Write unicode data to tests/tmp.
2011-08-16 18:39:59 +02:00
Andreas Fischer
02a8cebd65
[ticket/9297] Add network to class name of unit tests.
...
PHPBB3-9297
2011-08-14 21:40:02 +02:00
Andreas Fischer
702985c927
[ticket/9297] Fix typo in localhost.
...
PHPBB3-9297
2011-08-14 20:55:21 +02:00
Oleg Pudeyev
a7e709d920
[ticket/9297] Rename test class to reflect its contents.
...
setUpBeforeClass logic makes this test specific to PASV/EPSV tests.
PHPBB3-9297
2011-08-14 14:47:16 -04:00
Oleg Pudeyev
2a0c9e4026
[ticket/9297] Adjust comment - IPv6 is needed for IPv6 connections to work.
...
Looks like IPv6-encapsulated IPv4 addresses do not actually work if
the host has no IPv6 connectivity.
PHPBB3-9297
2011-08-14 14:42:53 -04:00
Oleg Pudeyev
c211492092
[ticket/9297] Fix markTestSkipped call in setUpBeforeClass.
...
Need to use the static version here.
PHPBB3-9297
2011-08-14 14:33:00 -04:00
Oleg Pudeyev
2973ccbd48
[ticket/9297] Skip FTP PASV/EPSV test if FTP connection fails.
...
It is possible to configure PHP without IPv6, in which case
IPv6-encapsulated IPv4 addresses won't be accepted by PHP.
Instead of failing the test suite on such setups, skip the
offending test.
PHPBB3-9297
2011-08-14 14:11:58 -04:00
Oleg Pudeyev
386883cda1
[ticket/9297] Separate ipv4 and ipv6 tests into separate functions.
...
PHPBB3-9297
2011-08-14 13:19:09 -04:00
Andreas Fischer
7a40ab8f7a
[ticket/9297] Update copyright year of unit test file.
...
PHPBB3-9297
2011-08-14 18:17:16 +02:00
Andreas Fischer
83fa6cffc3
[ticket/9297] Make EPSV unit tests work without IPv6.
...
PHPBB3-9297
2011-08-11 23:15:33 +02:00
Andreas Fischer
18f19b03ab
[ticket/9297] Unit tests for ftp_fsock PASV and EPSV.
...
PHPBB3-9297
2011-08-11 23:15:33 +02:00
Oleg Pudeyev
3df8b214cc
[ticket/10309] Coding guidelines fix.
...
PHPBB3-10309
2011-08-09 21:16:38 -04:00
Oleg Pudeyev
f997199679
[ticket/10309] Write unicode data to tests/tmp.
...
When the tests are run by a different user than the one which owns
phpbb source tree, writes will go into a single, known directory.
PHPBB3-10309
2011-08-07 16:17:20 -04:00
Nils Adermann
e9ae88338b
Merge remote-tracking branch 'github-bantu/ticket/10265' into develop-olympus
...
* github-bantu/ticket/10265:
[ticket/10265] Move mt_rand.php to wrapper folder and add _test suffix.
2011-07-16 22:24:07 -04:00
Nils Adermann
82fa4eff7e
Merge remote-tracking branch 'github-bantu/ticket/10263' into develop-olympus
...
* github-bantu/ticket/10263:
[ticket/10263] Call phpbb_version_compare() from includes/acp/acp_main.php
[ticket/10263] Call phpbb_version_compare() from includes/acp/acp_update.php
[ticket/10263] Adding unit tests for phpbb_version_compare().
[ticket/10263] Add wrapper for version_compare() that allows the use of A and B
2011-07-16 22:21:49 -04:00
Andreas Fischer
fdfd4ce5fd
[ticket/10263] Adding unit tests for phpbb_version_compare().
...
PHPBB3-10263
2011-07-13 02:35:11 +02:00
Andreas Fischer
e11f9afdce
[ticket/10265] Move mt_rand.php to wrapper folder and add _test suffix.
...
PHPBB3-10265
2011-07-13 01:44:41 +02:00
Andreas Fischer
0e85704d75
[ticket/10243] Adding a few unit tests for phpbb_gmgetdate().
...
PHPBB3-10243
2011-07-13 00:44:10 +02:00
Nils Adermann
96eab49a7a
[ticket/10247] Add a db_tools test for the removal of a primary key column.
...
The previous drop column test already deleted the primary key, so that one was
replaced with an ordinary column.
PHPBB3-10247
2011-07-03 18:09:56 -04:00
Nils Adermann
4e0717b4d7
[ticket/9892] Correct copyright year
...
PHPBB3-9892
2011-06-12 12:26:49 +02:00
Nils Adermann
11750bdccc
[ticket/9892] Remove incorrect use of camel case
...
PHPBB3-9892
2011-06-12 12:24:57 +02:00
Nils Adermann
025649e14c
[ticket/9892] Adding a number of tests for db_tools
...
The test creates a table and runs a number of queries on it to judge whether
the selected column types can hold the data they are expected to contain.
Additional test methods check the auto increment feature and a few of the
basic commands of db_tools. This is only a starting point. Plenty more
tests need to be added.
PHPBB3-9892
2011-06-12 10:34:43 +02:00
Nils Adermann
28801d0198
[ticket/10206] Failed unicode.org downloads no longer terminate tests
...
Instead a warning is triggered and an explanation echo'd.
PHPBB3-10206
2011-06-10 02:16:19 +02:00
Nils Adermann
928ee43881
Merge branch 'ticket/rxu/217' into develop-olympus
...
* ticket/rxu/217:
[ticket/217] Use positive assertions in tests.
[ticket/217] Silence errors in tests, not code.
[ticket/217] Use positive parameter statement for bbcode_init()
[ticket/217] Adjust patch, add tests
[ticket/217] Multiline [url] not converted
2011-06-09 22:39:28 +02:00
Andreas Fischer
f7578e29b3
Merge remote-tracking branch 'naderman/ticket/10005' into develop-olympus
...
* naderman/ticket/10005:
[ticket/10005] Add description to test cases
[ticket/10005] Add validation of dropdown custom profile field values
2011-06-09 12:47:26 +02:00
Oleg Pudeyev
c93164db58
[ticket/217] Use positive assertions in tests.
...
PHPBB3-217
2011-06-06 21:16:47 +08:00
Oleg Pudeyev
2d1e426ba7
[ticket/217] Silence errors in tests, not code.
...
Use a mock user object for testing bbcode.
PHPBB3-217
2011-06-06 21:14:10 +08:00
rxu
d44b6ba5ca
[ticket/217] Use positive parameter statement for bbcode_init()
...
PHPBB3-217
2011-06-06 00:53:54 +08:00
rxu
6585d938d2
[ticket/217] Adjust patch, add tests
...
PHPBB3-217
2011-06-06 00:53:53 +08:00
Nils Adermann
893d0ae96f
Merge branch 'ticket/bantu/10042' into develop-olympus
...
* ticket/bantu/10042:
[ticket/10042] GD CAPTCHA: Call phpbb_mt_rand() where required.
[ticket/10042] GD CAPTCHA: Round offset to the next pixel.
[ticket/10042] Add mt_rand() wrapper which allows swapping $min and $max.
2011-06-05 03:22:09 +02:00
Nils Adermann
a2b6605ce8
[ticket/10005] Add description to test cases
...
PHPBB3-10005
2011-06-03 03:12:13 +02:00
Nils Adermann
7b10f859de
[ticket/10005] Add validation of dropdown custom profile field values
...
PHPBB3-10005
2011-06-02 08:49:59 +02:00
Nils Adermann
f0287f7e57
[ticket/9685] Test for databases that are able to nest transactions
...
If a database is unable to nest transactions the dbal should implement
sql_buffer_nested_transactions to signal that buffering of the outer
results and closing of the outer transaction is required to open the
inner transaction.
PHPBB3-9685
2011-06-02 06:09:21 +02:00
rxu
a835189823
[ticket/9751] Password requirement "Must contain letters and numbers" fails
...
PHPBB3-9751
2011-04-01 15:10:29 +02:00
Oleg Pudeyev
df6ce22fa3
Merge branch 'ticket/bantu/10082' into develop-olympus
...
* ticket/bantu/10082:
[ticket/10082] session_id is CHAR(32) not VARCHAR(32), so give them a CHAR(32).
2011-03-23 20:30:23 -04:00
Igor Wiedler
4c3cc152c8
[ticket/10101] Add test case for native phpass hashes
...
PHPBB3-10101
2011-03-20 22:52:31 +01:00
Andreas Fischer
d36f78b9f1
[ticket/10082] session_id is CHAR(32) not VARCHAR(32), so give them a CHAR(32).
...
This fixes session unit tests on PostgreSQL in particular.
PHPBB3-10082
2011-03-19 23:20:41 +01:00
Andreas Fischer
7a39bdef89
[ticket/10088] Also ignore DBMS versions other than MySQLi in cache mock.
...
PHPBB3-10088
2011-03-12 15:26:09 +01:00
Marek A. Ruszczynski
b835f364f5
[ticket/10081] remove $phpEx.
...
PHPBB3-10081
2011-03-07 18:50:18 +01:00
Marek A. Ruszczynski
7147382e9e
[ticket/10081] Cleanup Template Tests.
...
There are no incomplete template tests anymore.
PHPBB3-10081
2011-03-07 18:26:46 +01:00
Nils Adermann
dec9d24392
[ticket/10040] Ensure the test suite runs on PHP 5.2 without E_DEPRECATED.
...
PHPBB3-10040
2011-03-07 16:25:52 +01:00
Andreas Fischer
5ab4dc2983
[ticket/10042] Add mt_rand() wrapper which allows swapping $min and $max.
...
PHPBB3-10042
2011-03-05 22:16:50 +01:00
Nils Adermann
921603b09e
[task/session-tests] Make result check independent of returned row order.
...
PHPBB3-9732
2011-02-27 22:20:36 +01:00
Nils Adermann
7255ef4f6d
[task/session-tests] By default the cache check now skips over db server info
...
PHPBB3-9732
2011-02-27 22:17:03 +01:00
Nils Adermann
bbf3864cb4
[task/session-tests] Correctly display message on session continue test failure
...
PHPBB3-9732
2011-02-27 22:16:39 +01:00
Nils Adermann
3d65c3c104
[task/session-tests] Make the session id replacement of dataset values clearer
...
PHPBB3-9732
2011-02-27 22:06:01 +01:00
Igor Wiedler
c8ad006b71
[ticket/10060] Fix test suite under MySQL
...
Regression from PHPBB3-10043, a typo caused the database tests to fail
under MySQL.
PHPBB3-10060
2011-02-25 16:37:20 +01:00