- Fixed tests

This commit is contained in:
Felipe Pena 2008-06-26 11:07:14 +00:00
parent 8c22747b68
commit c110a49b03
4 changed files with 6 additions and 114 deletions

View file

@ -32,15 +32,11 @@ echo "Done";
-- Testing is_a() function with more than expected no. of arguments -- -- Testing is_a() function with more than expected no. of arguments --
Deprecated: Function is_a() is deprecated in %s on line 16
Warning: Wrong parameter count for is_a() in %s on line 16 Warning: Wrong parameter count for is_a() in %s on line 16
NULL NULL
-- Testing is_a() function with less than expected no. of arguments -- -- Testing is_a() function with less than expected no. of arguments --
Deprecated: Function is_a() is deprecated in %s on line 21
Warning: Wrong parameter count for is_a() in %s on line 21 Warning: Wrong parameter count for is_a() in %s on line 21
NULL NULL
Done Done

View file

@ -84,142 +84,90 @@ Notice: Undefined variable: undefined_var in %s on line 59
Notice: Undefined variable: unset_var in %s on line 62 Notice: Undefined variable: unset_var in %s on line 62
Arg value 0 Arg value 0
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Arg value 1 Arg value 1
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Arg value 12345 Arg value 12345
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Arg value -2345 Arg value -2345
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Arg value 10.5 Arg value 10.5
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Arg value -10.5 Arg value -10.5
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Arg value 101234567000 Arg value 101234567000
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Arg value 1.07654321E-9 Arg value 1.07654321E-9
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Arg value 0.5 Arg value 0.5
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Notice: Array to string conversion in %s on line 68 Notice: Array to string conversion in %s on line 68
Arg value Array Arg value Array
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Notice: Array to string conversion in %s on line 68 Notice: Array to string conversion in %s on line 68
Arg value Array Arg value Array
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Notice: Array to string conversion in %s on line 68 Notice: Array to string conversion in %s on line 68
Arg value Array Arg value Array
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Notice: Array to string conversion in %s on line 68 Notice: Array to string conversion in %s on line 68
Arg value Array Arg value Array
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Notice: Array to string conversion in %s on line 68 Notice: Array to string conversion in %s on line 68
Arg value Array Arg value Array
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Arg value Arg value
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Arg value Arg value
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Arg value 1 Arg value 1
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Arg value Arg value
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Arg value 1 Arg value 1
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Arg value Arg value
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Arg value Arg value
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Arg value Arg value
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Arg value string Arg value string
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Arg value String Arg value String
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Arg value Arg value
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Arg value Arg value
Deprecated: Function is_a() is deprecated in %s on line 69
bool(false) bool(false)
Done Done

View file

@ -89,56 +89,36 @@ Notice: Undefined variable: undefined_var in %s on line 64
Notice: Undefined variable: unset_var in %s on line 67 Notice: Undefined variable: unset_var in %s on line 67
Arg value 0 Arg value 0
Deprecated: Function is_a() is deprecated in %s on line 74
bool(false) bool(false)
Arg value 1 Arg value 1
Deprecated: Function is_a() is deprecated in %s on line 74
bool(false) bool(false)
Arg value 12345 Arg value 12345
Deprecated: Function is_a() is deprecated in %s on line 74
bool(false) bool(false)
Arg value -2345 Arg value -2345
Deprecated: Function is_a() is deprecated in %s on line 74
bool(false) bool(false)
Arg value 10.5 Arg value 10.5
Deprecated: Function is_a() is deprecated in %s on line 74
bool(false) bool(false)
Arg value -10.5 Arg value -10.5
Deprecated: Function is_a() is deprecated in %s on line 74
bool(false) bool(false)
Arg value 101234567000 Arg value 101234567000
Deprecated: Function is_a() is deprecated in %s on line 74
bool(false) bool(false)
Arg value 1.07654321E-9 Arg value 1.07654321E-9
Deprecated: Function is_a() is deprecated in %s on line 74
bool(false) bool(false)
Arg value 0.5 Arg value 0.5
Deprecated: Function is_a() is deprecated in %s on line 74
bool(false) bool(false)
Notice: Array to string conversion in %s on line 73 Notice: Array to string conversion in %s on line 73
Arg value Array Arg value Array
Deprecated: Function is_a() is deprecated in %s on line 74
Notice: Array to string conversion in %s on line 74 Notice: Array to string conversion in %s on line 74
bool(false) bool(false)
@ -146,7 +126,12 @@ Notice: Array to string conversion in %s on line 73
Arg value Array Arg value Array
Deprecated: Function is_a() is deprecated in %s on line 74 Notice: Array to string conversion in %s on line 74
bool(false)
Notice: Array to string conversion in %s on line 73
Arg value Array
Notice: Array to string conversion in %s on line 74 Notice: Array to string conversion in %s on line 74
bool(false) bool(false)
@ -155,8 +140,6 @@ Notice: Array to string conversion in %s on line 73
Arg value Array Arg value Array
Deprecated: Function is_a() is deprecated in %s on line 74
Notice: Array to string conversion in %s on line 74 Notice: Array to string conversion in %s on line 74
bool(false) bool(false)
@ -164,72 +147,39 @@ Notice: Array to string conversion in %s on line 73
Arg value Array Arg value Array
Deprecated: Function is_a() is deprecated in %s on line 74
Notice: Array to string conversion in %s on line 74
bool(false)
Notice: Array to string conversion in %s on line 73
Arg value Array
Deprecated: Function is_a() is deprecated in %s on line 74
Notice: Array to string conversion in %s on line 74 Notice: Array to string conversion in %s on line 74
bool(false) bool(false)
Arg value Arg value
Deprecated: Function is_a() is deprecated in %s on line 74
bool(false) bool(false)
Arg value Arg value
Deprecated: Function is_a() is deprecated in %s on line 74
bool(false) bool(false)
Arg value 1 Arg value 1
Deprecated: Function is_a() is deprecated in %s on line 74
bool(false) bool(false)
Arg value Arg value
Deprecated: Function is_a() is deprecated in %s on line 74
bool(false) bool(false)
Arg value 1 Arg value 1
Deprecated: Function is_a() is deprecated in %s on line 74
bool(false) bool(false)
Arg value Arg value
Deprecated: Function is_a() is deprecated in %s on line 74
bool(false) bool(false)
Arg value Arg value
Deprecated: Function is_a() is deprecated in %s on line 74
bool(false) bool(false)
Arg value Arg value
Deprecated: Function is_a() is deprecated in %s on line 74
bool(false) bool(false)
Arg value C Instance Arg value C Instance
Deprecated: Function is_a() is deprecated in %s on line 74
bool(false) bool(false)
Arg value Arg value
Deprecated: Function is_a() is deprecated in %s on line 74
bool(false) bool(false)
Arg value Arg value
Deprecated: Function is_a() is deprecated in %s on line 74
bool(false) bool(false)
Done Done

View file

@ -21,7 +21,5 @@ echo "Done";
?> ?>
--EXPECTF-- --EXPECTF--
*** Testing is_a() : usage variations *** *** Testing is_a() : usage variations ***
Deprecated: Function is_a() is deprecated in %s on line 13
bool(true) bool(true)
Done Done