Commit Graph

296 Commits

Author SHA1 Message Date
Felipe Pena
7504d57043 - Fixed tests (unicode results, UEXPECT, line endings) 2008-06-13 00:18:57 +00:00
Etienne Kneuss
0e213d1628 Add tests from testfest 2008-06-12 20:51:25 +00:00
Etienne Kneuss
3dcd9ca7a2 Add tests from testfest 2008-06-12 20:46:00 +00:00
Antony Dovgal
b519f3c83e more checks and tests 2008-06-07 21:35:53 +00:00
Antony Dovgal
a5c08c6a6d more tests (by Felipe) 2008-06-07 14:10:21 +00:00
Etienne Kneuss
bd233197fd Implements C arrays wrapper 2008-06-06 23:53:10 +00:00
Felipe Pena
6c06a591f2 - Removed UEXPECT(F) 2008-05-27 16:53:36 +00:00
Felipe Pena
77080b64d9 - Removed UEXPECT(F) 2008-05-27 02:55:52 +00:00
Etienne Kneuss
be6d55935c Add a prepend param to spl_autoload_register 2008-05-25 12:17:27 +00:00
Etienne Kneuss
e28bcbbf60 remove the skipif 2008-05-25 12:10:14 +00:00
Sebastian Bergmann
1517e12411 Drop SKIPIF check for ext/spl. 2008-05-25 06:03:44 +00:00
Etienne Kneuss
649f10fd3f New tests from testfest 2008-05-24 16:48:15 +00:00
Sebastian Bergmann
7efb792fe8 Drop SKIPIF check for ext/spl. 2008-05-24 14:17:44 +00:00
Sebastian Bergmann
28d77dff61 MFB: Drop SKIPIF check for ext/spl. 2008-05-24 14:12:00 +00:00
Etienne Kneuss
fa3ae04c28 Add tests from testfest 2008-05-24 13:40:33 +00:00
Etienne Kneuss
e35e5b93e3 Fix path lookup when include_path is used 2008-05-20 21:46:13 +00:00
Etienne Kneuss
1d2bfff3a9 Fix FilesystemIterator with ./.. 2008-05-16 13:22:02 +00:00
Etienne Kneuss
db0e4fac8b Implement SplPriorityQueue::getExtractFlags() 2008-05-15 17:05:20 +00:00
Etienne Kneuss
abd85a3ec1 Sync spl tests with 5.3 2008-05-08 12:03:18 +00:00
Marcus Boerger
3264a25717 - Fix possible memory corruption 2008-03-13 19:45:22 +00:00
Etienne Kneuss
5a10df8c56 Fix bug #41828 (Fix crash on wrong instantiation) 2008-03-12 13:35:04 +00:00
Etienne Kneuss
69a686dd6f Fix #44144 (object methods as spl autoload functions returned correctly) 2008-02-29 13:48:09 +00:00
Etienne Kneuss
47c663a943 Fix tests in non-unicode mode 2008-02-29 13:45:19 +00:00
Felipe Pena
4f83f918c5 Added UEXPECT 2008-02-28 15:41:56 +00:00
Etienne Kneuss
cb51a84418 SplHeap, SplMinHeap, SplMaxHeap, SplPriorityQueue implementation 2008-02-25 23:36:36 +00:00
Felipe Pena
e97f7311a8 Fixed tests (new error message - E_DEPRECATED) 2008-02-23 21:51:37 +00:00
Marcus Boerger
c345217eab - Make this behave like in <= 5.2.5 and test for it 2008-02-13 12:01:16 +00:00
Marcus Boerger
3c7c97303d - Fix ArrayObject serializing
- Fix test expectations
2008-02-04 16:47:06 +00:00
Marcus Boerger
ea6907a055 - Fix test 2008-02-04 16:12:47 +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
b315388200 Fix tests (new error message) 2008-02-04 14:02:01 +00:00
Marcus Boerger
c437d4d430 - Fix test 2008-01-31 07:43:49 +00:00
Marcus Boerger
3eadc491a2 - Test went to 5.2... somehow.... very strange 2008-01-27 18:19:45 +00:00
Marcus Boerger
77d7cbaa66 - Add second parameter to SplObjectStorage::attach()
- Add SplObjectStorage::setInfo()
- Add SplObjectStorage::getInfo()
2008-01-27 18:04:54 +00:00
Etienne Kneuss
dee0ae6da5 -Pointer doesn't move if we're moving forward and shifting at the same time
-Userland implementation
-Doxygen doc
2008-01-27 13:54:32 +00:00
Etienne Kneuss
2b70f51668 Iterator implementation for SplDoublyLinkedList, SplStack, SplQueue 2008-01-26 18:06:51 +00:00
Etienne Kneuss
2049896282 Fix mem errors 2008-01-20 12:51:33 +00:00
Etienne Kneuss
822941ee7d Implement splDoublyLinkedList, splQueue, splStack classes in SPL 2008-01-15 09:37:50 +00:00
David Coallier
8f41f80411 - Added other test with some unicode words (Sorry if this chinese word
turns out to be offensive I have no clue what it means, just copied it)
2007-12-14 04:49:47 +00:00
David Coallier
4b5929f7bf - MFB: Merged bug41528.phpt test from 5_3
- Added a very similar test but this one just makes sure we keep
  all the properties of the class members that we just serialized
