Commit Graph

513 Commits

Author SHA1 Message Date
Ilia Alshanetsky
fec7c2997a Update test. 2003-12-17 17:25:00 +00:00
Marcus Boerger
d4f64f88ba Reenable __tostring() magic for print,echo,concatenation,function naming...
but not for other internal things.
# As discussed with Andi
2003-12-15 16:59:21 +00:00
Ilia Alshanetsky
097ed939a6 Fixed test. 2003-12-14 18:25:13 +00:00
Marcus Boerger
1e2349a1f1 Fix test 2003-12-14 17:42:57 +00:00
foobar
c6c4c4fbc4 - Nuke property_exists() calls
- Fix the test. (this is BUG in PHP 5, works in PHP 4)
2003-12-01 12:07:36 +00:00
Marcus Boerger
c3fddcab62 Fix tests for E_STRICT and check for E_STRICT in run-tests.php. 2003-11-30 13:57:20 +00:00
Marcus Boerger
af3f48b7e1 Research reveals that the error text depends on the tools and their
versions used to create the language parser.
2003-11-29 12:51:37 +00:00
foobar
b0d921697d test for bug #24908 2003-11-29 07:54:19 +00:00
foobar
d0f9ba8955 - Fix expected output. 2003-11-29 07:29:42 +00:00
foobar
3e7dd7eb29 oops.. 2003-11-29 07:16:58 +00:00
foobar
5ff5a9fbb3 test for bug #25652 2003-11-29 07:15:31 +00:00
foobar
5faa087a0e test for bug #24926 2003-11-29 02:28:49 +00:00
Marcus Boerger
3be27ecc78 Add a support function to check for property existance which is different
from checking a property from being empty/set.
Update test #26182.
2003-11-27 17:06:26 +00:00
Marcus Boerger
7780cbc9f3 In PHP5 this will create an implicit public property 2003-11-26 08:47:58 +00:00
Marcus Boerger
f40ecad640 Errro message has changed 2003-11-26 08:45:42 +00:00
foobar
f280bc3735 test case for bug #26182 2003-11-25 09:20:56 +00:00
Marcus Boerger
4dba05d9cc Add new interface ArrayAccess to use objects as Arrays 2003-11-24 20:57:54 +00:00
Marcus Boerger
cf1a6108eb Add new iterator test inspired by bug #26527 2003-11-18 07:33:30 +00:00
Marcus Boerger
ec9ea44f59 Update test expectations 2003-11-10 18:09:07 +00:00
Ilia Alshanetsky
4d349926ff Fixed some test names.
Removed extraneous \r from a number of tests.
2003-10-24 03:31:57 +00:00
Ilia Alshanetsky
5dac0007f3 Fixed bug #25922 (Crash in error handler when 5th argument is modified). 2003-10-22 23:42:55 +00:00
Marcus Boerger
8abb3bd448 Impement userspace iterator interfaces and tests. See tests for details
on the names.
2003-10-22 20:04:48 +00:00
Kai Schroeder
3d4586e965 Fixed typo 2003-10-20 04:49:18 +00:00
Marcus Boerger
d7fdf15a41 - Allow partial type conversion support for objects.
- Add support for object to string conversion from userspace by method
  __toString() and add a test.
