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
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
Nikita Popov
47669aa784
Merge branch 'PHP-7.1'
2017-01-02 23:44:07 +01:00
Nikita Popov
76a1d3f153
Add get_browser() test against larger corpus
...
Testing corpus provided by Anatol against current browscap.ini lite.
About 30% of all agents are not recognized by this browscap.ini,
but this should give us decent coverage.
2017-01-02 23:30:27 +01:00
Nikita Popov
5c22579faf
Merge branch 'PHP-7.1'
2016-12-18 14:58:49 +01:00
Nikita Popov
eb636fcb56
Add test for get_browser() in object mode
...
All other tests only check array return values...
2016-12-18 13:16:25 +01:00
Anatol Belski
5a0e0e2d8c
Merge branch 'PHP-7.1'
...
* PHP-7.1:
make timing check more forgiving in these tests
2016-12-15 12:33:13 +01:00
Anatol Belski
8bc3f179ce
make timing check more forgiving in these tests
...
Particularly on slower VMs, the sporadic fails can still happen.
The timing is kept in an uncritical range, but allows the tests
pass there. Mayby, it'd make sense to introduce a new group for
this kind of tests, so tests requiring exact time measurement
can be avoided on unsuitable environments.
2016-12-15 12:20:37 +01:00
Nikita Popov
5af586bec5
Remove more PHP 6 leftovers from tests
2016-11-24 22:39:39 +01:00
Christoph M. Becker
8fcfacf746
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-27 01:18:10 +02:00
Christoph M. Becker
2139918ea6
Fix #65550 : get_browser() incorrectly parsers entries with "+" sign
...
+ signs in the browscap patterns are meant to be literal characters, so we
have to escape them for the regex matching.
2016-08-27 01:12:01 +02:00
Xinchen Hui
550bbf8f46
Fixed bug #69983 (get_browser fails with user agent of null)
2015-07-04 11:05:50 +08:00
Stanislav Malyshev
28fdf6a131
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed #68021 - get_browser() browser_name_regex
2015-03-22 22:13:21 -07:00
Tjerk Meesters
5b5742c016
Fixed #68021 - get_browser() browser_name_regex
...
Replaced expression delimiter with tilde (~) and escape where necessary.
2015-03-22 22:12:26 -07:00
Yasuo Ohgaki
096fb06dab
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add NULL byte protection to exec, system and passthru
2015-02-14 05:28:32 +09:00
Yasuo Ohgaki
a8722f5330
Add NULL byte protection to exec, system and passthru
2015-02-14 05:25:04 +09:00
Andrea Faulds
e5eb9530ab
Use "float" and "integer" in typehint and zpp errors
2014-12-21 13:23:02 +00:00
Anatoliy Belsky
36449bface
Fix bug #61517 random test failure - ext/standard/tests/misc/time_sleep_until_basic.phpt
2012-04-03 13:28:37 +02:00
Anatoliy Belsky
9c81654378
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #61517 random test failure - ext/standard/tests/misc/time_sleep_until_basic.phpt
2012-04-03 11:08:02 +02:00
Anatoliy Belsky
469cd3abf1
Fix bug #61517 random test failure - ext/standard/tests/misc/time_sleep_until_basic.phpt
2012-04-03 11:04:52 +02:00
Xinchen Hui
f84d55b062
Fix test
2012-03-24 12:15:04 +08:00
Ferenc Kovacs
b38d56616b
adding SKIP_SLOW_TESTS checks for the slow tests, and additionaly sync the domains used in the ext/standard/tests/network/getmxrr.phpt with the other branches
2011-10-23 10:09:29 +00:00
Ferenc Kovacs
8066746c73
adding SKIP_SLOW_TESTS checks for the slow tests, and additionaly sync the domains used in the ext/standard/tests/network/getmxrr.phpt with the other branches
2011-10-23 10:09:29 +00:00
Hannes Magnusson
ddb7740944
typo
2011-09-05 12:00:24 +00:00
Hannes Magnusson
37dc06ea83
typo
2011-09-05 12:00:24 +00:00
Hannes Magnusson
a1ecf8c887
Fix test to use microtime() as time() doesn't always catchup fast enough :]
2011-09-05 10:55:07 +00:00
Hannes Magnusson
cb4cbc7c11
Fix test to use microtime() as time() doesn't always catchup fast enough :]
2011-09-05 10:55:07 +00:00
Hannes Magnusson
ffc6da20a0
These are annoyingly slow
2011-06-23 21:27:42 +00:00
Hannes Magnusson
71a5c3d7ec
These are annoyingly slow
2011-06-23 21:27:42 +00:00
Kalle Sommer Nielsen
8deefa8780
Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED ( Fixes #52570 )
...
# Trunk patch will follow shortly
2010-08-11 21:12:18 +00:00
Kalle Sommer Nielsen
8087be61d0
* Changed the way removed ini directives are shown so its easier to add new ones
...
* Removed define_syslog_variables and its associated functions
2010-04-12 01:52:55 +00:00
Hannes Magnusson
abd893a2ae
Fix tests
2010-03-24 22:06:21 +00:00
Hannes Magnusson
8b106cef0e
Fix tests
2010-03-24 22:06:21 +00:00
Jani Taskinen
d9eed26a3d
- Add missing skipif
2010-01-19 12:31:29 +00:00
Dmitry Stogov
7bfe056174
Fixed tests
2009-09-21 09:52:19 +00:00
Zoe Slattery
6a22ec3eda
More tests from 2009 testfest
2009-08-30 09:30:13 +00:00
Zoe Slattery
1c98e49afd
Test from 2009 testfest
2009-08-26 17:17:58 +00:00
Zoe Slattery
546a927dc8
fixing paths in INI section
2009-07-18 13:14:21 +00:00
Alexey Zakhlestin
07ae04de31
MFH: fix broken test
2009-07-15 10:06:38 +00:00
Kalle Sommer Nielsen
dc69d9228a
MFH: Fix test on Windows
2009-07-01 20:27:11 +00:00
Hannes Magnusson
d535dec2e0
fix skipif
2009-06-17 10:18:17 +00:00
Hannes Magnusson
9900d2097c
fix skipif
2009-06-17 10:14:25 +00:00
Felipe Pena
ef55a8a663
- Fixed tests
2009-06-16 19:49:55 +00:00
Felipe Pena
837cf07807
- New tests (testfest CataloniaUG)
2009-05-16 14:41:27 +00:00
Hannes Magnusson
903f306a60
Fix tests
2009-05-07 08:08:00 +00:00
Felipe Pena
d64db73483
- Fixed tests
2009-05-05 18:19:16 +00:00
Kalle Sommer Nielsen
5a6d3cc42b
Added E_DEPRECATED startup notice (5.3 only)
2009-05-04 21:18:22 +00:00
Kalle Sommer Nielsen
9b3ab1c67a
MFH: New tests for syslog
2008-11-05 09:58:51 +00:00
Felix De Vliegher
d411698211
Tests for get_browser()
2008-09-06 23:20:15 +00:00