Commit Graph

319 Commits

Author SHA1 Message Date
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
Andrei Zmievski
34a7f94d57 test 2000-06-14 15:37:06 +00:00
Clayton Collie
24b26065e0 PHP code to test sscanf() 2000-06-06 19:15:26 +00:00
Andreas Karajannis
1e949e6caa Test scripts for ODBC added 2000-05-28 12:50:19 +00:00
Uwe Steinmann
7bde3adbd4 - test script to test creation of flash files 2000-05-17 15:45:56 +00:00
Andrei Zmievski
74011b6767 Testing. 2000-05-12 13:55:51 +00:00
Andrei Zmievski
dee6170da3 test 2000-05-12 12:49:20 +00:00
Andrei Zmievski
ffef0d8d44 Another test. 2000-05-12 12:45:28 +00:00
Andrei Zmievski
b0f87cdb5f Testing. 2000-05-12 12:44:08 +00:00
Andrei Zmievski
3f65342eb2 test 2000-05-12 12:29:59 +00:00
Andrei Zmievski
06358248a4 Testing. 2000-05-05 14:07:52 +00:00
Zeev Suraski
64f91d80fa Object overloading API changed slightly (llist is now a pointer) 2000-04-10 20:21:02 +00:00
Uwe Steinmann
db065413d1 - fixed invalid class names
- added standalone, encoding attribute to DocDocument class
2000-03-14 20:58:10 +00:00
Uwe Steinmann
ff2443eb67 - bug fix, insertion of links back into HTML document
- smarter test script
2000-03-09 12:45:55 +00:00
Uwe Steinmann
d037fdc8be - several fixes and cleanups in hw module 2000-03-08 17:51:58 +00:00
Uwe Steinmann
dd4f37a4cf - tiny changes to testscript and domxml 2000-03-03 12:38:20 +00:00
Uwe Steinmann
2552876786 - dom class now distinguishes between $dom->root() and $dom->children()
$dom->root() returns just the element, $dom->children() all nodes e.g.
  comments
