Commit graph

147 commits

Author SHA1 Message Date
Gabriel Caruso
b895690dfa
remove support for string|unicode in tests 2018-02-22 08:11:30 +01:00
Gabriel Caruso
ded3d984c6 Use EXPECT instead of EXPECTF when possible
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00
Gabriel Caruso
21e3b0c70c Remove trailing whitespace in inc files 2018-02-10 19:20:23 +01:00
Gabriel Caruso
fef879a2d6 Use bool instead of boolean while throwing a type error
PHP requires boolean typehints to be written "bool" and disallows
"boolean" as an alias. This changes the error messages to match
the actual type name and avoids confusing messages like "must be
of type boolean, boolean given".

This a followup to ce1d69a1f6, which
implements the same change for integer->int.
2018-02-04 23:09:40 +01:00
Gabriel Caruso
ce1d69a1f6 Use int instead of integer in type errors
PHP requires integer typehints to be written "int" and does not
allow "integer" as an alias. This changes type error messages to
match the actual type name and avoids confusing messages like
"must be of the type integer, integer given".
2018-02-04 19:08:23 +01:00
Anatol Belski
1d05750c50 Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
  Fixed bug #75774 imap_append HeapCorruction
2018-01-12 17:14:19 +01:00
Anatol Belski
cecf734dc3 Fixed bug #75774 imap_append HeapCorruction 2018-01-12 17:13:18 +01:00
Tom Van Looy
04fb3f28ff Remove superfluous semicolons 2017-06-26 00:23:25 +02:00
Nikita Popov
5af586bec5 Remove more PHP 6 leftovers from tests 2016-11-24 22:39:39 +01:00
Pedro Magalhães
9c5af4e4cb Remove the b prefix from literals on unrelated tests 2016-11-20 21:11:53 +01:00
Stanislav Malyshev
14d6de97c5 add imap 2015-01-28 10:15:11 -08:00
Andrea Faulds
e5eb9530ab Use "float" and "integer" in typehint and zpp errors 2014-12-21 13:23:02 +00:00
Stanislav Malyshev
02e4d7a290 Merge branch 'pull-request/341'
* pull-request/341: (23 commits)
  typofixes
2013-06-10 14:30:59 -07:00
Remi Collet
88d2b8c5fd Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  add unit test for bug 63126
  NEWS
2012-11-24 17:31:18 +01:00
Remi Collet
92147243bf add unit test for bug 63126 2012-11-24 17:30:48 +01:00
Marc Easen
896ac689c9 Fixed the common misspelling of the word occurred (occured -> occurred) 2012-06-30 16:54:03 -07:00
Hannes Magnusson
631055c459 Update skipif 2011-09-07 10:39:55 +00:00
Hannes Magnusson
45118176f5 Update skipif 2011-09-07 10:39:55 +00:00
Adam Harvey
75a9b76a3e MFH: fixed bug #53377 (imap_mime_header_decode() doesn't ignore \t during long
MIME header unfolding).
2010-12-13 08:38:01 +00:00
Adam Harvey
f93b470fd4 Fix bug #53377 (imap_mime_header_decode() doesn't ignore \t during long MIME
header unfolding).
2010-11-23 10:34:44 +00:00
Pierre Joye
632c03de71 - #35638, add udate to imap_fetch_overview 2010-04-14 09:45:37 +00:00
Pierre Joye
623818f416 - #35638, add udate to imap_fetch_overview 2010-04-14 09:45:37 +00:00
Pierre Joye
c58f63a38a - Fixed #44098, imap_utf8() returns only capital letters 2010-02-07 13:06:54 +00:00
Olivier DOUCET
db8c6d5dcf Adding IMAP tests (PHP 5.3) 2009-11-23 21:48:57 +00:00
Nuno Lopes
24090104ef allow tests to pass when a random username is used.
patch by Olivier Doucet
2009-09-22 12:30:21 +00:00
Antony Dovgal
3af4a22a3c fix test 2009-07-26 19:51:24 +00:00
Felipe Pena
1bcc3aac33 - New tests (testfest DutchUG) 2009-05-16 21:13:43 +00:00
Felipe Pena
d64db73483 - Fixed tests 2009-05-05 18:19:16 +00:00
Pierre Joye
9faccc3da1 - [DOC] MFH: add imap_mutf7_to_utf8 and imap_utf8_to_mutf7 2009-05-02 17:59:46 +00:00
Felipe Pena
0502920928 - Supressing error message for SKIPIF check works as expected 2009-02-15 16:03:39 +00:00
Zoe Slattery
3bda2b9689 IMPA fetchheader tests 2009-01-23 15:31:35 +00:00
Felipe Pena
da9a15d586 - New test 2008-12-24 11:51:04 +00:00
Zoe Slattery
fee9ce41f3 README for ext/imap tests 2008-12-17 15:36:06 +00:00
Zoe Slattery
b8a79234df Miscellaneous tests for ext/imap 2008-12-17 15:07:30 +00:00
Zoe Slattery
d5f6620091 fix resource id 2008-12-09 13:41:49 +00:00
Zoe Slattery
6cf2385268 tests for imap_fetch_overview 2008-12-08 19:12:39 +00:00
Zoe Slattery
7b4f84770f Update to use norsh flag 2008-12-05 11:02:04 +00:00
Zoe Slattery
f5e46d5b15 Committing include files required for tests. Tests and bug reports to follow. 2008-11-28 17:40:14 +00:00
Jani Taskinen
22b62586c2 MFH:- Fixed bug #45705 (rfc822_parse_adrlist() modifies passed address parameter) 2008-08-04 21:14:28 +00:00
Felipe Pena
0e63639070 - New parameter parsing API 2008-06-23 03:17:42 +00:00
Ilia Alshanetsky
13aac95bfc Fixed bug #40854 (imap_mail_compose() creates an invalid terminator for
multipart e-mails).
2007-03-19 22:56:57 +00:00
Ilia Alshanetsky
f06eb4bf8b Fixed test, in some versions of c-client returned value is always uppercase 2006-11-26 16:31:43 +00:00
Antony Dovgal
8c53ff1e80 fix leak in imap_utf8(), avoid extra strlen() call
add test
2006-09-05 11:24:49 +00:00
Ilia Alshanetsky
fc4fb89cac Fixed bug #35669 (imap_mail_compose() crashes with
multipart-multiboundary-email).
2006-01-05 00:47:16 +00:00
Ilia Alshanetsky
43f63e4753 MFH: Fixed bug #32589 (possible crash inside imap_mail_compose() function). 2005-08-30 22:03:29 +00:00
Ilia Alshanetsky
4bef3dde2d MFB: fixed test case 2004-12-30 04:11:33 +00:00
Ilia Alshanetsky
b19e666946 Fixed bug #31142 (imap_mail_compose() fails to generate correct output). 2004-12-22 17:27:39 +00:00