From: Marcus Boerger Date: Mon, 22 Dec 2003 22:50:02 +0000 (+0000) Subject: Fix tests now that class names are shown in correct casing X-Git-Tag: php_ibase_before_split~525 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=26a0abbd0cfd4b691ac485206914aad0f68ba2ec;p=php Fix tests now that class names are shown in correct casing --- diff --git a/Zend/tests/bug24884.phpt b/Zend/tests/bug24884.phpt index ec216b2dac..81bb3d6414 100755 --- a/Zend/tests/bug24884.phpt +++ b/Zend/tests/bug24884.phpt @@ -24,5 +24,5 @@ $test2 = $test->__copy(); var_dump($test2); ?> --EXPECT-- -object(test)#2 (0) { +object(Test)#2 (0) { } diff --git a/Zend/tests/bug26166.phpt b/Zend/tests/bug26166.phpt index 46a8e3a614..1c3934ac91 100755 --- a/Zend/tests/bug26166.phpt +++ b/Zend/tests/bug26166.phpt @@ -1,5 +1,5 @@ --TEST-- -Bug #26166: __toString() crash when no values returned +Bug #26166 (__toString() crash when no values returned) --FILE-- --FILE-- 1, 'b' => 2, 'c' => 3); diff --git a/tests/classes/array_access_001.phpt b/tests/classes/array_access_001.phpt index 08b741e1c8..8a670c1c24 100644 --- a/tests/classes/array_access_001.phpt +++ b/tests/classes/array_access_001.phpt @@ -6,7 +6,7 @@ ZE2 ArrayAccess ?> --FILE-- '3rd', '4th'=>4); diff --git a/tests/classes/array_access_002.phpt b/tests/classes/array_access_002.phpt index cb4416d7bd..584227ee89 100644 --- a/tests/classes/array_access_002.phpt +++ b/tests/classes/array_access_002.phpt @@ -6,7 +6,7 @@ ZE2 ArrayAccess::offsetSet without return ?> --FILE-- '3rd', '4th'=>4); diff --git a/tests/classes/array_access_003.phpt b/tests/classes/array_access_003.phpt index 28e7e836ad..538ca07276 100644 --- a/tests/classes/array_access_003.phpt +++ b/tests/classes/array_access_003.phpt @@ -6,7 +6,7 @@ ZE2 ArrayAccess::offsetGet ambiguties ?> --FILE-- '3rd', '4th'=>4); diff --git a/tests/classes/array_access_004.phpt b/tests/classes/array_access_004.phpt index 8032d28642..eec6c80d30 100644 --- a/tests/classes/array_access_004.phpt +++ b/tests/classes/array_access_004.phpt @@ -6,7 +6,7 @@ ZE2 ArrayAccess::offsetGet ambiguties ?> --FILE-- '3rd', '4th'=>4); diff --git a/tests/classes/bug23951.phpt b/tests/classes/bug23951.phpt index a49d62f3fe..2e272b87fe 100644 --- a/tests/classes/bug23951.phpt +++ b/tests/classes/bug23951.phpt @@ -27,7 +27,7 @@ print_r($b->b_var); ?> --EXPECT-- -a Object +A Object ( [a_var] => Array ( diff --git a/tests/classes/dereferencing_001.phpt b/tests/classes/dereferencing_001.phpt index 202602f146..dd2aba78e5 100644 --- a/tests/classes/dereferencing_001.phpt +++ b/tests/classes/dereferencing_001.phpt @@ -18,7 +18,7 @@ class Name { class Person { private $name; - function Person($_name, $_address) { + function person($_name, $_address) { $this->name = new Name($_name); } diff --git a/tests/classes/interfaces_002.phpt b/tests/classes/interfaces_002.phpt index 7b3e2cf113..66d46f5d36 100644 --- a/tests/classes/interfaces_002.phpt +++ b/tests/classes/interfaces_002.phpt @@ -25,5 +25,5 @@ echo $foo->getMessage() . "\n"; ?> --EXPECTF-- -Fatal error: Class exception_foo contains 1 abstract methods and must therefore be declared abstract (throwable::getErrno) in %s on line %d +Fatal error: Class Exception_foo contains 1 abstract methods and must therefore be declared abstract (Throwable::getErrno) in %s on line %d diff --git a/tests/classes/type_hinting_001.phpt b/tests/classes/type_hinting_001.phpt index e6b97a5873..d4042a496d 100644 --- a/tests/classes/type_hinting_001.phpt +++ b/tests/classes/type_hinting_001.phpt @@ -35,4 +35,4 @@ $a->b($b); ?> --EXPECTF-- -Fatal error: Argument 1 must implement interface foo in %s on line %d +Fatal error: Argument 1 must implement interface Foo in %s on line %d diff --git a/tests/lang/bug26182.phpt b/tests/lang/bug26182.phpt index b37c7c2351..7417293928 100644 --- a/tests/lang/bug26182.phpt +++ b/tests/lang/bug26182.phpt @@ -20,6 +20,6 @@ print_r($t); ?> --EXPECT-- -a Object +A Object ( ) diff --git a/tests/lang/type_hints_001.phpt b/tests/lang/type_hints_001.phpt index bd1577fe31..99b7fac0eb 100644 --- a/tests/lang/type_hints_001.phpt +++ b/tests/lang/type_hints_001.phpt @@ -23,4 +23,4 @@ type_hint_foo($bar); ?> --EXPECTF-- -Fatal error: Argument 1 must be an instance of foo in %s on line %d +Fatal error: Argument 1 must be an instance of Foo in %s on line %d diff --git a/tests/run-test/test009.phpt b/tests/run-test/test009.phpt index f6412cbda6..650686f690 100644 --- a/tests/run-test/test009.phpt +++ b/tests/run-test/test009.phpt @@ -7,6 +7,6 @@ $foo = new Foo; print_r($foo); ?> --EXPECTF-- -foo Object +Foo Object ( )