2000-03-02 16:58:07 +00:00
Uwe Steinmann
ad311c35c7 - The root node of a xml doc is now an array since it is possible
to have a comment or pi and an element on root level.
2000-03-02 16:39:50 +00:00
Uwe Steinmann
d693d6b2cb - started to implement overload class for xml node 2000-03-01 21:16:24 +00:00
Uwe Steinmann
9133a9b8b0 - some tiny changes to the test routine 2000-02-22 17:03:36 +00:00
Uwe Steinmann
5dd0055c77 - pdf_set_text_matrix() disappeared in pdflib 2.30. Put in another ifdef
- small fix in testdom to suppress error msg.
2000-02-21 16:23:09 +00:00
Zeev Suraski
f1dac01f11 - Fix some issues with the ISAPI module, made it friendlier to non Win32 platforms
- Added .reg file for PWS setup
- Reordered some stuff in phpinfo()
2000-02-18 17:59:44 +00:00
Uwe Steinmann
d526de3fa8 - fixed bug if attribute value is entity 2000-02-17 20:30:00 +00:00
Uwe Steinmann
995c565fba - change some function name into php style 2000-02-17 15:05:24 +00:00
Uwe Steinmann
992e808451 - added funktion xmltree(), renamed dom() to xmldoc() and domfile()
to xmldocfile().
- testdom covers most of the functionality
2000-02-10 15:24:13 +00:00
Uwe Steinmann
e548a31510 - removed stupid leftover in testdom
- added more functions to domxml
2000-02-09 20:06:23 +00:00
Uwe Steinmann
9603c7cc83 - new function to read and parse xml doc from file 2000-02-09 14:07:44 +00:00
Uwe Steinmann
06c586932a - fixed several bugs an did some testing. Parsing and creating simple
XML docs should work. See the script testdom.
2000-02-09 12:46:32 +00:00
Andi Gutmans
8c813dbb96 - Make Win32 compile again 2000-02-05 17:58:11 +00:00
Uwe Steinmann
38fb57f9d6 - some more testing 2000-02-03 21:12:30 +00:00
Uwe Steinmann
87f72a4b06 - add another comment to the script 2000-01-26 06:31:29 +00:00
Uwe Steinmann
49be46409c - test script for domxml 2000-01-26 06:22:44 +00:00
Andi Gutmans
28bfab716b - Make Win32 compile again 1999-12-18 17:44:56 +00:00
Uwe Steinmann
39a389d855 - extended test script for cpdf by GD image insertion 1999-11-23 09:04:31 +00:00
Uwe Steinmann
e8b05d1137 - test for hyperwave module 1999-11-22 16:09:07 +00:00
Uwe Steinmann
7966dbc01c - test for cpdf module 1999-11-22 16:08:27 +00:00
Andi Gutmans
4a8cac0878 - Converted math.c to use new convert_to_number_ex() macro. 1999-10-15 06:31:40 +00:00
442628d935 mailing list test 1999-10-08 16:00:10 +00:00
9e870afa39 testing 1999-10-08 15:29:13 +00:00
0bbe641a91 test 1999-10-08 15:23:58 +00:00
Andrei Zmievski
ca6cf936b8 Test commit again.
# add white space
1999-10-07 14:32:07 +00:00
Andrei Zmievski
91dffe9126 Testing commit.
@ Removed white space.
1999-10-07 14:24:18 +00:00
Andrei Zmievski
cec7e90996 *** empty log message *** 1999-10-04 20:35:28 +00:00
Andrei Zmievski
95c970030b test 1999-10-04 20:34:46 +00:00
Andrei Zmievski
6b2003dd2a test 1999-10-04 20:28:44 +00:00
Andrei Zmievski
cbddc54b6f test 1999-10-04 19:55:16 +00:00
Andrei Zmievski
68d423b3ee test commit 1999-10-02 21:13:06 +00:00
Andrei Zmievski
e721e560e5 test commit 1999-10-02 21:06:30 +00:00
Andrei Zmievski
56af2d063e test commit 1999-10-02 20:46:41 +00:00
Andrei Zmievski
bbc72d6eb6 test commit 1999-10-02 20:38:09 +00:00
Andrei Zmievski
26b5ef7435 test commit 1999-10-02 20:26:17 +00:00
Andrei Zmievski
debf741e82 commit test 1999-10-02 20:22:29 +00:00
Andrei Zmievski
9387719dac test 1999-10-02 20:10:35 +00:00
Andrei Zmievski
62f0dbb0c4 test commit 1999-10-02 20:07:07 +00:00
Andrei Zmievski
34e4269172 test commit 1 1999-10-02 20:03:07 +00:00
Andrei Zmievski
32604578de test commit 1999-10-02 19:22:47 +00:00
Andi Gutmans
cf6c92949c - Get rid of warning 1999-09-28 17:37:06 +00:00
Andi Gutmans
96a19593b2 - Internal functions which are basic language functions should be in Zend
and not in PHP. I.e. strlen(), each(), error_reporting(), count(),
  get_class_name().
1999-09-20 16:56:02 +00:00
Andi Gutmans
91ec4763fd Support resource type in gettype() 1999-08-01 17:56:09 +00:00
Andi Gutmans
e3246872e3 -Tiny fix 1999-07-29 04:03:03 +00:00
Andi Gutmans
a7af382874 - Added get_class($obj), get_parent_class($obj) and method_exists($obj,"name") 1999-07-28 17:58:38 +00:00
Andi Gutmans
8f51f72dc6 - Fix the new operator incompatibility.
- I commented PHP_FUNCTION(strtotime) in datetime.c because it stopped
  win32 from compiling. This needs to be fixed!!!
- Check out libzend to compile the tree now.
1999-07-26 16:57:06 +00:00
Andrey Hristov
743935ca8e More cleanup. 1999-07-08 21:56:19 +00:00
Andrey Hristov
cef4df1fee Reduce clutter a bit. 1999-07-08 21:42:29 +00:00