2003-09-18 11:38:33 +00:00
Marcus Boerger
46b8801b35 Go with studlyCaps in error messages/backtrace/reflection output 2003-09-17 10:14:12 +00:00
Marcus Boerger
83a48b2603 Test for bug #25547 2003-09-15 20:30:32 +00:00
Ard Biesheuvel
eba90f7f99 WS 2003-09-13 19:49:50 +00:00
Ard Biesheuvel
6f37733367 Fixed for 64bit archs 2003-09-13 15:27:09 +00:00
Marcus Boerger
62421b5201 Fix registering/derigistering of stdClass in ZTS and NON ZTS mode 2003-09-08 10:45:19 +00:00
Marcus Boerger
95649ab260 Tests show updating consts must happen once at runtime (revert optimization).
Add tests for static properties.
2003-09-04 16:00:01 +00:00
Marcus Boerger
430bfc6f09 Fix test 2003-09-03 21:19:22 +00:00
Marcus Boerger
9702c70a35 Synch/Unify error messages related to function/method calls 2003-09-02 14:08:59 +00:00
foobar
b78f146f7f - Skip with CLI 2003-08-29 09:05:11 +00:00
Marcus Boerger
96d7f06e37 Add test for #25145 2003-08-19 22:47:30 +00:00
Marcus Boerger
2f51c2acf4 Once is enough 2003-08-17 12:13:26 +00:00
Marcus Boerger
61f52becec Add some debug help 2003-08-16 18:28:20 +00:00
Moriyoshi Koizumi
a5c6b9127e (format fix) replace a tab with a single space 2003-08-11 19:52:38 +00:00
Marcus Boerger
f427dc4f8e Add destructor inheritance test (bug #24637) 2003-08-11 00:02:32 +00:00
Ilia Alshanetsky
073e282b38 <? -> <?php 2003-08-09 20:13:44 +00:00
Marcus Boerger
c05b329c6c Add testcase for complicated reference scenarios with objects. 2003-08-09 20:09:09 +00:00
Moriyoshi Koizumi
6be14c6636 Fix test so it matches the new error message. 2003-08-09 19:19:14 +00:00
Ilia Alshanetsky
ac41c5db23 Added/improved tests for bugs 24142, 24063, 24951, 24980 2003-08-09 16:44:33 +00:00
Marcus Boerger
ffd6f29ef8 Prefix all engine 2 tests 2003-08-09 14:48:47 +00:00
Marcus Boerger
dfd85e88d2 Reenable, works as expected 2003-08-09 14:34:44 +00:00
Marcus Boerger
d4aa155d25 Precise destructor errors 2003-08-09 14:32:33 +00:00
Zeev Suraski
1a13e1d4bd Disable prolebmatic test 2003-08-05 08:49:56 +00:00
Zeev Suraski
b894f06f49 Add a test 2003-08-04 08:42:36 +00:00
Zeev Suraski
95eaf55aa6 Add foreach() test with references 2003-07-24 13:21:54 +00:00
Zeev Suraski
4f3e52ac1b Add test for binary safety of each() 2003-07-24 13:08:35 +00:00
foobar
8514398dfc Fix the test.. 2003-07-24 10:41:47 +00:00
foobar
dcfe901015 test for bug 24783 (foreach() key not binary safe) 2003-07-24 10:25:15 +00:00
Zeev Suraski
4ec05c508b Add test 2003-07-22 13:54:45 +00:00
Zeev Suraski
7e72d8e826 Fix bug #24499 2003-07-21 12:13:16 +00:00
Zeev Suraski
9bbf5577dd Add a couple of tests 2003-07-21 11:48:37 +00:00
foobar
a00e3f6f1e Added test case for bug #24573 2003-07-18 12:24:49 +00:00
Marcus Boerger
4e2b88255c Add test for bug #24640 2003-07-17 21:02:44 +00:00
Moriyoshi Koizumi
02c55f6c63 Added test case for bug #24658 2003-07-17 18:50:56 +00:00
foobar
7fe8f6cf94 Added test case for bug #22690 2003-07-16 00:38:54 +00:00
Marcus Boerger
4f0b480f78 More __clone testing 2003-07-03 19:53:01 +00:00
Marcus Boerger
5b1a6f7be0 Accessing globals from a destructor causes memory corruption 2003-07-03 14:06:51 +00:00
Marcus Boerger
2044fbf59e Check private redeclare behavior 2003-07-03 10:05:01 +00:00
Sterling Hughes
62ea4ebd92 fix these tests 2003-07-03 07:18:41 +00:00
Zeev Suraski
eab449ded0 Another test case 2003-07-02 18:05:45 +00:00
Derick Rethans
dab62fcf60 - use <?php in testcases 2003-07-02 18:00:51 +00:00
Zeev Suraski
60152a0db8 Add test case 2003-07-02 17:51:15 +00:00
Moriyoshi Koizumi
31431193ca Now this should make sense. 2003-07-02 15:47:24 +00:00
Moriyoshi Koizumi
928d6ac769 Adjust test.
# This was also fixed by the Zeev's patch for bug #22367.
2003-07-02 15:38:51 +00:00
Zeev Suraski
cb38a9227e Adjust expectations :) 2003-07-02 15:08:11 +00:00
Marcus Boerger
74a0f6c8ab Finally fix property cloning and fix the tests accordingly.
# The default behaviour is to copy all properties with all current values
# from the old object. But if __clone is overwritten then only the default
# properties are cloned with their correct default values. So we keep
# the type system intact and also allow real __clone overwriting now.
2003-07-02 07:24:11 +00:00
Marcus Boerger
43e74fc8b1 Fix test name 2003-07-02 06:40:34 +00:00
Sterling Hughes
dc22926f49 add a test for get_parent_class() bug 2003-07-02 04:30:45 +00:00
Marcus Boerger
30b7f39d07 Add more clone testing 2003-07-01 23:57:27 +00:00
Marcus Boerger
47a881f01c Check handling of private class members 2003-07-01 23:50:01 +00:00
Marcus Boerger
5dd671e3cc ups (2nd) 2003-07-01 23:20:48 +00:00
Marcus Boerger
11e5c08d39 ups 2003-07-01 21:28:15 +00:00
Marcus Boerger
e92b88a8c5 Add more clone testing 2003-07-01 21:27:59 +00:00
Marcus Boerger
38e5f7b18e Fix test (damn copy'n'paste) 2003-07-01 21:05:02 +00:00
Marcus Boerger
0e300b7f77 Add tests for __clone visibility 2003-07-01 19:59:50 +00:00
Marcus Boerger
26d0753804 Add tests for static members 2003-07-01 19:12:23 +00:00
Derick Rethans
7d6d146a02 - Fixing this test, this is the correct behavior 2003-07-01 19:06:04 +00:00
Marcus Boerger
c31e49e4cb Add tests for static members 2003-07-01 18:34:42 +00:00
Sterling Hughes
c6876a53df test for bug #24399, segfault in is_subclass_of() 2003-06-30 19:40:48 +00:00
Sterling Hughes
f27571134b its not a bug - its a feature. No longer allowed in ze2. 2003-06-30 19:16:36 +00:00
Rasmus Lerdorf
832ffd1970 Fix 3 tests that didn't adequately specify the .ini settings they rely on 2003-06-30 18:22:53 +00:00
foobar
b377225d4f Added test case for bug #24396 2003-06-30 17:30:16 +00:00
Marcus Boerger
4ff79c7d84 Add test case for final classes 2003-06-21 22:02:16 +00:00
Marcus Boerger
8251858120 Add test case for abstract classes 2003-06-21 19:10:08 +00:00
Stanislav Malyshev
10642b81a0 Add test for the bug - will fail for now! 2003-06-16 12:26:07 +00:00
Stanislav Malyshev
c44e4eddbe fix test so it does not depend on variable order 2003-06-16 09:27:33 +00:00
Stanislav Malyshev
91ec828de5 add tests for fixed bugs 2003-06-16 09:20:42 +00:00
Marcus Boerger
cae9aab2c0 Goodbye namespaces 2003-06-07 00:57:07 +00:00
Jay Smith
0efbd4f925 Namespaces are gone, and so is this test. 2003-06-06 19:00:48 +00:00
foobar
c8c45d14da Test for bug #24054 2003-06-06 11:09:55 +00:00
Derick Rethans
0346fb6a89 - Add test case for bug #23951 2003-06-02 11:12:25 +00:00
Sebastian Bergmann
26e7420615 Per request by Derick and Marcus. 2003-06-01 14:15:44 +00:00
Moriyoshi Koizumi
2e5013efec Added test case for bug #17115 2003-05-23 23:27:24 +00:00
foobar
412f54edab MFB 2003-05-14 15:02:30 +00:00
foobar
5d4bca6dbf Added test case for bug #23584 2003-05-14 00:06:55 +00:00
Sebastian Bergmann
938d90f1d8 Add test case for bug #23489. 2003-05-05 10:16:04 +00:00
Marcus Boerger
a6d0c66a16 Change tests to reflect error message changes 2003-05-04 19:50:28 +00:00
Marcus Boerger
cb1976cb13 MFB: Fix test 2003-05-03 17:30:46 +00:00
foobar
fc8d7c2a8e Added test case for bug #21820 2003-04-25 08:33:25 +00:00
Marcus Boerger
dc27fbd90f Add a test for ctor precedence 2003-04-19 18:21:58 +00:00
foobar
b02dd10e03 SKIP -> SKIPIF 2003-04-16 02:21:30 +00:00
Moriyoshi Koizumi
fa0ac8a273 Made dirname() binary-safe. 2003-04-12 21:53:46 +00:00
Sara Golemon
f22fb07ecd Avoid having output_buffering cause this test to improperly fail. 2003-04-02 01:51:34 +00:00
Marcus Boerger
0ee6377b42 bugfix #22961 by cynic@php.net 2003-03-30 12:47:05 +00:00
Marcus Boerger
18ff958ad3 fix these tests 2003-03-28 18:58:18 +00:00
Moriyoshi Koizumi
ba8e57b2cb Added test for bug22592 2003-03-15 23:37:17 +00:00
Moriyoshi Koizumi
3f04205371 Fixed typo 2003-03-14 17:12:24 +00:00
Marcus Boerger
a1cafdf0c4 Added some interface tests 2003-03-12 00:09:59 +00:00
Jay Smith
5f25e6b1dd modified test to reflect change in var_dump(). 2003-03-10 21:27:48 +00:00
Moriyoshi Koizumi
a41e0c1382 Modified the test to reflect the recent change on var_dump() 2003-03-10 20:46:39 +00:00
Jay Smith
61de56b7f5 Added tests for interfaces and class type hinting. 2003-03-07 15:56:31 +00:00
Marcus Boerger
4a152cad0c abstract classes must now be declared abstract 2003-03-07 00:01:08 +00:00
Moriyoshi Koizumi
2d40fe2222 Further testing on this feature should have been done... 2003-03-06 19:37:19 +00:00
Moriyoshi Koizumi
c775318c44 Fixed typo 2003-03-06 16:55:00 +00:00
foobar
888a084ccb added test for the memleak part from bug #19943 2003-03-06 16:29:05 +00:00
Moriyoshi Koizumi
1f85425c4d Fixed typo 2003-03-06 16:20:08 +00:00
Moriyoshi Koizumi
a06b5bde22 Added a test case for bug #22510 2003-03-04 19:52:22 +00:00
Marcus Boerger
66c8b5d71c If this doesn't show "3.4" there is another error 2003-03-04 18:35:03 +00:00
Jay Smith
243dd060d1 Added some tests for ZE2 features and their functionality. 2003-03-03 16:44:38 +00:00
Marcus Boerger
cc52373c10 Adding tests for ctor/dtor handling 2003-03-03 11:18:59 +00:00
Marcus Boerger
447da280dd Adding tests for abstract static methods 2003-03-03 11:13:56 +00:00
Marcus Boerger
326b793faf Adding tests for final methods 2003-03-03 11:10:30 +00:00
Marcus Boerger
acef51e677 (re)check in non ZendOptimizer version of test 2003-03-03 00:58:15 +00:00
Moriyoshi Koizumi
a628a6a2de Added test case for bug #22367 2003-02-24 19:37:27 +00:00
Moriyoshi Koizumi
a67e4dac8f Fixed the test as the result is just considered to be expected 2003-02-24 16:50:35 +00:00
Marcus Boerger
5f1975a432 New test which currently fails 2003-02-23 03:03:09 +00:00
Moriyoshi Koizumi
1b79da954c Added test case for bug #22231 2003-02-15 15:15:14 +00:00
Zeev Suraski
8713fdd102 Fix the test 2003-02-10 10:58:56 +00:00
Marcus Boerger
984cde3123 Add PPP method tests 2003-02-05 23:07:24 +00:00
Moriyoshi Koizumi
e2c4dffae0 Modified the test so it will be skipped under ZE1.
Thanks Kai
2003-02-03 16:38:22 +00:00
Moriyoshi Koizumi
0eb1c407b2 Added missing "?>" 2003-02-03 16:33:13 +00:00
Moriyoshi Koizumi
aded4d818a Added test case for bug #21961 2003-02-03 14:02:21 +00:00
Melvyn Sopacua
ac3dc9d95e Fix parse error and edink's fear of bison errors 2003-01-28 10:04:17 +00:00
Moriyoshi Koizumi
6174d2b446 Updated test so it describes the problem more clearly. 2003-01-27 01:15:14 +00:00
foobar
84e5fcb5de MFB, removed unused GET/POST entries 2003-01-24 05:56:55 +00:00
Moriyoshi Koizumi
ad86154d90 Added test case for bug21849.phpt 2003-01-23 23:22:23 +00:00
Moriyoshi Koizumi
d4f59af5be Fixed typo 2003-01-23 19:31:02 +00:00
Moriyoshi Koizumi
4199484313 Changed the test's file name as per the convention 2003-01-23 19:28:39 +00:00
foobar
80923f933d Added test for bug: #21513 2003-01-23 03:28:41 +00:00
Moriyoshi Koizumi
da45161bd2 Added test case for bug #21800 2003-01-21 19:38:08 +00:00
Moriyoshi Koizumi
a395304c72 Added test case for bug #21094 2003-01-18 19:44:12 +00:00
Moriyoshi Koizumi
e89bace72c Fixed typoFixed typoFixed typoFixed typoFixed typoFixed typoFixed typoFixed typo 2003-01-13 19:18:18 +00:00
Moriyoshi Koizumi
22a6b8f1a4 Added test case for bug #21600 2003-01-12 23:56:04 +00:00
Wez Furlong
59e4fdcc10 Implement fprintf() and vfprintf().
Add a couple of tests.
2003-01-09 17:29:31 +00:00
Derick Rethans
6197460836 - Fix tests if Zend Optimizer is loaded 2003-01-01 12:43:59 +00:00
Melvyn Sopacua
2169eb2ccc MFB: There won't be a warning/fix on this, so remove the test 2002-12-21 21:01:52 +00:00
Melvyn Sopacua
9dc1412e46 MFB: Skip the test, until a proper descision is made 2002-12-21 16:58:23 +00:00
Moriyoshi Koizumi
58037935f6 Appended "\n" as suggested by Derick. 2002-12-19 15:29:09 +00:00
Moriyoshi Koizumi
fdded38816 Added a test case for bug #20539 2002-12-18 22:54:34 +00:00
Melvyn Sopacua
43202b5b95 Add testcase for bug #20993 2002-12-13 18:40:39 +00:00
Marcus Boerger
cbab922570 "of cause" should have been "of course" but is not needed anyway
#noticed by Zeev
2002-12-10 11:21:30 +00:00
Marcus Boerger
90d9299e51 Updated error message 2002-12-07 23:33:41 +00:00
Marcus Boerger
f01fa3e02e Updated error message 2002-12-07 23:21:50 +00:00
Marcus Boerger
8e268d2816 Adding a test for abstract class instanciation 2002-12-07 14:27:29 +00:00
Marcus Boerger
e7f5b801be Do not instanciate an abstract class 2002-11-28 17:07:50 +00:00
Marcus Boerger
2ddbee008f Better naming 2002-11-24 16:07:34 +00:00
Marcus Boerger
c4272645ce Add test against redeclaring an overloaded method abstract 2002-11-24 15:51:57 +00:00
Marcus Boerger
622b45e2a9 Add test against mixing static/non static methods 2002-11-24 15:50:28 +00:00
Derick Rethans
1019b2ea94 - Adjust tests for removed old_function() in Zend Engine 2 2002-11-23 22:08:05 +00:00
Andrey Hristov
850586cfe7 typo fix. 2002-11-22 11:11:31 +00:00
Marcus Boerger
4e78286eaf Update error message and say 'method' instead of 'function' 2002-11-22 10:44:36 +00:00
Marcus Boerger
b66a39eb6e Test: An abstract function can be overwritten but not called 2002-11-21 15:06:54 +00:00
Derick Rethans
8011c17fd3 - Add test for bison weirdness as some people experienced (seems fixed
now though)
2002-11-19 14:53:31 +00:00
Marcus Boerger
16af3f7d11 Update to new syntax suggestion 2002-11-15 15:19:02 +00:00
Moriyoshi Koizumi
5e2464ed38 Removed the test. I should have been more aware of variability of
error messages. Thanks Ilia.
2002-11-11 00:16:09 +00:00
Moriyoshi Koizumi
f13fd7a713 Made it conscious of the line number 2002-11-10 19:27:48 +00:00
Moriyoshi Koizumi
b8d56f5ec2 Added a test case for bug #17882 2002-11-10 18:43:19 +00:00
Moriyoshi Koizumi
c0dfdd2ff6 Added a test for bug #19566 2002-11-08 17:46:29 +00:00
Marcus Boerger
bc9757f07a Comment out part 3 for now
Added Part 4
2002-11-05 09:51:09 +00:00
Marcus Boerger
b8f8591326 2nd wow returns different results with ZE1/ZE2 2002-11-04 17:12:21 +00:00
Ilia Alshanetsky
79d6b61523 Removed \r, which caused the test to fail. 2002-11-04 16:46:28 +00:00
Marcus Boerger
29372b231b See http://bugs.php.net/20175 2002-11-04 10:51:08 +00:00
Marcus Boerger
2b927548d3 -testing the tests
-moved tests/dirname.phpt to tests/run-test/test007.phpt because many
 tests use this to find their additional files.
