felipe Wed, 16 Jun 2010 02:14:32 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=300488
Log:
- Fix tests
Changed paths:
U php/php-src/trunk/tests/output/ob_start_error_001.phpt
U php/php-src/trunk/tests/output/ob_start_error_002.phpt
U php/php-src/trunk/tests/output/ob_start_error_003.phpt
U php/php-src/trunk/tests/output/ob_start_error_004.phpt
Modified: php/php-src/trunk/tests/output/ob_start_error_001.phpt
===================================================================
--- php/php-src/trunk/tests/output/ob_start_error_001.phpt 2010-06-16
00:09:45 UTC (rev 300487)
+++ php/php-src/trunk/tests/output/ob_start_error_001.phpt 2010-06-16
02:14:32 UTC (rev 300488)
@@ -37,6 +37,8 @@
- Arg 1 wrong type
+Warning: ob_start(): no array or string given in %s on line 20
+
Notice: ob_start(): failed to create buffer in %s on line 20
bool(false)
Modified: php/php-src/trunk/tests/output/ob_start_error_002.phpt
===================================================================
--- php/php-src/trunk/tests/output/ob_start_error_002.phpt 2010-06-16
00:09:45 UTC (rev 300487)
+++ php/php-src/trunk/tests/output/ob_start_error_002.phpt 2010-06-16
02:14:32 UTC (rev 300488)
@@ -20,15 +20,23 @@
echo "done"
?>
--EXPECTF--
+Warning: ob_start(): class 'nonExistent' not found in %s on line 13
+
Notice: ob_start(): failed to create buffer in %s on line 13
bool(false)
+Warning: ob_start(): class 'C' does not have a method 'nonExistent' in %s on
line 14
+
Notice: ob_start(): failed to create buffer in %s on line 14
bool(false)
+Warning: ob_start(): class 'C' does not have a method 'no' in %s on line 15
+
Notice: ob_start(): failed to create buffer in %s on line 15
bool(false)
+Warning: ob_start(): function 'no' not found or invalid function name in %s on
line 16
+
Notice: ob_start(): failed to create buffer in %s on line 16
bool(false)
-done
\ No newline at end of file
+done
Modified: php/php-src/trunk/tests/output/ob_start_error_003.phpt
===================================================================
--- php/php-src/trunk/tests/output/ob_start_error_003.phpt 2010-06-16
00:09:45 UTC (rev 300487)
+++ php/php-src/trunk/tests/output/ob_start_error_003.phpt 2010-06-16
02:14:32 UTC (rev 300488)
@@ -15,6 +15,8 @@
echo "done"
?>
--EXPECTF--
+Warning: ob_start(): array must have exactly two members in %s on line %d
+
Notice: ob_start(): failed to create buffer in %s on line 11
bool(false)
-done
\ No newline at end of file
+done
Modified: php/php-src/trunk/tests/output/ob_start_error_004.phpt
===================================================================
--- php/php-src/trunk/tests/output/ob_start_error_004.phpt 2010-06-16
00:09:45 UTC (rev 300487)
+++ php/php-src/trunk/tests/output/ob_start_error_004.phpt 2010-06-16
02:14:32 UTC (rev 300488)
@@ -15,6 +15,8 @@
echo "done"
?>
--EXPECTF--
+Warning: ob_start(): class 'C' does not have a method 'f' in %s on line %d
+
Notice: ob_start(): failed to create buffer in %s on line 11
bool(false)
-done
\ No newline at end of file
+done
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php