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/006-casting-obj2str.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/006-casting-obj2str.phpt')
-rw-r--r-- | tests/php/phpt/variables/006-casting-obj2str.phpt | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/php/phpt/variables/006-casting-obj2str.phpt b/tests/php/phpt/variables/006-casting-obj2str.phpt deleted file mode 100644 index 53d9707..0000000 --- a/tests/php/phpt/variables/006-casting-obj2str.phpt +++ /dev/null @@ -1,31 +0,0 @@ ---TEST-- -Test Php::Value casting operators (object to string) ---DESCRIPTION-- - -Converting a php object to a string - - ---SKIPIF-- -<?php if (!extension_loaded("extension_for_tests")) print "skip"; ?> ---FILEEOF-- -<?php - - -function native_value_casting($value) { - echo (string)$value, PHP_EOL; -} -class TestClass -{ - public function __toString() {return "I am TestClass";} -} - -TestVariables\value_cast2str(new TestClass()); -//native_value_casting(new TestClass()); - -TestVariables\value_cast2str("some string"); - - - ---EXPECT-- -I am TestClass -some string
\ No newline at end of file |