-no more tests in tests directly only in subdirectories
2002-11-04 10:43:22 +00:00
Moriyoshi Koizumi
f94e45aaf3 Moved the test into the suitable place 2002-10-31 15:28:21 +00:00
Marcus Boerger
0725405d74 Rewrite: Taken from ZE2 RFC + a little textual modification 2002-10-29 13:51:44 +00:00
Marcus Boerger
f168c6feef no notices here 2002-10-29 13:30:22 +00:00
Derick Rethans
edf4496491 - Add test case for bug 20120, bison bug. 2002-10-27 18:44:35 +00:00
Derick Rethans
31224b8923 - Use new setlocal semantics 2002-10-23 20:35:16 +00:00
Marcus Boerger
f1d158c41c No longer needed. See README.TESTING 2002-10-22 17:48:50 +00:00
Marcus Boerger
42d33c38b3 Test result depends on these ini settings 2002-10-22 09:34:53 +00:00
Melvyn Sopacua
6dde848d9e Sorry, shouldn't use undo on packetloss connections 2002-10-10 19:52:13 +00:00
Andrei Zmievski
9275b2bd9a Fix the test after Ilia's patch. 2002-10-10 18:36:12 +00:00
Melvyn Sopacua
0ff44ce57b Fix platform dependencies, setlocale output, bug #19836
Testing numerics, so set numeric. If the platform doesn't support this
category, passing this test is more likely to be coincedence than expected
behavior.
2002-10-10 16:39:52 +00:00
Derick Rethans
d53dd88854 - Drop requirement for php.ini-dist
- Adjust test script to hard code ini settings
2002-10-08 07:49:36 +00:00
Sander Roobol
83189bd742 Skip this test if we're not using ZE2 2002-10-06 19:39:12 +00:00
Derick Rethans
2ae0e71c97 - Fix highlight_string test. 2002-10-06 17:37:25 +00:00
Derick Rethans
dbc6935c16 - Fix descriptions 2002-10-03 11:00:13 +00:00
Derick Rethans
7ad71ed442 - Add highlight_string buffering test 2002-10-03 10:47:47 +00:00
Derick Rethans
b6323ef5e2 - Add tests 2002-10-03 10:43:43 +00:00
Yasuo Ohgaki
d4c7e8bbaf Improve test to show output bufferring bypass bug clearly. 2002-10-02 05:29:06 +00:00
Yasuo Ohgaki
7cacf9713d WS and added missing output.
It seems this bug is fixed in latest version at least.
2002-10-01 11:18:31 +00:00
Marcus Boerger
eb6e31f802 Test argument passing for CLI 2002-08-21 23:10:44 +00:00
Marcus Boerger
9cec8a13bd This does not work for CLI 2002-08-21 23:08:21 +00:00
Stig Bakken
04788f9503 @- Added set_exception_handler() function for registering a global,
@  catch-all exception handling function (Stig)
- Added set_exception_handler() function for registering a global,
  catch-all exception handling function (Stig)
