Commit Graph

1348 Commits

Author SHA1 Message Date
Ilia Alshanetsky
1ad9e6e1d0 MFB: Fixed test on systems where . and .. order not guaranteed 2008-03-24 18:34:44 +00:00
Dmitry Stogov
824fa7ad54 Fixed tests (file order is undefined, so we need to sort() them) 2008-03-24 09:00:41 +00:00
Marcus Boerger
34898339b5 - Add new test 2008-03-21 15:18:18 +00:00
Antony Dovgal
a81de7c7a1 expect->expectf 2008-03-20 12:13:57 +00:00
Antony Dovgal
9b1c720c3d fix tests (tcp_socket is tcp_socket/ssl when/if openssl is enabled) 2008-03-20 08:35:11 +00:00
David Soria Parra
a19e28ece9 Fix bug #44487 (call_user_method_array issues a warning when throwing an exception). 2008-03-20 00:50:47 +00:00
Steve Seear
77f4934103 Adding streams tests 2008-03-19 17:38:20 +00:00
Steve Seear
b4f5622904 Adding filesystem tests 2008-03-19 17:26:36 +00:00
Felipe Pena
c604a1933c Cosmetic 2008-03-19 15:34:38 +00:00
Felipe Pena
d321bfba65 Fixed test 2008-03-19 15:22:59 +00:00
Felipe Pena
0e27741364 Fixed tests 2008-03-19 15:13:12 +00:00
Felipe Pena
b02063cf05 Fixed test 2008-03-19 14:55:58 +00:00
Felipe Pena
5056e34018 Fixed test 2008-03-19 14:45:24 +00:00
Antony Dovgal
4ce259fc1a fix test 2008-03-19 12:36:00 +00:00
Felipe Pena
f0c4283f47 MFB: Fixed bug #43614 (incorrect processing of numerical string keys of array in arbitrary serialized data) 2008-03-19 03:12:39 +00:00
Robin Fernandes
da591e8eca Adding more tests for serialize() and unserialize(). 2008-03-18 15:12:42 +00:00
Dmitry Stogov
a0378d3514 Fixed test 2008-03-18 06:44:54 +00:00
Antony Dovgal
a8127d612d fix test 2008-03-17 15:35:25 +00:00
Felipe Pena
8ae1faf517 MFB: Fixed bug #42177 (Warning "array_merge_recursive(): recursion detected" comes again...) 2008-03-12 19:21:30 +00:00
Felipe Pena
1fe7347fed MFB: Fixed bug #44394 (Last two bytes missing from output) 2008-03-12 02:45:15 +00:00
Josie Messa
09c316399b - Added extra whitespace around error messages in expected output 2008-03-11 10:20:06 +00:00
Josie Messa
f30035ea79 - New tests for getcwd() function 2008-03-10 15:24:14 +00:00
Josie Messa
49b8c820e6 - Modified expected output to allow tests to work on all platforms 2008-03-10 15:19:59 +00:00
Josie Messa
1fd345c31c - New tests for scandir() function 2008-03-10 14:16:32 +00:00
Etienne Kneuss
2660bd1de9 User error handlers no longer catch supressed errors 2008-03-08 22:17:32 +00:00
Greg Beaver
b0595a7bab fix tests if allow_url_fopen is disabled in php.ini 2008-03-08 19:12:41 +00:00
Greg Beaver
5faf5f8b87 fix test if allow_url_fopen is disabled in php.ini 2008-03-08 19:08:52 +00:00
Zoe Slattery
1bc3797c3f Countable requires SPL 2008-03-08 17:15:18 +00:00
Josie Messa
192649581e - Tests awaiting fix of bug #44246 2008-03-07 16:21:30 +00:00
Josie Messa
a532e65cd6 - New tests for rewinddir() function 2008-03-07 16:13:20 +00:00
Josie Messa
e5c40c1721 fix test 2008-03-07 16:07:34 +00:00
Josie Messa
c654b41280 - New tests for closedir() function 2008-03-07 16:02:42 +00:00
Greg Beaver
4c23969a41 test was failing because I had a file named 1 in the checkout directory
# note to tests writers: never assume anything about directory
# contents.
2008-03-07 04:15:29 +00:00
Robin Fernandes
f0acfb157d Add new tests for class/object functions and features. 2008-03-06 11:07:29 +00:00
Felipe Pena
702a290aba Fix test 2008-03-05 14:22:06 +00:00
Josie Messa
40c790c9f6 - new tests for readdir() function 2008-03-04 17:11:10 +00:00
Antony Dovgal
e1d3d931ed fix test 2008-03-04 11:16:22 +00:00
Josie Messa
f002663134 - new tests for opendir() function 2008-03-04 10:45:40 +00:00
Felipe Pena
748677148c Fixed tests 2008-02-28 15:28:00 +00:00
Felipe Pena
c557be114f Fixed tests 2008-02-26 13:16:55 +00:00
Josie Messa
1ce9261aac - New tests for chdir() function 2008-02-26 09:40:49 +00:00
Felipe Pena
cdb42ce6d2 MFB: Fixed bug #44242 (metaphone('CMXFXM') crashes PHP) 2008-02-25 22:56:47 +00:00
Steve Seear
47742538ff Replace hardcoded resource ids with %d in fgetc() tests. 2008-02-25 10:33:30 +00:00
Felipe Pena
e285f368ca Added UEXPECTF 2008-02-24 02:47:36 +00:00
Felipe Pena
8253434ea9 Fixed tests 2008-02-24 02:22:15 +00:00
Felipe Pena
49114611bb FIxed tests (new error message - E_DEPRECATED) 2008-02-23 22:30:08 +00:00
Felipe Pena
b4b9e034b4 Fixed tests (new error message - E_DEPRECATED) 2008-02-23 19:26:08 +00:00
Felipe Pena
482e4f2348 Fixed tests (new error message - E_DEPRECATED) 2008-02-23 19:17:41 +00:00
Felipe Pena
beeccb1e04 Fixed tests (new error message - E_DEPRECATED) 2008-02-23 19:01:11 +00:00
Marcus Boerger
6b58678c63 - Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus) 2008-02-23 17:03:53 +00:00
Robert Nicholson
05824bab01 - bug #44212 array_diff_assoc_error.phpt should expect warnings for missing parameters 2008-02-22 12:16:02 +00:00
Josie Messa
9c888c54cc - New tests for reset() function 2008-02-22 09:22:27 +00:00
Josie Messa
b0daabb4e3 - New tests for end() and next() function 2008-02-21 16:41:39 +00:00
Josie Messa
7b5a0bc42b - New tests for key() function 2008-02-21 14:36:15 +00:00
Josie Messa
cd5558b895 - New tests for current() function 2008-02-20 14:21:36 +00:00
Josie Messa
2f9709ecb6 - New tests for each() function 2008-02-19 17:03:11 +00:00
Josie Messa
8cccdb3af4 - New tests for natcasesort() function 2008-02-19 10:54:02 +00:00
Josie Messa
c5d7128a34 - changed UEXPECTF section 2008-02-19 09:37:50 +00:00
Felipe Pena
b62f4b4684 Fix test 2008-02-17 01:21:15 +00:00
Felipe Pena
74b3151540 Fix tests 2008-02-15 16:55:11 +00:00
Josie Messa
5c62735f17 - New tests for rsort() function 2008-02-15 16:04:35 +00:00
Antony Dovgal
82df944f6a more cosmetics 2008-02-15 09:35:47 +00:00
Josie Messa
c1e7564369 - New tests for count() function 2008-02-14 16:48:27 +00:00
Ilia Alshanetsky
a2e7675cb4 MFB: Fixed test on 64bit machines 2008-02-14 16:30:10 +00:00
Josie Messa
67a7756d86 - New variation test for array_values() 2008-02-14 16:09:18 +00:00
Josie Messa
c1e188bb80 - New tests for array_values() function 2008-02-14 14:20:51 +00:00
Felipe Pena
3531b3ff5f New test 2008-02-14 13:51:15 +00:00
Josie Messa
fab35b7748 - New tests for array_slice() function 2008-02-14 11:13:56 +00:00
Etienne Kneuss
7c89093243 Fix inconcistencies between substr and substr_compare 2008-02-13 16:59:56 +00:00
Josie Messa
e100d53bff - New tests for array_shift() function 2008-02-13 16:40:42 +00:00
Josie Messa
af9f6b3938 - New tests for array_push() function 2008-02-13 16:14:02 +00:00
Josie Messa
54731fea32 - committing tests for array_merge() function 2008-02-13 14:19:37 +00:00
Josie Messa
b12ed7908d - committig tests for array_key_exists() function 2008-02-13 13:12:06 +00:00
Josie Messa
3d0c36cc39 - committing array_change_key_case variation tests 2008-02-12 17:45:47 +00:00
Felipe Pena
1573f8c01c New test 2008-02-12 01:21:29 +00:00
Ilia Alshanetsky
95cd0deab0 MFB:Fixed test on 64bit machines 2008-02-11 16:23:25 +00:00
Felipe Pena
025d27e2ab Fix test (missing result) 2008-02-11 15:57:34 +00:00
Felipe Pena
8b4f61cf00 Fix test (UEXPECTF) 2008-02-11 15:46:51 +00:00
Johannes Schlüter
6595b0dc5e The exact message differs on different systems 2008-02-10 23:36:27 +00:00
Felipe Pena
6420454991 New test 2008-02-10 03:55:39 +00:00
Felipe Pena
9619ec2317 New test for strtok 2008-02-09 18:12:45 +00:00
Felipe Pena
0a5d2b1ac7 Fix error message 2008-02-07 13:26:36 +00:00
Felipe Pena
8083c40376 Added UEXPECTF 2008-02-07 13:18:58 +00:00
Felipe Pena
6935680443 Added UEXPECTF 2008-02-07 13:06:50 +00:00
Felipe Pena
77864cdc8e Fixed some tests (UEXPECT) 2008-02-07 12:45:54 +00:00
Marcus Boerger
4ad89748c3 - Fix missing check and tests 2008-02-06 20:39:54 +00:00
Zoe Slattery
87a60ef453 Fixing 32 bit specific 2008-02-06 09:28:01 +00:00
Zoe Slattery
4da92843b9 Tests for assorted Maths functions 2008-02-06 08:39:23 +00:00
Marcus Boerger
ee507a2d05 - Add new test 2008-02-05 18:56:40 +00:00
Robert Nicholson
8f6de4aada - fix arsort_variation3.phpt which was missing its EXPECT section 2008-02-05 11:20:28 +00:00
Jani Taskinen
71e3d357ef - Fixed bugs #43915, #43923 and #44019, a tiny performance issue fixed too 2008-02-04 20:45:16 +00:00
Felipe Pena
c866bc64cf Fix wrong test 2008-02-04 19:58:12 +00:00
Felipe Pena
360fed57da Fix error messages 2008-02-04 17:21:01 +00:00
Felipe Pena
421295b52e Fix tests 2008-02-04 15:43:09 +00:00
Felipe Pena
ac99835507 Fix tests (new error message) 2008-02-04 15:22:08 +00:00
Felipe Pena
1348f95d20 Fix tests (new error message) 2008-02-04 13:08:27 +00:00
Felipe Pena
76dab1562f Fix tests (new error message) 2008-02-04 12:37:15 +00:00
Robert Nicholson
caea756765 - added some new tests for arsort 2008-02-04 00:06:54 +00:00
Marcus Boerger
0034d47f09 - Fix tests 2008-02-02 13:33:21 +00:00
Antony Dovgal
de10394d60 fix test, add 64bit version 2008-02-01 23:18:53 +00:00
Zoe Slattery
bd8678289b A few new tests for math functions 2008-02-01 17:16:40 +00:00
Zoe Slattery
76022e67d8 Removing superfluous --INI-- section 2008-01-30 17:55:12 +00:00
Dmitry Stogov
5d1e742056 Fixed bug #43505 (Assign by reference bug) 2008-01-29 10:45:19 +00:00
Robert Nicholson
566fa19dec - update compact_variation1.phpt to take into account fix for bug #29044 2008-01-29 08:49:11 +00:00
Antony Dovgal
bc9cba1a93 MFB: fix #43927 (koi8r is missing from html_entity_decode())
patch by andy at demos dot su
2008-01-28 23:08:07 +00:00
Nuno Lopes
875d3f15fd be more strict in the skipif 2008-01-27 16:54:02 +00:00
Nuno Lopes
85adde057e MFB: fix skipifs 2008-01-27 16:52:34 +00:00
Robert Nicholson
4726a6f2bc - Add a basic test for array_shuffle() 2008-01-25 00:33:00 +00:00
Robert Nicholson
38c322d3db - add some basic tests for array diff and intersection functions 2008-01-25 00:17:34 +00:00
Robert Nicholson
0cf88073f0 - New tests for compact()
# compact_variation1.phpt will fail until bug #29044 is fixed
2008-01-24 14:50:18 +00:00
Antony Dovgal
346867aaf8 fix test 2008-01-23 11:38:31 +00:00
Antony Dovgal
2b2e025690 new test by Lars Strojny 2008-01-22 15:42:12 +00:00
Antony Dovgal
596403f226 fix #42861 (strtr() crashes in Unicode mode when $from argument is empty) 2008-01-21 14:37:19 +00:00
David Coallier
7a66695286 - Added lcfirst() function. The sister function of ucfirst()
- Test #1 for lcfirst()
2008-01-19 19:23:25 +00:00
David Coallier
982f842577 - run-tests.php -U
- The unicode test's error messages are working
2008-01-16 13:27:01 +00:00
David Coallier
ea2c35ad82 - MFB
- Make sure to return the good error message with new parse parameters api
  of ucfirst()
