Commit Graph

211 Commits

Author SHA1 Message Date
Marcus Boerger
c9c13a7336 Add new test 2004-03-27 15:49:23 +00:00
Pierre Joye
3d331bc64c - Test for possible data corruption with __set 2004-03-18 15:14:02 +00:00
Marcus Boerger
6d7f04307d Update message 2004-03-16 18:09:52 +00:00
Pierre Joye
fd8cea693a - initial commit
test case for #27504 (http://bugs.php.net/bug.php?id=27504)
2004-03-16 16:45:44 +00:00
Marcus Boerger
2bdcfe4d0e Update test 2004-03-09 16:51:02 +00:00
Marcus Boerger
b6b7c9eb65 Rename hasMore() to valid() as discussed. (Part I) 2004-03-08 17:33:31 +00:00
Dmitry Stogov
09a7d5bb2f Test files were fixed acording to new constructor redeclaration semantic 2004-03-05 12:18:16 +00:00
Dmitry Stogov
215c71ee7c Test file was fixed (stack trace is removed) 2004-03-05 12:16:28 +00:00
Derick Rethans
21141e1378 - Fixed timing issues in test 2004-03-02 21:14:10 +00:00
Derick Rethans
5f7553e24c - Added testcase for bug #27468 2004-03-02 21:03:24 +00:00
Marcus Boerger
ced7dfddbd The order of error has changed here. So the expectations must change too. 2004-02-27 09:17:55 +00:00
Marcus Boerger
9346ff2de4 Fixes for abstract classes 2004-02-26 20:11:28 +00:00
Zeev Suraski
fe4239d0d7 Fix test 2004-02-12 14:12:37 +00:00
Marcus Boerger
c6cbafa273 Fix: <interface> [extends <interface> [, <ineterface>]* ] 2004-02-11 22:13:39 +00:00
Marcus Boerger
629c3da19d Add test 2004-02-04 22:18:35 +00:00
Zeev Suraski
aa4fa62fc8 Update test (reason: early binding changes its behavior) 2004-02-04 17:47:35 +00:00
Zeev Suraski
4b4351c2d9 Update test (reason: early binding changes its behavior) 2004-02-04 17:45:08 +00:00
Marcus Boerger
dfad2955ee Update tests 2004-02-03 22:07:29 +00:00
Marcus Boerger
38e5a2a374 Update tests 2004-02-03 21:52:46 +00:00
Marcus Boerger
a3a19e915a Change to correct syntax.
# The test will still fail though.
2004-01-21 22:36:49 +00:00
foobar
f4983c0d3f - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00
foobar
f584b9e168 typofix 2004-01-17 06:18:09 +00:00
Marcus Boerger
2fc7a07e62 Use __tostring() in all printing functions. 2003-12-29 22:26:48 +00:00
Marcus Boerger
23191fb208 Add some __autoload() tests. 2003-12-29 12:36:31 +00:00
Marcus Boerger
e29f589d46 Add more tests. 2003-12-28 18:03:05 +00:00
Marcus Boerger
26a0abbd0c Fix tests now that class names are shown in correct casing 2003-12-22 22:50:02 +00:00
Marcus Boerger
06788f0438 Fixed bug #26675 (Segfault on ArrayAccess use)
Update NEWS
2003-12-22 16:27:14 +00:00
Dmitry Stogov
df76eba657 New tests for memory leaks 2003-12-19 15:08:56 +00:00
Dmitry Stogov
25a811da65 Assign_op operators (+=) were fixed for elements of overloaded objects 2003-12-19 11:22:13 +00:00
Marcus Boerger
e515b246cb Fix test 2003-12-19 10:23:05 +00:00
Marcus Boerger
06aad2d22d Add test for foreach visibility 2003-12-19 10:16:08 +00:00
Marcus Boerger
73b895ca5f Add new test 2003-12-17 22:14:59 +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
Marcus Boerger
1e2349a1f1 Fix test 2003-12-14 17:42:57 +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
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
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
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
Marcus Boerger
2f51c2acf4 Once is enough 2003-08-17 12:13:26 +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
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
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
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
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
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
c44e4eddbe fix test so it does not depend on variable order 2003-06-16 09:27:33 +00:00
Marcus Boerger
cae9aab2c0 Goodbye namespaces 2003-06-07 00:57:07 +00:00
Derick Rethans
0346fb6a89 - Add test case for bug #23951 2003-06-02 11:12:25 +00:00
Marcus Boerger
a6d0c66a16 Change tests to reflect error message changes 2003-05-04 19:50:28 +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
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
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
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
c775318c44 Fixed typo 2003-03-06 16:55:00 +00:00
Moriyoshi Koizumi
1f85425c4d Fixed typo 2003-03-06 16:20:08 +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
5f1975a432 New test which currently fails 2003-02-23 03:03:09 +00:00
Marcus Boerger
984cde3123 Add PPP method tests 2003-02-05 23:07:24 +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
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
edf4496491 - Add test case for bug 20120, bison bug. 2002-10-27 18:44:35 +00:00
Andi Gutmans
f725a0d11a - Convert cfunction -> function. 2001-04-26 19:42:08 +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