2002-08-16 00:41:37 +00:00
foobar
7d8c9d2f7f Fix the levels. (php.ini-dist has output_buffering OFF) 2002-08-01 12:02:22 +00:00
foobar
725b3573be Use the constant instead of string for locale type. 2002-08-01 11:49:41 +00:00
Hartmut Holzgraefe
40007c2049 Zend Engine behaviour is affected by setlocale() due to use of
locale aware functions like strtod(), atof(), tolower(), toupper() :(
2002-07-17 08:49:26 +00:00
Sander Roobol
fcb692a75d Made the tests (and not only run-tests.php) actually use php.ini-dist, and
removed unused php.ini file.
2002-06-16 10:58:54 +00:00
Preston L. Bannister
3d4d3e3330 Default INI file used with run-tests.php 2002-05-17 03:43:18 +00:00
Preston L. Bannister
5c1d215976 More detailed/explanatory output. 2002-05-16 21:57:24 +00:00
Preston L. Bannister
285b73fa1f Make failed case tell you what was different. 2002-05-16 21:56:44 +00:00
Preston L. Bannister
c2c16263e8 Make test valid for either "register globals" setting. 2002-05-16 21:56:08 +00:00
Preston L. Bannister
b1dbd42c4b Add TEST_PHP_DETAILED usage for verbose test runs. 2002-05-16 21:46:32 +00:00
Preston L. Bannister
7fa0e68dcc Fix typo in SKIP clause. 2002-05-16 16:07:47 +00:00
Preston L. Bannister
aa0702f051 dirname() checks that work for both Unix and Win32. 2002-05-16 15:59:39 +00:00
Preston L. Bannister
e2da502e03 Win32 project and makefile used to invoke run-tests.php 2002-05-15 23:56:04 +00:00
Yasuo Ohgaki
ee26bf084d Added ini_set()/ini_get()/ini_restore() test 2002-04-03 14:34:45 +00:00
Sander Roobol
ef2608925c Updating tests: remove alternative syntax in tests, added a special
alternative-syntax testfile.
2002-03-29 17:12:11 +00:00
Yasuo Ohgaki
7e570674cd Trying to be more clear. 2002-03-29 08:34:02 +00:00
Yasuo Ohgaki
0090003920 Added class method registration test. It does not test
for multiple method definitions due to test script limitation.
# Current CVS source w/o my patch should fail, though.
2002-03-29 02:03:27 +00:00
Yasuo Ohgaki
99723b511e Change title to reasonable one.
# Shall we consider this as a bug or documentation problem?
2002-03-29 01:41:48 +00:00
Jan Lehnardt
26e1958c8e - added basic output buffering tests 2002-03-24 23:16:42 +00:00
Yasuo Ohgaki
5f3d9a67f9 Fix test :) 2002-03-23 01:50:54 +00:00
Yasuo Ohgaki
4a95a9295a Added while(list() = each()) test
# We may want tests/bugs ?
2002-03-23 01:34:50 +00:00
Derick Rethans
141e3d52f7 - Add test for sprintf()'s zero'th argument 2002-03-22 09:09:36 +00:00
foobar
9ccad4a8ba - Fixed the bz2 tests. (and changed the usage comment to be correct) 2002-03-20 02:16:34 +00:00
Wez Furlong
0f65280cb5 New PHP streams... 2002-03-15 21:03:08 +00:00
Yasuo Ohgaki
7f8b2a6533 Fix PHP version and sapi printed so that it does not print bogus
version and sapi name.
2002-03-12 06:43:15 +00:00
Sander Roobol
58a52f93bc Fixed many tests, mostly incorrect paths. 2002-03-08 19:16:19 +00:00
Derick Rethans
eeeb95595f - More test fixes 2002-03-05 09:02:02 +00:00
foobar
2e3fbf41f9 Make these tests work regardless of the register_globals setting. 2001-11-13 12:20:31 +00:00
foobar
76fcdc1afb Fix these to give correct results even if register_globals=off or
register_argc_argv=off.
2001-10-23 11:11:29 +00:00
Jeroen van Wolffelaar
a1c2b86701 Fix the pow-test, it now succeeds on my machine 2001-10-05 23:37:08 +00:00
Jeroen van Wolffelaar
860be31cae More tests 2001-08-05 18:38:48 +00:00
Thies C. Arntzen
d34453258d fixed. 2001-06-21 18:58:55 +00:00
Andi Gutmans
f725a0d11a - Convert cfunction -> function. 2001-04-26 19:42:08 +00:00
Rasmus Lerdorf
334cba47b9 printf argnum (parameter swapping) support from Morten Poulsen 2001-04-09 15:44:24 +00:00
André Langhorst
e35a679e74 more win32 fixes 2001-03-21 12:47:46 +00:00
Uwe Steinmann
415e396ac8 - test script for rewritten domxml module 2001-03-20 15:02:10 +00:00
Hartmut Holzgraefe
f1caba9325 removed LC_* warnin 2001-02-22 18:35:22 +00:00
Sascha Schumann
a1322e145c Sync the expected output with Linux dirname output. The test passes now.
Perhaps this should be split into two tests, because the
Win32 paths don't work properly with PHP's dirname on Unix.
2000-12-24 14:40:37 +00:00
Uwe Steinmann
25e3740bcc - add test for hw_insertanchors() 2000-12-12 16:02:19 +00:00
Andre Langhorst
b03af37e19 updated with =& new syntax 2000-12-06 18:55:52 +00:00
Andre Langhorst
45c218968c added $this in constructor test (fails currently) 2000-12-06 17:56:53 +00:00
Andre Langhorst
41f8d621b6 added OO test (will fail currently) 2000-12-06 16:22:01 +00:00
Hartmut Holzgraefe
5f683e7d78 changed run-tests.php to use 'php -q' instead of 'php -f' 2000-12-03 10:45:53 +00:00
Uwe Steinmann
7c8f9371e5 - add testing for xpath 2000-11-10 10:28:30 +00:00
Hartmut Holzgraefe
86c0d81253 have you ever tried to run the regression tests with error_reporting=E_ALL ?
now it will run smoothly without all theese 'undefined ...' warnings
2000-10-23 07:40:05 +00:00
Stig Bakken
de527c2379 * changed Andi's "testdirname" into a real regression test
# Andi, could you verify that the expected output really
# is correct?
2000-10-04 07:33:21 +00:00
Andi Gutmans
897b701dee - Add dirname() test. Don't have time to create a real regression test 2000-10-03 16:48:48 +00:00
Stanislav Malyshev
bdde2b4303 Remove deprecated call-time reference 2000-09-03 09:12:22 +00:00
Stig Bakken
1bb90f5805 * all tests should pass now (expect for the interbase stuff that I haven't
had the chance to test)
2000-08-31 22:21:47 +00:00
Stig Bakken
315f4f5658 @PHP 3 regression testing framework re-born (Stig)
Took the old PHP 3 regression testing framework and rewrote it in PHP.
Should work on both Windows and UNIX, however I have not tested it on
Windows.  See tests/README for how to write tests.  Added the PHP 3
tests and converted most of them.
2000-08-27 19:46:06 +00:00
David Croft
9ee9eaab3a test file for pfpro 2000-07-15 03:07:49 +00:00
Uwe Steinmann
2d66c98f28 - The pdfclock example using cpdf 2000-07-12 12:50:58 +00:00
Andrei Zmievski
cd5b7dd64a bonsai test 2000-06-20 19:21:11 +00:00
Uwe Steinmann
a35d575ba6 - changes to handle the slightly different access to attributes 2000-06-15 07:06:38 +00:00