php-src/ext/curl/tests
Nikita Popov 3ae995f03c Tweak uncaught exception message display
This implements a reduced variant of #1226 with just the following
change:

-Fatal error: Uncaught exception 'EngineException' with message 'Call to private method foo::bar() from context ''' in %s:%d
+Fatal error: Uncaught EngineException: Call to private method foo::bar() from context '' in %s:%d

The '' wrapper around messages is very weird if the exception
message itself contains ''. Futhermore having the message wrapped
in '' doesn't work for the "and defined" suffix of
TypeExceptions.
2015-05-17 18:47:06 +02:00
..
responder Allow NULL as value for CURLOPT_CUSTOMREQUEST option. 2014-02-28 18:27:22 +08:00
bug27023.phpt Remove unsafe curl file uploads 2015-03-09 11:00:04 +01:00
bug45161.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
bug46711.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
bug46739.phpt The test for bug #46739 doesn't actually need the remote 2009-07-26 02:12:38 +00:00
bug48203_multi.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
bug48203.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
bug48207.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
bug48514.phpt - MFH: Fixed bug #48514 (cURL extension uses same resource name for simple and multi APIs) 2009-06-12 20:48:28 +00:00
bug52202.phpt Fixed bug #52202 (CURLOPT_PRIVATE gets corrupted). 2010-11-30 13:40:02 +00:00
bug52827.phpt Fix bug #52827 (cURL leaks handle and causes assertion error (CURLOPT_STDERR)). 2010-09-14 10:58:59 +00:00
bug54798.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
bug54995.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
bug55767.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
bug61948-win32.phpt adapt test to curl 7.35.0 upgrade 2014-02-05 15:15:34 +01:00
bug61948.phpt Fixed bug #62499 (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false) 2012-07-09 08:32:40 +08:00
bug62839.phpt Fixed Bug #63103 (ext\curl\tests\bug62839.phpt broken) 2012-09-18 10:46:58 +08:00
bug63363.phpt CURL >= 7.28.0 no longer support value 1 for CURLOPT_SSL_VERIFYHOST) 2012-12-21 19:10:55 -05:00
bug63795.phpt CURL >= 7.28.0 no longer support value 1 for CURLOPT_SSL_VERIFYHOST) 2012-12-21 19:10:55 -05:00
bug64267.phpt fix test locality inconsitency 2014-04-30 13:01:59 +02:00
bug65458.phpt Track created curl_slist structs by option so they can be updated in situ. 2013-08-19 12:01:04 -07:00
bug65646_open_basedir_new.phpt Allow CURLOPT_FOLLOWLOCATION to be used with open_basedir. 2013-09-10 11:42:42 -07:00
bug65646_open_basedir_old.phpt Allow CURLOPT_FOLLOWLOCATION to be used with open_basedir. 2013-09-10 11:42:42 -07:00
bug65646.phpt Allow CURLOPT_FOLLOWLOCATION to be used with open_basedir. 2013-09-10 11:42:42 -07:00
bug66109.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
bug67643.phpt Add a test for bug #67643 (curl_multi_getcontent returns '' when RETURNTRANSFER isn't set) 2014-11-30 22:18:22 -08:00
bug68089.phpt fix dir separator in test 2014-11-05 15:42:45 +01:00
bug68937_2.phpt indent 2015-01-30 13:19:27 +08:00
bug68937.phpt Fixed bug #68937 (Segfault in curl_multi_exec) 2015-01-30 13:12:58 +08:00
bug69316.phpt fix test 2015-04-13 16:10:05 -07:00
bug69485.phpt Fixed bug #69485 (Double free on zend_list_dtor). 2015-04-20 11:48:21 +08:00
check_win_config.phpt reveal some newer libcurl features in MINFO 2014-10-03 21:47:00 +02:00
curl_basic_001.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_basic_002.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_basic_003.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_basic_004.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_basic_005.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_basic_006.phpt Merge branch 'PHP-5.4' into PHP-5.5 2014-05-12 10:54:34 -07:00
curl_basic_007.phpt Remove executable permission on phpt 2012-10-10 10:27:49 +08:00
curl_basic_008.phpt fix bug #64247 (CURLOPT_INFILE doesn't allow reset) 2014-04-30 09:27:58 +02:00
curl_basic_009.phpt - New tests (testfest ParisUG) 2009-05-16 16:37:31 +00:00
curl_basic_010.phpt fix bug #64247 (CURLOPT_INFILE doesn't allow reset) 2014-04-30 09:27:58 +02:00
curl_basic_011.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_basic_012.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_basic_013.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_basic_014.phpt - New tests (testfest ParisUG) 2009-05-16 16:37:31 +00:00
curl_basic_015.phpt - New tests (testfest ParisUG) 2009-05-16 16:37:31 +00:00
curl_basic_016.phpt Pierre added certinfo to the curl info array, but that is 2009-11-23 14:43:52 +00:00
curl_basic_017.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_basic_018.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_basic_019.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_basic_020.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_basic_021.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_basic_022.phpt Fix curl_basic_022.phpt 2012-08-16 19:08:46 +02:00
curl_close_basic.phpt Fix cURL tests 2009-07-17 20:44:50 +00:00
curl_copy_handle_basic_001.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_copy_handle_basic_002.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_copy_handle_basic_004.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_copy_handle_basic_005.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_copy_handle_basic_006.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_copy_handle_basic_007.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_copy_handle_basic_008.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_copy_handle_basic.phpt Test from 2009 testfest 2009-08-26 17:17:58 +00:00
curl_copy_handle_variation1.phpt Test from 2009 testfest 2009-08-26 17:17:58 +00:00
curl_copy_handle_variation2.phpt Test from 2009 testfest 2009-08-26 17:17:58 +00:00
curl_CURLOPT_READDATA.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_error_basic.phpt fix the test for curl 7.29.0+ 2013-02-19 09:04:06 +01:00
curl_escape.phpt Fixed bug #62615 (test ext/curl/tests/curl_escape.phpt failed). 2012-07-26 19:13:42 -04:00
curl_file_deleted_before_curl_close.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_file_serialize.phpt Tweak uncaught exception message display 2015-05-17 18:47:06 +02:00
curl_file_upload.phpt Remove unsafe curl file uploads 2015-03-09 11:00:04 +01:00
curl_ftp_pasv.phpt - Fixed bug #50756 (CURLOPT_FTP_SKIP_PASV_IP does not exist.) 2010-01-23 01:37:32 +00:00
curl_multi_close_basic.phpt Fix cURL tests 2009-07-17 20:44:50 +00:00
curl_multi_close_reference.phpt Revert "Revert "Fixed warning "(null)(): supplied resource is not a valid cURL handle resource in Unknown on line 0""" 2015-02-02 10:32:26 +08:00
curl_multi_getcontent_basic3.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_multi_getcontent_error1.phpt curl_setopt() arg: using DIRECTORY_SEPARATOR rather then "/" to make windows tests pass too 2010-12-08 14:16:17 +00:00
curl_multi_getcontent_error2.phpt curl_setopt() arg: using DIRECTORY_SEPARATOR rather then "/" to make windows tests pass too 2010-12-08 14:16:17 +00:00
curl_multi_getcontent_error3.phpt curl_setopt() arg: using DIRECTORY_SEPARATOR rather then "/" to make windows tests pass too 2010-12-08 14:16:17 +00:00
curl_multi_getcontent_error4.phpt curl_setopt() arg: using DIRECTORY_SEPARATOR rather then "/" to make windows tests pass too 2010-12-08 14:16:17 +00:00
curl_multi_init_basic.phpt - New tests (DutchUG testfest) 2009-07-03 00:09:08 +00:00
curl_multi_init_param.phpt Test PHP Init Fail Without Params 2014-09-30 08:56:46 -03:00
curl_multi_segfault.phpt Fixed segfault due to libcurl connection caching 2012-12-22 19:03:24 -05:00
curl_multi_select_basic1.phpt Fix cURL tests 2009-07-17 20:44:50 +00:00
curl_multi_setopt_basic001.phpt Fix ext/curl tests to work on every libcurl versions 2012-12-26 00:43:37 -05:00
curl_multi_strerror_001.phpt Fix ext/curl tests to work on every libcurl versions 2012-12-26 00:43:37 -05:00
curl_reset.phpt fix bug #64247 (CURLOPT_INFILE doesn't allow reset) 2014-04-30 09:27:58 +02:00
curl_setopt_array_basic.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_setopt_basic002.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_setopt_basic003.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_setopt_basic004.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_setopt_CURLOPT_READFUNCTION.phpt - New tests (DutchUG testfest) 2009-07-03 00:09:08 +00:00
curl_setopt_error.phpt Use "float" and "integer" in typehint and zpp errors 2014-12-21 13:23:02 +00:00
curl_share_setopt_basic001.phpt Fix ext/curl tests to work on every libcurl versions 2012-12-26 00:43:37 -05:00
curl_strerror_001.phpt Fix ext/curl tests to work on every libcurl versions 2012-12-26 00:43:37 -05:00
curl_testdata1.txt - New tests (DutchUG testfest) 2009-07-03 00:09:08 +00:00
curl_testdata2.txt - New tests (DutchUG testfest) 2009-07-03 00:09:08 +00:00
curl_version_error.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
curl_version_variation1.phpt Use "float" and "integer" in typehint and zpp errors 2014-12-21 13:23:02 +00:00
curl_write_callback.phpt - New tests (DutchUG testfest) 2009-07-03 00:09:08 +00:00
curl_write_file.phpt - New tests (DutchUG testfest) 2009-07-03 00:09:08 +00:00
curl_write_return.phpt - New tests (DutchUG testfest) 2009-07-03 00:09:08 +00:00
curl_write_stdout.phpt - New tests (DutchUG testfest) 2009-07-03 00:09:08 +00:00
curl_writeheader_callback.phpt improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
server.inc improve CURL tests to allow testing without separate server 2014-05-11 22:43:08 -07:00
skipif.inc add missing test file 2014-12-16 10:15:17 -08:00