diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-11-05 10:25:57 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-11-05 10:25:57 +0100 |
commit | aec191bc6cbb83884466800a750ecad0b37e254f (patch) | |
tree | f52fe2b9551056580c5c519fb78a3c5600e1034a /tests/php/phpt/variables/015-calling-php-functions.phpt | |
parent | af530282f530580c1ed7bc184df0a727068275e1 (diff) |
remove test framework, it never works, most of the bugs found by the test framework turn out to be caused by errors in the tests instead of errors in the real code, people complain about it all the time, and basically this whole test framework causes more problems than it solves, solves issue #215 and solves issue #221
Diffstat (limited to 'tests/php/phpt/variables/015-calling-php-functions.phpt')
-rw-r--r-- | tests/php/phpt/variables/015-calling-php-functions.phpt | 109 |
1 files changed, 0 insertions, 109 deletions
diff --git a/tests/php/phpt/variables/015-calling-php-functions.phpt b/tests/php/phpt/variables/015-calling-php-functions.phpt deleted file mode 100644 index e9382b2..0000000 --- a/tests/php/phpt/variables/015-calling-php-functions.phpt +++ /dev/null @@ -1,109 +0,0 @@ ---TEST-- -calling-php-Callback-functions (lambda) ---SKIPIF-- -<?php if (!extension_loaded("extension_for_tests")) print "skip"; ?> ---FILEEOF-- -<?php - - -TestVariables\fnCallback( function($param) { - echo("Callback called with parameters:\n"); - var_export(func_get_args ()); -}); - - ---EXPECT-- -call callback -Callback called with parameters: -array ( - 0 => 'param1', -)Callback called with parameters: -array ( - 0 => 'param1', - 1 => 'param2', -)Callback called with parameters: -array ( - 0 => 'param1', - 1 => 'param2', - 2 => 'param3', -)Callback called with parameters: -array ( - 0 => 'param1', - 1 => 'param2', - 2 => 'param3', - 3 => 'param4', -)Callback called with parameters: -array ( - 0 => 'param1', - 1 => 'param2', - 2 => 'param3', - 3 => 'param4', - 4 => - array ( - 0 => 'param5', - 1 => 3.14159265359, - 2 => 28032014, - 'key' => 'value', - ), -)Callback called with parameters: -array ( - 0 => 'param1', - 1 => 'param2', - 2 => 'param3', - 3 => 'param4', - 4 => - array ( - 0 => 'param5', - 1 => 3.14159265359, - 2 => 28032014, - 'key' => 'value', - ), - 5 => - DateTime::__set_state(array( - 'date' => '2014-03-28 19:42:15', - 'timezone_type' => 3, - 'timezone' => 'Asia/Yekaterinburg', - )), -)Callback called with parameters: -array ( - 0 => 'param1', - 1 => 'param2', - 2 => 'param3', - 3 => 'param4', - 4 => 'param5', - 5 => 'param6', - 6 => 'param7', -)Callback called with parameters: -array ( - 0 => 'param1', - 1 => 'param2', - 2 => 'param3', - 3 => 'param4', - 4 => 'param5', - 5 => 'param6', - 6 => 'param7', - 7 => 'param8', -)Callback called with parameters: -array ( - 0 => 'param1', - 1 => 'param2', - 2 => 'param3', - 3 => 'param4', - 4 => 'param5', - 5 => 'param6', - 6 => 'param7', - 7 => 'param8', - 8 => 'param9', -)Callback called with parameters: -array ( - 0 => 'param1', - 1 => 'param2', - 2 => 'param3', - 3 => 'param4', - 4 => 'param5', - 5 => 'param6', - 6 => 'param7', - 7 => 'param8', - 8 => 'param9', - 9 => 'param10', -)
\ No newline at end of file |