2007-12-14 04:23:09 +00:00
Marcus Boerger
5dfcb7dee0 - MFB Add tests 2007-11-06 15:29:32 +00:00
Marcus Boerger
a860f45d72 - Commit new tests to correct brnach (funny broken checkout) 2007-10-18 05:09:49 +00:00
Jani Taskinen
9eb9d74932 - Fixed skipif block 2007-09-20 14:27:58 +00:00
Johannes Schlüter
6eccdf9203 - Fixed Bug #42364 Crash when using getRealPath with DirectoryIterator 2007-08-21 22:43:38 +00:00
Rob Richards
4d17d8c681 fix bug #42259 (SimpleXMLIterator loses ancestry)
add test
2007-08-14 12:09:52 +00:00
Antony Dovgal
c771e2bf44 fix #41691 (ArrayObject::exchangeArray hangs Apache) 2007-07-20 10:53:45 +00:00
Antony Dovgal
a63e107188 add missing skipifs 2007-07-16 13:46:38 +00:00
Dmitry Stogov
3c347a6bd9 Fixed test 2007-07-10 10:16:14 +00:00
Antony Dovgal
145c29a96d apply corrected fix
fix tests
2007-06-27 12:38:20 +00:00
Antony Dovgal
a77541ebc2 fix #41692 (ArrayObject shows weird behaviour in respect to inheritance) 2007-06-27 12:17:30 +00:00
Antony Dovgal
ccd97f3a21 fix test names 2007-05-07 17:23:53 +00:00
Johannes Schlüter
20582e9a3c - Add new test 2007-04-30 19:52:04 +00:00
Dmitry Stogov
2942319547 Fixed test 2007-04-18 08:34:58 +00:00
Marcus Boerger
a4ee3cbff7 - Fix Bug #40872 (inconsistency in offsetSet, offsetExists treatment of string enclosed integers) 2007-03-20 20:21:39 +00:00
Marcus Boerger
ab2c4ffe54 - Mode debug info 2007-01-20 16:19:20 +00:00
Marcus Boerger
c6ccbf32fb - Make use of get_debug_info() handler in ArrayObject/Iterator 2007-01-20 14:03:59 +00:00
Marcus Boerger
4c0b85ba26 - Make use of get_debug_info handler in SplObjectStorage 2007-01-19 23:23:08 +00:00
Marcus Boerger
d01145a893 - A few unicode fixes and tidying 2007-01-19 00:36:11 +00:00
Marcus Boerger
a1c0bfdb5d - Different results in unicode now 2007-01-17 22:49:39 +00:00
Dmitry Stogov
e28fd01d7d Fixed tests 2007-01-10 16:00:57 +00:00
Marcus Boerger
54917a290b - MFH (Ilia's changes) 2007-01-09 18:38:38 +00:00
Marcus Boerger
14a81a2974 - Add unicode expectations 2006-12-20 22:08:51 +00:00
Marcus Boerger
8fb4a771bc - Fix test name 2006-12-20 22:08:35 +00:00
Marcus Boerger
a0733cc2fa - More tests
- Test naming
2006-12-18 23:01:29 +00:00
Marcus Boerger
5a04fb4815 - Support members in SplObjectStorage serialization / shorter serialization 2006-12-18 22:32:10 +00:00
Marcus Boerger
e02a15a625 - Make this work in unicode mode
# Well of course i should have set the return type to ascii here :-)
2006-12-17 23:23:33 +00:00
Marcus Boerger
1b11ae1e74 - Implement feature request #39836i (SplObjectStorage empty after
unserialize)
# Unicode mode currently does not work...looks like funny changes in the
# unserializer.
2006-12-16 13:55:14 +00:00
Dmitry Stogov
f37ad2e146 Fixed bug #39775 ("Indirect modification ..." message is not shown) 2006-12-08 16:23:04 +00:00
Marcus Boerger
91ac043e7e - Add new test 2006-11-20 19:55:54 +00:00
Hannes Magnusson
d98dfdb119 SplFileObject::getFilename() should not overwrite SplFileInfo::getFilename()
(Fixes bug where SplFileObject::getFilename() returns relative/path/to/file)
2006-11-12 17:08:45 +00:00
Hannes Magnusson
d8895dd81d Fix segfault on $splinfo->openFile()->getPath()
Improve test
2006-11-06 15:20:23 +00:00
Marcus Boerger
6a73cbe914 - Fixed Bug #39313 spl_autoload triggers Fatal error 2006-10-31 23:18:00 +00:00
Sara Golemon
5f19062164 Update test to reflect fix in spl_array.c r-1.114 2006-10-19 22:30:55 +00:00
Antony Dovgal
074615035f fix spl tests 2006-09-19 12:01:18 +00:00
Marcus Boerger
f9e0395529 - Update tests 2006-07-24 23:34:35 +00:00
Marcus Boerger
ebbc559af5 - Update tests 2006-07-21 20:11:24 +00:00
Marcus Boerger
8e3af0a026 - Change order of ctor args
# Do it before the child falls in the brunnel - aka prior to first release.
2006-07-20 22:35:44 +00:00
Marcus Boerger
bec72dba2a - Update RegexIterator 2006-07-20 21:21:20 +00:00
Marcus Boerger
754a741248 - Upgrade RegexIterator capabilities, see docu 2006-07-16 20:52:20 +00:00
Marcus Boerger
78f9ab3454 - This test fails right now and requires a zend API change to fix 2006-07-16 19:50:43 +00:00
Marcus Boerger
4aa20e0781 - Correct test name 2006-07-16 17:33:46 +00:00
Marcus Boerger
395d4ae5e3 - Fix issue with SplFileObject and directories 2006-07-15 13:01:44 +00:00
Marcus Boerger
359dace679 - Add spl_object_hash() 2006-07-09 10:22:03 +00:00
Marcus Boerger
634fd5e58d - Add new test 2006-07-08 11:43:07 +00:00
Hannes Magnusson
e18bb1ce3d Fix/add SKIPIF 2006-06-27 00:09:23 +00:00
Sara Golemon
a8ca40564c Minor fixes (bjori) 2006-05-30 19:05:21 +00:00
Marcus Boerger
f876597452 - Fix handling of third parameter to iterator_apply()
- Add test
2006-05-26 01:40:57 +00:00
Antony Dovgal
a2f0632198 fix test 2006-05-24 23:05:30 +00:00
Marcus Boerger
c7bf318305 - Make code exception safe
- Make RecursiveRegexIterator::getChildren pass regex to inner ctor
- Fix CachingIterator::__toString() in TOSTRING_USE_KEY mode
- Add CachingIterator::getCache()
- Add tests
2006-05-21 17:27:12 +00:00
Marcus Boerger
9264ec9b63 - There is a problem in the string / unicode comparison here which we
do not want to test here, so simply drop the part which is irrelevant
  to the actual test
2006-05-21 12:48:42 +00:00
Marcus Boerger
97e798257a - Remove duplicate error message and add new test 2006-05-21 12:42:00 +00:00
Marcus Boerger
0a0d7b046d - Split up the test in different problem categories 2006-05-20 20:38:28 +00:00
Marcus Boerger
9b314a8406 - Update test 2006-05-20 19:01:22 +00:00
Marcus Boerger
05de29995f - Provide a generic c-level iterator apply function
- Base iterator_to_array() and iterator_count() on it
- Add a testcase
# Somehow there is an issue with exceptions in __destruct() here
2006-05-20 13:23:00 +00:00
Marcus Boerger
4c75c6bf29 - Add new test 2006-05-18 22:51:23 +00:00
Marcus Boerger
fae99963dc - Add new test 2006-05-18 22:41:14 +00:00
Marcus Boerger
fbb48b6f26 - Add new test 2006-05-18 21:56:57 +00:00
Marcus Boerger
4439e2c530 - Fixed CachingIterator issues with string conversion/__toString()
Partly by adding new mode TOSTRING_USE_INNER
2006-05-18 21:41:37 +00:00
Marcus Boerger
ac0a0664ce - Fix test in unicode mode 2006-05-18 21:40:30 +00:00