Commit Graph

231 Commits

Author SHA1 Message Date
Steve Seear
f48e23c67f Adding PHPT tests for the ReflectionProperty class. 2007-12-18 17:21:55 +00:00
Ilia Alshanetsky
f0197278e0 Fixed bug #42976 (Crash when constructor for newInstance() or
newInstanceArgs() fails)
2007-10-28 13:42:24 +00:00
Johannes Schlüter
179c67a64b - New ReflectionExtension::info() function to print the phpinfo() block
for an extension. [DOC]
2007-07-24 23:15:58 +00:00
Zoe Slattery
55ff728d73 reflectionObject tests 2007-07-12 21:03:39 +00:00
Antony Dovgal
d3ac984385 MFH 2007-07-11 22:06:54 +00:00
Zoe Slattery
addad71048 More reflectionClass tests 2007-07-11 20:11:34 +00:00
Zoe Slattery
90fd8fd7e8 tests for reflectionClass 2007-07-10 16:25:15 +00:00
Zoe Slattery
4c22d54e23 ReflectionClass constructor tests 2007-07-09 13:22:10 +00:00
Antony Dovgal
66859a74de fix tests 2007-04-26 23:30:00 +00:00
Johannes Schlüter
bbcd8c5b69 - Fix bug #41061 ("visibility error" in ReflectionFunction::export()) 2007-04-12 18:39:46 +00:00
Antony Dovgal
c668dc0a26 add missing SKIPIF sections 2007-04-12 12:29:48 +00:00
Antony Dovgal
9788d96b0c add new test 2007-04-12 12:23:30 +00:00
Antony Dovgal
ddc07c90b6 new test 2007-03-19 08:11:14 +00:00
Antony Dovgal
9c100b20e6 MFH 2007-02-10 20:52:42 +00:00
Ilia Alshanetsky
72895cda6d Fixed bug #39884 (ReflectionParameter::getClass() throws exception for type
hint self).
2006-12-22 15:37:48 +00:00
Johannes Schlüter
dcf249004c - MFH: Fix #38465 (ReflectionParameter fails if default value is an access to self:: 2006-10-18 16:35:15 +00:00
Antony Dovgal
aeec5b4b68 MFH: fix #39125 (Memleak when reflecting non-existing class/method) 2006-10-11 15:52:56 +00:00
Antony Dovgal
3a4603b4b0 more improvements 2006-10-06 18:03:19 +00:00
Antony Dovgal
d917bf084c MFH: fix #39067 (getDeclaringClass() and private properties) 2006-10-06 17:35:32 +00:00
Antony Dovgal
c356ad3b65 MFH: #39001 (ReflectionProperty returns incorrect declaring class for protected properties) 2006-10-02 12:16:35 +00:00
Hannes Magnusson
b806546e95 Fix test
#failes atm...
2006-10-02 08:36:35 +00:00
Dmitry Stogov
a04b6ed6bc Fixed bug #38942 (Double old-style-ctor inheritance) 2006-09-26 07:55:21 +00:00
Antony Dovgal
7b588b5bcd fix test 2006-09-12 10:42:32 +00:00
Antony Dovgal
86bf55a3d8 MFH: fix #38653 (memory leak in ReflectionClass::getConstant()) 2006-08-30 10:42:49 +00:00
Ilia Alshanetsky
7b409b2276 Improved fix for bug #38132 2006-07-26 23:18:41 +00:00
Antony Dovgal
65626296da MFH: fix bug #38217 (ReflectionClass::newInstanceArgs() tries to allocate too much memory) 2006-07-26 08:03:48 +00:00
Ilia Alshanetsky
e11e2a137c Fixed bug #38132 (ReflectionClass::getStaticProperties() retains \0 in key
names).
2006-07-25 14:06:52 +00:00
Ilia Alshanetsky
bd581ab476 Fixed bug #38194 (ReflectionClass::isSubclassOf() returns TRUE for the
class itself).
2006-07-25 12:34:38 +00:00
Marcus Boerger
71efa5b435 - MFH Fixed bug #37816 (ReflectionProperty does not throw exception when accessing protected attribute) 2006-07-10 00:18:53 +00:00
Marcus Boerger
4651f79ed5 - Missing skipif 2006-03-19 18:25:51 +00:00
Marcus Boerger
0add197ec8 - MFH:
- Fix ReflectionParameter
  . Reintroduce getClass()
  . Change getDeclaringClass() to return what it suggests
  . (inactive but tested) Add getDeclaringFunction()
  . (inactive but tested) Add getPosition()
