summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-01-30 11:56:34 +0000
committerFelipe Pena <felipe@php.net>2008-01-30 11:56:34 +0000
commit8ca171f514c39e7760446d88229fbd645fb27944 (patch)
tree796a303a62fa44fd8928fef8affadf1e064f8e04
parentc31d0d112f1e33fec3da0851aafffcfa477fb3bb (diff)
downloadphp-git-8ca171f514c39e7760446d88229fbd645fb27944.tar.gz
Fix tests
-rw-r--r--ext/reflection/tests/bug43926.phpt5
-rw-r--r--ext/reflection/tests/reflectionClass_isInstance_basic.phpt8
-rw-r--r--ext/reflection/tests/reflectionObject_isInstance_basic.phpt4
3 files changed, 11 insertions, 6 deletions
diff --git a/ext/reflection/tests/bug43926.phpt b/ext/reflection/tests/bug43926.phpt
index 373f9f1ba3..35f87f69ed 100644
--- a/ext/reflection/tests/bug43926.phpt
+++ b/ext/reflection/tests/bug43926.phpt
@@ -34,4 +34,9 @@ print("Is? E ". ($ra->isInstance($ce) ? 'true' : 'false') .", instanceof: ". (($
Is? A true, instanceof: true
Is? C false, instanceof: false
Is? D true, instanceof: true
+Is? E true, instanceof: true
+--UEXPECT--
+Is? A true, instanceof: true
+Is? C false, instanceof: false
+Is? D true, instanceof: true
Is? E true, instanceof: true \ No newline at end of file
diff --git a/ext/reflection/tests/reflectionClass_isInstance_basic.phpt b/ext/reflection/tests/reflectionClass_isInstance_basic.phpt
index 07ec0cea79..d221cbd3a0 100644
--- a/ext/reflection/tests/reflectionClass_isInstance_basic.phpt
+++ b/ext/reflection/tests/reflectionClass_isInstance_basic.phpt
@@ -30,7 +30,7 @@ foreach ($classes as $class) {
?>
--EXPECTF--
is myA a A? bool(true)
-is myB a A? bool(false)
+is myB a A? bool(true)
is myC a A? bool(false)
is myX a A? bool(false)
is myA a B? bool(false)
@@ -43,7 +43,7 @@ is myC a C? bool(true)
is myX a C? bool(false)
is myA a I? bool(false)
is myB a I? bool(false)
-is myC a I? bool(false)
+is myC a I? bool(true)
is myX a I? bool(false)
is myA a X? bool(false)
is myB a X? bool(false)
@@ -51,7 +51,7 @@ is myC a X? bool(false)
is myX a X? bool(true)
--UEXPECTF--
is myA a A? bool(true)
-is myB a A? bool(false)
+is myB a A? bool(true)
is myC a A? bool(false)
is myX a A? bool(false)
is myA a B? bool(false)
@@ -64,7 +64,7 @@ is myC a C? bool(true)
is myX a C? bool(false)
is myA a I? bool(false)
is myB a I? bool(false)
-is myC a I? bool(false)
+is myC a I? bool(true)
is myX a I? bool(false)
is myA a X? bool(false)
is myB a X? bool(false)
diff --git a/ext/reflection/tests/reflectionObject_isInstance_basic.phpt b/ext/reflection/tests/reflectionObject_isInstance_basic.phpt
index c317f0d49c..5b4c97a59c 100644
--- a/ext/reflection/tests/reflectionObject_isInstance_basic.phpt
+++ b/ext/reflection/tests/reflectionObject_isInstance_basic.phpt
@@ -23,7 +23,7 @@ foreach ($classes as $class) {
?>
--EXPECTF--
is myA a A? bool(true)
-is myB a A? bool(false)
+is myB a A? bool(true)
is myX a A? bool(false)
is myA a B? bool(false)
is myB a B? bool(true)
@@ -33,7 +33,7 @@ is myB a X? bool(false)
is myX a X? bool(true)
--UEXPECTF--
is myA a A? bool(true)
-is myB a A? bool(false)
+is myB a A? bool(true)
is myX a A? bool(false)
is myA a B? bool(false)
is myB a B? bool(true)