2008-01-16 13:12:51 +00:00
Brian Shire
e643a40051 Fix bug #42850 array_walk_recursive() leaves references, refix bug #34982 2008-01-14 22:08:00 +00:00
Greg Beaver
e54eb5513e clarify error message on why opening a stream wrapper failed for allow_url_include/allow_url_fopen, add test for allow_url_fopen 2008-01-12 15:50:17 +00:00
Dmitry Stogov
1d9894a0c5 Added missing warning message 2008-01-10 09:38:41 +00:00
Raghubansh Kumar
acf19e9265 New testcases for array_diff_assoc() function 2008-01-04 13:59:44 +00:00
Raghubansh Kumar
9e3069cea5 New testcases for array_diff() function 2008-01-04 13:59:18 +00:00
Raghubansh Kumar
aa337c4bfc this testcase has been split into many smaller testcases and committed. 2008-01-03 09:38:43 +00:00
Raghubansh Kumar
7a038912b0 New smaller testcases for array_map() function 2008-01-03 09:35:11 +00:00
Hannes Magnusson
cdaaa15ddf MFB5.2: Fix test 2007-12-29 11:39:06 +00:00
Antony Dovgal
6b31eb58c7 fix test 2007-12-29 10:32:39 +00:00
Dmitry Stogov
171c52087e Fixed 32/64-bit tests (Serg) 2007-12-27 11:23:30 +00:00
Raghubansh Kumar
74584f8521 fix test : do not run when run as root 2007-12-25 16:14:32 +00:00
Dmitry Stogov
0c75772f68 Additional fix for bug #42868 2007-12-24 18:10:20 +00:00
Raghubansh Kumar
11178281fc new testcases for dir() function 2007-12-24 05:07:47 +00:00
Raghubansh Kumar
b90cab7ec7 fix tests 2007-12-24 04:29:26 +00:00
Dmitry Stogov
306a73677e Fixed test 2007-12-21 09:42:07 +00:00
Raghubansh Kumar
1444624663 fix tests 2007-12-20 17:25:06 +00:00
Robert Nicholson
c142564b00 new tests for array_map usage variations - string keys and references 2007-12-20 11:18:08 +00:00
Raghubansh Kumar
c4061cce23 fix test 2007-12-19 10:37:42 +00:00
Derick Rethans
b5629cb468 - Fixed var_export() for array keys
- Fixed broken explode() test
2007-12-18 10:53:25 +00:00
Raghubansh Kumar
73c041ee8c fix tests 2007-12-17 13:00:52 +00:00
Dmitry Stogov
9c024a30a5 Fixed bug #42868 (Floats cast to integer droduce unpredicatable results). (Zoe Slattery) 2007-12-17 11:06:43 +00:00
Dmitry Stogov
96a21b31d6 Fixed test 2007-12-13 07:57:52 +00:00
Raghubansh Kumar
65cf3fc3e1 New testcases for array_walk_recursive() function 2007-12-11 10:43:28 +00:00
Raghubansh Kumar
2e4deb0422 delete because there are two smaller testcases for this 2007-12-11 10:42:56 +00:00
Raghubansh Kumar
9193d93440 New testcases for array_walk() function 2007-12-11 10:40:23 +00:00
Raghubansh Kumar
c958bf2b10 New testcases for array_merge_recursive() function 2007-12-11 09:04:49 +00:00
Jani Taskinen
b6a2755df3 - Fixed bug #43541 (array_slice() length parameter messed up) 2007-12-11 08:30:46 +00:00
Ilia Alshanetsky
d963eaffcc MFB: Fixed bug #43522 (stream_get_line() eats additional characters) 2007-12-10 14:19:20 +00:00
Derick Rethans
5a14715596 - Fixed Bug #42272 (var_export() incorrectly escapes char(0)).
- Also fixed var_export() in unicode mode, as the function would actually
  generate non-parsable strings which defeats the purpose of var_export().
2007-12-09 16:54:30 +00:00
Raghubansh Kumar
775292518f new testcases for array_unique() function 2007-12-09 14:38:48 +00:00
Ilia Alshanetsky
2f39962f36 MFB: WS 2007-12-06 15:23:57 +00:00
Ilia Alshanetsky
40226917ab MFB: Fixed bug #43495 (array_merge_recursive() crashes with recursive
arrays)
2007-12-05 19:57:09 +00:00
Raghubansh Kumar
5b5211b0dc fix tests : better float values 2007-12-03 13:02:11 +00:00
Raghubansh Kumar
290076dffa fix tests: better float values 2007-12-03 12:04:26 +00:00