- Fix tests accordingly
# This also fixes Bug #36687 ReflectionParameter::getDeclaringClass returns
# wrong result
2006-03-12 17:22:34 +00:00
Marcus Boerger
e16bba12b1 - Prefix test names
- Add missing skipif
2006-03-12 12:38:25 +00:00
Johannes Schlüter
3e056bc13c - Fix tests 2006-02-27 00:18:59 +00:00
Johannes Schlüter
611a6dece9 - MFH: Fix description 2006-02-24 23:25:57 +00:00
Johannes Schlüter
027abfd702 - MFH: Fix #29986 (Class constants won't work with predefined constants when
using ReflectionClass)
2006-02-24 23:09:22 +00:00
Ilia Alshanetsky
07e7092729 Added test for bug #36434 2006-02-22 15:45:25 +00:00
Antony Dovgal
c65d61a301 add test for bug #36337 2006-02-14 09:46:16 +00:00
Ilia Alshanetsky
044d24a23c Added test for bug #36308 2006-02-09 18:18:18 +00:00
Marcus Boerger
cb4bb6e389 - MFH Bug #36141 Add ReflectionClass::newInstanceArgs($args) 2006-01-25 22:03:54 +00:00
Dmitry Stogov
863bf8a574 Fixed bug #29268 (__autoload() not called with Reflection->getClass()) 2005-10-21 08:03:28 +00:00
Dmitry Stogov
976edd47e2 Fixed bug #32981 (ReflectionMethod::getStaticVariables() causes apache2.0.54 seg fault) 2005-08-17 11:54:34 +00:00
Marcus Boerger
f845c37b41 - Fix test 2005-06-21 18:34:21 +00:00
Marcus Boerger
5cc056a6ce - Output shows false lowercased 2005-06-20 01:10:33 +00:00
foobar
21ce9394a7 revert - now it works again?! 2005-06-19 17:06:48 +00:00
foobar
a91a5601e4 fix test 2005-06-18 23:23:45 +00:00
foobar
185648217f test for bug #33389 2005-06-18 01:01:48 +00:00
foobar
a491b82c4c No short-tags! 2005-06-17 16:40:05 +00:00
Dmitry Stogov
e6dcba6052 Fixed bug #33312 (ReflectionParameter methods do not work correctly) 2005-06-13 07:55:08 +00:00
Dmitry Stogov
0a44789bf3 Fixed bug #30961 (Wrong linenumber in ReflectionClass getStartLine()) 2005-06-08 06:49:01 +00:00
Marcus Boerger
3453cf642a - Add new tests 2005-05-26 12:22:18 +00:00
Marcus Boerger
43a5cee728 - Add more tests 2005-04-17 20:33:20 +00:00
Marcus Boerger
5b21e48557 - Fix even though we already know that the function will be renamed 2005-04-15 18:53:42 +00:00
Marcus Boerger
53e5eb8032 - Add new test 2005-04-08 13:34:30 +00:00
Marcus Boerger
893e9c0498 - Add new test 2005-02-27 22:25:11 +00:00
Marcus Boerger
d308d6d462 - Rename 2005-02-13 13:57:51 +00:00
Marcus Boerger
0a9e940ab7 - Add new test 2005-02-13 13:50:30 +00:00
Marcus Boerger
bad986232b - Update after fixing it 2005-01-22 12:22:01 +00:00
Marcus Boerger
a01e3435de _ Add test for bug 31651 2005-01-22 11:46:56 +00:00
Marcus Boerger
4ab537fc61 - Add new test 2004-11-24 19:56:25 +00:00
Marcus Boerger
a898c2dd28 Fix classnames 2004-09-29 08:55:45 +00:00
Marcus Boerger
93753e19b1 Add new test 2004-09-29 08:48:16 +00:00
Marcus Boerger
0e68cf3cdb - Add new test 2004-09-27 22:23:31 +00:00
Marcus Boerger
5ab692da02 - Add new test 2004-09-27 21:24:45 +00:00
Marcus Boerger
2e49a2d960 Add test description 2004-09-23 18:43:21 +00:00
Marcus Boerger
c0b62ca36d Add new test 2004-09-23 18:38:34 +00:00
Marcus Boerger
dfe23e34d9 Add new test 2004-09-19 11:53:30 +00:00
Marcus Boerger
980424a834 Add new test 2004-09-19 11:26:05 +00:00
Marcus Boerger
b1d43bac61 Fix test: Classes cannot extend Interfaces 2004-08-26 22:58:12 +00:00
Marcus Boerger
5960786cc6 Add new test 2004-08-26 22:24:48 +00:00
Marcus Boerger
90e4fd0a0a - Fix bug #29523 (ReflectionParameter::isOptional() is incorrect) 2004-08-04 22:47:56 +00:00
Marcus Boerger
70268f05ef - Expand to test number of parameters 2004-08-02 23:10:53 +00:00
Marcus Boerger
2803965525 Correct test name 2004-08-02 23:00:35 +00:00
Marcus Boerger
ef9e7e5d9e Add test 2004-08-02 22:59:58 +00:00
Marcus Boerger
9f8ba2e8a1 Fix tests 2004-03-30 21:17:52 +00:00
Marcus Boerger
76ae4e10bf Fix test 2004-03-30 21:13:05 +00:00
Pierre Joye
0132cc897b - include exception.inc not .php 2004-03-02 15:57:41 +00:00
Pierre Joye
dd7ba93e19 - excpetion.php => exception.inc (derick) 2004-03-01 20:44:11 +00:00
Pierre Joye
6f68407894 - initial release, reflection tests suite 2004-03-01 20:40:51 +00:00
foobar
07cf808861 Added test case for bug #26640 2004-01-16 18:24:31 +00:00
Marcus Boerger
717604ea70 Add more tests 2003-12-22 22:53:48 +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