Remove several TestExt tests that did nothing or added no coverage

All did nothing except ExtFunction and ExtSimpleXml.
ExtFunction does things that are sufficiently tested in other suites.
SimpleXml has a test suite, and this only had a few calls to some last
error functions that seemed weak enough to delete.
Esse commit está contido em:
Jordan DeLong
2013-06-14 19:34:49 -07:00
commit de Sara Golemon
commit b95200c2d9
25 arquivos alterados com 0 adições e 3288 exclusões
-12
Ver Arquivo
@@ -36,30 +36,21 @@
#include "hphp/facebook/extensions/urlextraction/test_ext_urlextraction.h"
#include "hphp/test/ext/test_ext_bzip2.h"
#include "hphp/test/ext/test_ext_curl.h"
#include "hphp/test/ext/test_ext_debugger.h"
#include "hphp/test/ext/test_ext_domdocument.h"
#include "hphp/test/ext/test_ext_error.h"
#include "hphp/test/ext/test_ext_file.h"
#include "hphp/test/ext/test_ext_function.h"
#include "hphp/test/ext/test_ext_hash.h"
#include "hphp/test/ext/test_ext_iconv.h"
#include "hphp/test/ext/test_ext_icu.h"
#include "hphp/test/ext/test_ext_icu_ucnv.h"
#include "hphp/test/ext/test_ext_icu_ucsdet.h"
#include "hphp/test/ext/test_ext_icu_uspoof.h"
#include "hphp/test/ext/test_ext_image.h"
#include "hphp/test/ext/test_ext_imagesprite.h"
#include "hphp/test/ext/test_ext_imap.h"
#include "hphp/test/ext/test_ext_intl.h"
#include "hphp/test/ext/test_ext_ipc.h"
#include "hphp/test/ext/test_ext_json.h"
#include "hphp/test/ext/test_ext_ldap.h"
#include "hphp/test/ext/test_ext_magick.h"
#include "hphp/test/ext/test_ext_mailparse.h"
#include "hphp/test/ext/test_ext_math.h"
#include "hphp/test/ext/test_ext_mb.h"
#include "hphp/test/ext/test_ext_mcrypt.h"
#include "hphp/test/ext/test_ext_memcache.h"
#include "hphp/test/ext/test_ext_memcached.h"
#include "hphp/test/ext/test_ext_misc.h"
#include "hphp/test/ext/test_ext_mysql.h"
@@ -71,16 +62,13 @@
#include "hphp/test/ext/test_ext_posix.h"
#include "hphp/test/ext/test_ext_preg.h"
#include "hphp/test/ext/test_ext_process.h"
#include "hphp/test/ext/test_ext_reflection.h"
#include "hphp/test/ext/test_ext_server.h"
#include "hphp/test/ext/test_ext_session.h"
#include "hphp/test/ext/test_ext_simplexml.h"
#include "hphp/test/ext/test_ext_soap.h"
#include "hphp/test/ext/test_ext_socket.h"
#include "hphp/test/ext/test_ext_sqlite3.h"
#include "hphp/test/ext/test_ext_stream.h"
#include "hphp/test/ext/test_ext_string.h"
#include "hphp/test/ext/test_ext_thrift.h"
#include "hphp/test/ext/test_ext_url.h"
#include "hphp/test/ext/test_ext_variable.h"
#include "hphp/test/ext/test_ext_xml.h"
-40
Ver Arquivo
@@ -1,40 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#include "hphp/test/ext/test_ext_debugger.h"
#include "hphp/runtime/ext/ext_debugger.h"
IMPLEMENT_SEP_EXTENSION_TEST(Debugger);
///////////////////////////////////////////////////////////////////////////////
bool TestExtDebugger::RunTests(const std::string &which) {
bool ret = true;
RUN_TEST(test_DebuggerProxy);
RUN_TEST(test_DebuggerClient);
return ret;
}
///////////////////////////////////////////////////////////////////////////////
bool TestExtDebugger::test_DebuggerProxy() {
return Count(true);
}
bool TestExtDebugger::test_DebuggerClient() {
return Count(true);
}
-36
Ver Arquivo
@@ -1,36 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#ifndef incl_HPHP_TEST_EXT_DEBUGGER_H_
#define incl_HPHP_TEST_EXT_DEBUGGER_H_
// >>>>>> Generated by idl.php. Do NOT modify. <<<<<<
#include "hphp/test/ext/test_cpp_ext.h"
///////////////////////////////////////////////////////////////////////////////
class TestExtDebugger : public TestCppExt {
public:
virtual bool RunTests(const std::string &which);
bool test_DebuggerProxy();
bool test_DebuggerClient();
};
///////////////////////////////////////////////////////////////////////////////
#endif // incl_HPHP_TEST_EXT_DEBUGGER_H_
-124
Ver Arquivo
@@ -1,124 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#include "hphp/test/ext/test_ext_domdocument.h"
#include "hphp/runtime/ext/ext_domdocument.h"
///////////////////////////////////////////////////////////////////////////////
bool TestExtDomdocument::RunTests(const std::string &which) {
bool ret = true;
RUN_TEST(test_DOMNode);
RUN_TEST(test_DOMAttr);
RUN_TEST(test_DOMCharacterData);
RUN_TEST(test_DOMComment);
RUN_TEST(test_DOMText);
RUN_TEST(test_DOMCdataSection);
RUN_TEST(test_DOMDocument);
RUN_TEST(test_DOMDocumentFragment);
RUN_TEST(test_DOMDocumentType);
RUN_TEST(test_DOMElement);
RUN_TEST(test_DOMEntity);
RUN_TEST(test_DOMEntityReference);
RUN_TEST(test_DOMNotation);
RUN_TEST(test_DOMProcessingInstruction);
RUN_TEST(test_DOMNamedNodeMap);
RUN_TEST(test_DOMNodeList);
RUN_TEST(test_DOMException);
RUN_TEST(test_DOMImplementation);
RUN_TEST(test_DOMXPath);
return ret;
}
///////////////////////////////////////////////////////////////////////////////
bool TestExtDomdocument::test_DOMNode() {
return Count(true);
}
bool TestExtDomdocument::test_DOMAttr() {
return Count(true);
}
bool TestExtDomdocument::test_DOMCharacterData() {
return Count(true);
}
bool TestExtDomdocument::test_DOMComment() {
return Count(true);
}
bool TestExtDomdocument::test_DOMText() {
return Count(true);
}
bool TestExtDomdocument::test_DOMCdataSection() {
return Count(true);
}
bool TestExtDomdocument::test_DOMDocument() {
return Count(true);
}
bool TestExtDomdocument::test_DOMDocumentFragment() {
return Count(true);
}
bool TestExtDomdocument::test_DOMDocumentType() {
return Count(true);
}
bool TestExtDomdocument::test_DOMElement() {
return Count(true);
}
bool TestExtDomdocument::test_DOMEntity() {
return Count(true);
}
bool TestExtDomdocument::test_DOMEntityReference() {
return Count(true);
}
bool TestExtDomdocument::test_DOMNotation() {
return Count(true);
}
bool TestExtDomdocument::test_DOMProcessingInstruction() {
return Count(true);
}
bool TestExtDomdocument::test_DOMNamedNodeMap() {
return Count(true);
}
bool TestExtDomdocument::test_DOMNodeList() {
return Count(true);
}
bool TestExtDomdocument::test_DOMException() {
return Count(true);
}
bool TestExtDomdocument::test_DOMImplementation() {
return Count(true);
}
bool TestExtDomdocument::test_DOMXPath() {
return Count(true);
}
-53
Ver Arquivo
@@ -1,53 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#ifndef incl_HPHP_TEST_EXT_DOMDOCUMENT_H_
#define incl_HPHP_TEST_EXT_DOMDOCUMENT_H_
// >>>>>> Generated by idl.php. Do NOT modify. <<<<<<
#include "hphp/test/ext/test_cpp_ext.h"
///////////////////////////////////////////////////////////////////////////////
class TestExtDomdocument : public TestCppExt {
public:
virtual bool RunTests(const std::string &which);
bool test_DOMNode();
bool test_DOMAttr();
bool test_DOMCharacterData();
bool test_DOMComment();
bool test_DOMText();
bool test_DOMCdataSection();
bool test_DOMDocument();
bool test_DOMDocumentFragment();
bool test_DOMDocumentType();
bool test_DOMElement();
bool test_DOMEntity();
bool test_DOMEntityReference();
bool test_DOMNotation();
bool test_DOMProcessingInstruction();
bool test_DOMNamedNodeMap();
bool test_DOMNodeList();
bool test_DOMException();
bool test_DOMImplementation();
bool test_DOMXPath();
};
///////////////////////////////////////////////////////////////////////////////
#endif // incl_HPHP_TEST_EXT_DOMDOCUMENT_H_
-96
Ver Arquivo
@@ -1,96 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#include "hphp/test/ext/test_ext_error.h"
#include "hphp/runtime/ext/ext_error.h"
#include "hphp/runtime/base/runtime_option.h"
///////////////////////////////////////////////////////////////////////////////
bool TestExtError::RunTests(const std::string &which) {
bool ret = true;
RUN_TEST(test_debug_backtrace);
RUN_TEST(test_debug_print_backtrace);
RUN_TEST(test_error_get_last);
RUN_TEST(test_error_log);
RUN_TEST(test_error_reporting);
RUN_TEST(test_restore_error_handler);
RUN_TEST(test_restore_exception_handler);
RUN_TEST(test_set_error_handler);
RUN_TEST(test_set_exception_handler);
RUN_TEST(test_trigger_error);
RUN_TEST(test_user_error);
return ret;
}
///////////////////////////////////////////////////////////////////////////////
bool TestExtError::test_debug_backtrace() {
// better tested by php code
return Count(true);
}
bool TestExtError::test_debug_print_backtrace() {
// better tested by php code
return Count(true);
}
bool TestExtError::test_error_get_last() {
f_error_get_last(); // dry run
return Count(true);
}
bool TestExtError::test_error_log() {
f_error_log(""); // dry run
return Count(true);
}
bool TestExtError::test_error_reporting() {
f_error_reporting(1); // dry run
return Count(true);
}
bool TestExtError::test_restore_error_handler() {
// tested in TestCodeRun::TestErrorHandler
return Count(true);
}
bool TestExtError::test_restore_exception_handler() {
// tested in TestCodeRun::TestErrorHandler
return Count(true);
}
bool TestExtError::test_set_error_handler() {
// tested in TestCodeRun::TestErrorHandler
return Count(true);
}
bool TestExtError::test_set_exception_handler() {
// tested in TestCodeRun::TestErrorHandler
return Count(true);
}
bool TestExtError::test_trigger_error() {
// tested in TestCodeRun::TestErrorHandler
return Count(true);
}
bool TestExtError::test_user_error() {
// tested in TestCodeRun::TestErrorHandler
return Count(true);
}
-45
Ver Arquivo
@@ -1,45 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#ifndef incl_HPHP_TEST_EXT_ERROR_H_
#define incl_HPHP_TEST_EXT_ERROR_H_
// >>>>>> Generated by idl.php. Do NOT modify. <<<<<<
#include "hphp/test/ext/test_cpp_ext.h"
///////////////////////////////////////////////////////////////////////////////
class TestExtError : public TestCppExt {
public:
virtual bool RunTests(const std::string &which);
bool test_debug_backtrace();
bool test_debug_print_backtrace();
bool test_error_get_last();
bool test_error_log();
bool test_error_reporting();
bool test_restore_error_handler();
bool test_restore_exception_handler();
bool test_set_error_handler();
bool test_set_exception_handler();
bool test_trigger_error();
bool test_user_error();
};
///////////////////////////////////////////////////////////////////////////////
#endif // incl_HPHP_TEST_EXT_ERROR_H_
-148
Ver Arquivo
@@ -1,148 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#include "hphp/test/ext/test_ext_function.h"
#include "hphp/runtime/ext/ext_function.h"
///////////////////////////////////////////////////////////////////////////////
bool TestExtFunction::RunTests(const std::string &which) {
bool ret = true;
DECLARE_TEST_FUNCTIONS("function test($s1) {"
" return $s1;"
"}");
RUN_TEST(test_get_defined_functions);
RUN_TEST(test_function_exists);
RUN_TEST(test_is_callable);
RUN_TEST(test_call_user_func_array);
RUN_TEST(test_call_user_func);
RUN_TEST(test_forward_static_call_array);
RUN_TEST(test_forward_static_call);
RUN_TEST(test_create_function);
RUN_TEST(test_func_get_arg);
RUN_TEST(test_func_get_args);
RUN_TEST(test_func_num_args);
RUN_TEST(test_register_postsend_function);
RUN_TEST(test_register_shutdown_function);
RUN_TEST(test_register_cleanup_function);
RUN_TEST(test_register_tick_function);
RUN_TEST(test_unregister_tick_function);
return ret;
}
///////////////////////////////////////////////////////////////////////////////
bool TestExtFunction::test_get_defined_functions() {
static const StaticString s_internal("internal");
Array funcs = f_get_defined_functions();
VERIFY(!funcs[s_internal][0].toString().empty());
return Count(true);
}
bool TestExtFunction::test_function_exists() {
VERIFY(f_function_exists("test"));
VERIFY(f_function_exists("TEst"));
VERIFY(!f_function_exists("fake"));
return Count(true);
}
bool TestExtFunction::test_is_callable() {
VERIFY(f_is_callable("TEst"));
// lots of testing in TestCodeRun::TestObjectMethod()
return Count(true);
}
bool TestExtFunction::test_call_user_func_array() {
Variant ret = vm_call_user_func("TEst", CREATE_VECTOR1("param"));
VS(ret, "param");
return Count(true);
}
bool TestExtFunction::test_call_user_func() {
Variant ret = f_call_user_func(1, "TEst", CREATE_VECTOR1("param"));
VS(ret, "param");
return Count(true);
}
bool TestExtFunction::test_forward_static_call_array() {
// tested in TestCodeRun::TestLateStaticBinding
return true;
}
bool TestExtFunction::test_forward_static_call() {
// tested in TestCodeRun::TestLateStaticBinding
return true;
}
bool TestExtFunction::test_create_function() {
try {
f_create_function("$a", "");
} catch (const NotSupportedException& e) {
return Count(false);
}
return Count(true);
}
bool TestExtFunction::test_func_get_arg() {
// TestCodeRun covers this
return Count(true);
}
bool TestExtFunction::test_func_get_args() {
// TestCodeRun covers this
return Count(true);
}
bool TestExtFunction::test_func_num_args() {
// TestCodeRun covers this
return Count(true);
}
bool TestExtFunction::test_register_postsend_function() {
// TestCodeRun covers this
return Count(true);
}
bool TestExtFunction::test_register_shutdown_function() {
// TestCodeRun covers this
return Count(true);
}
bool TestExtFunction::test_register_cleanup_function() {
// TestCodeRun covers this
return Count(true);
}
bool TestExtFunction::test_register_tick_function() {
try {
f_register_tick_function(0, "test", Array::Create());
} catch (const NotImplementedException& e) {
return Count(true);
}
return Count(false);
}
bool TestExtFunction::test_unregister_tick_function() {
try {
f_unregister_tick_function("test");
} catch (const NotImplementedException& e) {
return Count(true);
}
return Count(false);
}
-50
Ver Arquivo
@@ -1,50 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#ifndef incl_HPHP_TEST_EXT_FUNCTION_H_
#define incl_HPHP_TEST_EXT_FUNCTION_H_
// >>>>>> Generated by idl.php. Do NOT modify. <<<<<<
#include "hphp/test/ext/test_cpp_ext.h"
///////////////////////////////////////////////////////////////////////////////
class TestExtFunction : public TestCppExt {
public:
virtual bool RunTests(const std::string &which);
bool test_get_defined_functions();
bool test_function_exists();
bool test_is_callable();
bool test_call_user_func_array();
bool test_call_user_func();
bool test_forward_static_call_array();
bool test_forward_static_call();
bool test_create_function();
bool test_func_get_arg();
bool test_func_get_args();
bool test_func_num_args();
bool test_register_postsend_function();
bool test_register_shutdown_function();
bool test_register_cleanup_function();
bool test_register_tick_function();
bool test_unregister_tick_function();
};
///////////////////////////////////////////////////////////////////////////////
#endif // incl_HPHP_TEST_EXT_FUNCTION_H_
-670
Ver Arquivo
@@ -1,670 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#include "hphp/test/ext/test_ext_image.h"
///////////////////////////////////////////////////////////////////////////////
bool TestExtImage::RunTests(const std::string &which) {
bool ret = true;
RUN_TEST(test_gd_info);
RUN_TEST(test_getimagesize);
RUN_TEST(test_image_type_to_extension);
RUN_TEST(test_image_type_to_mime_type);
RUN_TEST(test_image2wbmp);
RUN_TEST(test_imagealphablending);
RUN_TEST(test_imageantialias);
RUN_TEST(test_imagearc);
RUN_TEST(test_imagechar);
RUN_TEST(test_imagecharup);
RUN_TEST(test_imagecolorallocate);
RUN_TEST(test_imagecolorallocatealpha);
RUN_TEST(test_imagecolorat);
RUN_TEST(test_imagecolorclosest);
RUN_TEST(test_imagecolorclosestalpha);
RUN_TEST(test_imagecolorclosesthwb);
RUN_TEST(test_imagecolordeallocate);
RUN_TEST(test_imagecolorexact);
RUN_TEST(test_imagecolorexactalpha);
RUN_TEST(test_imagecolormatch);
RUN_TEST(test_imagecolorresolve);
RUN_TEST(test_imagecolorresolvealpha);
RUN_TEST(test_imagecolorset);
RUN_TEST(test_imagecolorsforindex);
RUN_TEST(test_imagecolorstotal);
RUN_TEST(test_imagecolortransparent);
RUN_TEST(test_imageconvolution);
RUN_TEST(test_imagecopy);
RUN_TEST(test_imagecopymerge);
RUN_TEST(test_imagecopymergegray);
RUN_TEST(test_imagecopyresampled);
RUN_TEST(test_imagecopyresized);
RUN_TEST(test_imagecreate);
RUN_TEST(test_imagecreatefromgd2part);
RUN_TEST(test_imagecreatefromgd);
RUN_TEST(test_imagecreatefromgd2);
RUN_TEST(test_imagecreatefromgif);
RUN_TEST(test_imagecreatefromjpeg);
RUN_TEST(test_imagecreatefrompng);
RUN_TEST(test_imagecreatefromstring);
RUN_TEST(test_imagecreatefromwbmp);
RUN_TEST(test_imagecreatefromxbm);
RUN_TEST(test_imagecreatefromxpm);
RUN_TEST(test_imagecreatetruecolor);
RUN_TEST(test_imagedashedline);
RUN_TEST(test_imagedestroy);
RUN_TEST(test_imageellipse);
RUN_TEST(test_imagefill);
RUN_TEST(test_imagefilledarc);
RUN_TEST(test_imagefilledellipse);
RUN_TEST(test_imagefilledpolygon);
RUN_TEST(test_imagefilledrectangle);
RUN_TEST(test_imagefilltoborder);
RUN_TEST(test_imagefilter);
RUN_TEST(test_imagefontheight);
RUN_TEST(test_imagefontwidth);
RUN_TEST(test_imageftbbox);
RUN_TEST(test_imagefttext);
RUN_TEST(test_imagegammacorrect);
RUN_TEST(test_imagegd2);
RUN_TEST(test_imagegd);
RUN_TEST(test_imagegif);
RUN_TEST(test_imagegrabscreen);
RUN_TEST(test_imagegrabwindow);
RUN_TEST(test_imageinterlace);
RUN_TEST(test_imageistruecolor);
RUN_TEST(test_imagejpeg);
RUN_TEST(test_imagelayereffect);
RUN_TEST(test_imageline);
RUN_TEST(test_imageloadfont);
RUN_TEST(test_imagepalettecopy);
RUN_TEST(test_imagepng);
RUN_TEST(test_imagepolygon);
RUN_TEST(test_imagepsbbox);
RUN_TEST(test_imagepsencodefont);
RUN_TEST(test_imagepsextendfont);
RUN_TEST(test_imagepsfreefont);
RUN_TEST(test_imagepsloadfont);
RUN_TEST(test_imagepsslantfont);
RUN_TEST(test_imagepstext);
RUN_TEST(test_imagerectangle);
RUN_TEST(test_imagerotate);
RUN_TEST(test_imagesavealpha);
RUN_TEST(test_imagesetbrush);
RUN_TEST(test_imagesetpixel);
RUN_TEST(test_imagesetstyle);
RUN_TEST(test_imagesetthickness);
RUN_TEST(test_imagesettile);
RUN_TEST(test_imagestring);
RUN_TEST(test_imagestringup);
RUN_TEST(test_imagesx);
RUN_TEST(test_imagesy);
RUN_TEST(test_imagetruecolortopalette);
RUN_TEST(test_imagettfbbox);
RUN_TEST(test_imagettftext);
RUN_TEST(test_imagetypes);
RUN_TEST(test_imagewbmp);
RUN_TEST(test_imagexbm);
RUN_TEST(test_iptcembed);
RUN_TEST(test_iptcparse);
RUN_TEST(test_jpeg2wbmp);
RUN_TEST(test_png2wbmp);
RUN_TEST(test_exif_imagetype);
RUN_TEST(test_exif_read_data);
RUN_TEST(test_read_exif_data);
RUN_TEST(test_exif_tagname);
RUN_TEST(test_exif_thumbnail);
return ret;
}
///////////////////////////////////////////////////////////////////////////////
bool TestExtImage::test_gd_info() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_getimagesize() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_image_type_to_extension() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_image_type_to_mime_type() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_image2wbmp() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagealphablending() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imageantialias() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagearc() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagechar() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecharup() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecolorallocate() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecolorallocatealpha() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecolorat() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecolorclosest() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecolorclosestalpha() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecolorclosesthwb() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecolordeallocate() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecolorexact() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecolorexactalpha() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecolormatch() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecolorresolve() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecolorresolvealpha() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecolorset() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecolorsforindex() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecolorstotal() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecolortransparent() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imageconvolution() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecopy() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecopymerge() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecopymergegray() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecopyresampled() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecopyresized() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecreate() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecreatefromgd2part() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecreatefromgd() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecreatefromgd2() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecreatefromgif() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecreatefromjpeg() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecreatefrompng() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecreatefromstring() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecreatefromwbmp() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecreatefromxbm() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecreatefromxpm() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagecreatetruecolor() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagedashedline() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagedestroy() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imageellipse() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagefill() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagefilledarc() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagefilledellipse() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagefilledpolygon() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagefilledrectangle() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagefilltoborder() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagefilter() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagefontheight() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagefontwidth() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imageftbbox() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagefttext() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagegammacorrect() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagegd2() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagegd() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagegif() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagegrabscreen() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagegrabwindow() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imageinterlace() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imageistruecolor() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagejpeg() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagelayereffect() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imageline() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imageloadfont() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagepalettecopy() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagepng() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagepolygon() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagepsbbox() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagepsencodefont() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagepsextendfont() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagepsfreefont() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagepsloadfont() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagepsslantfont() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagepstext() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagerectangle() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagerotate() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagesavealpha() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagesetbrush() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagesetpixel() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagesetstyle() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagesetthickness() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagesettile() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagestring() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagestringup() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagesx() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagesy() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagetruecolortopalette() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagettfbbox() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagettftext() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagetypes() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagewbmp() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_imagexbm() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_iptcembed() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_iptcparse() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_jpeg2wbmp() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_png2wbmp() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_exif_imagetype() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_exif_read_data() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_read_exif_data() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_exif_tagname() {
//VCB("<?php ");
return true;
}
bool TestExtImage::test_exif_thumbnail() {
//VCB("<?php ");
return true;
}
-141
Ver Arquivo
@@ -1,141 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#ifndef incl_HPHP_TEST_EXT_IMAGE_H_
#define incl_HPHP_TEST_EXT_IMAGE_H_
// >>>>>> Generated by idl.php. Do NOT modify. <<<<<<
#include "hphp/test/ext/test_cpp_ext.h"
///////////////////////////////////////////////////////////////////////////////
class TestExtImage : public TestCppExt {
public:
virtual bool RunTests(const std::string &which);
bool test_gd_info();
bool test_getimagesize();
bool test_image_type_to_extension();
bool test_image_type_to_mime_type();
bool test_image2wbmp();
bool test_imagealphablending();
bool test_imageantialias();
bool test_imagearc();
bool test_imagechar();
bool test_imagecharup();
bool test_imagecolorallocate();
bool test_imagecolorallocatealpha();
bool test_imagecolorat();
bool test_imagecolorclosest();
bool test_imagecolorclosestalpha();
bool test_imagecolorclosesthwb();
bool test_imagecolordeallocate();
bool test_imagecolorexact();
bool test_imagecolorexactalpha();
bool test_imagecolormatch();
bool test_imagecolorresolve();
bool test_imagecolorresolvealpha();
bool test_imagecolorset();
bool test_imagecolorsforindex();
bool test_imagecolorstotal();
bool test_imagecolortransparent();
bool test_imageconvolution();
bool test_imagecopy();
bool test_imagecopymerge();
bool test_imagecopymergegray();
bool test_imagecopyresampled();
bool test_imagecopyresized();
bool test_imagecreate();
bool test_imagecreatefromgd2part();
bool test_imagecreatefromgd();
bool test_imagecreatefromgd2();
bool test_imagecreatefromgif();
bool test_imagecreatefromjpeg();
bool test_imagecreatefrompng();
bool test_imagecreatefromstring();
bool test_imagecreatefromwbmp();
bool test_imagecreatefromxbm();
bool test_imagecreatefromxpm();
bool test_imagecreatetruecolor();
bool test_imagedashedline();
bool test_imagedestroy();
bool test_imageellipse();
bool test_imagefill();
bool test_imagefilledarc();
bool test_imagefilledellipse();
bool test_imagefilledpolygon();
bool test_imagefilledrectangle();
bool test_imagefilltoborder();
bool test_imagefilter();
bool test_imagefontheight();
bool test_imagefontwidth();
bool test_imageftbbox();
bool test_imagefttext();
bool test_imagegammacorrect();
bool test_imagegd2();
bool test_imagegd();
bool test_imagegif();
bool test_imagegrabscreen();
bool test_imagegrabwindow();
bool test_imageinterlace();
bool test_imageistruecolor();
bool test_imagejpeg();
bool test_imagelayereffect();
bool test_imageline();
bool test_imageloadfont();
bool test_imagepalettecopy();
bool test_imagepng();
bool test_imagepolygon();
bool test_imagepsbbox();
bool test_imagepsencodefont();
bool test_imagepsextendfont();
bool test_imagepsfreefont();
bool test_imagepsloadfont();
bool test_imagepsslantfont();
bool test_imagepstext();
bool test_imagerectangle();
bool test_imagerotate();
bool test_imagesavealpha();
bool test_imagesetbrush();
bool test_imagesetpixel();
bool test_imagesetstyle();
bool test_imagesetthickness();
bool test_imagesettile();
bool test_imagestring();
bool test_imagestringup();
bool test_imagesx();
bool test_imagesy();
bool test_imagetruecolortopalette();
bool test_imagettfbbox();
bool test_imagettftext();
bool test_imagetypes();
bool test_imagewbmp();
bool test_imagexbm();
bool test_iptcembed();
bool test_iptcparse();
bool test_jpeg2wbmp();
bool test_png2wbmp();
bool test_exif_imagetype();
bool test_exif_read_data();
bool test_read_exif_data();
bool test_exif_tagname();
bool test_exif_thumbnail();
};
///////////////////////////////////////////////////////////////////////////////
#endif // incl_HPHP_TEST_EXT_IMAGE_H_
-370
Ver Arquivo
@@ -1,370 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#include "hphp/test/ext/test_ext_imap.h"
#include "hphp/runtime/ext/ext_imap.h"
IMPLEMENT_SEP_EXTENSION_TEST(Imap);
///////////////////////////////////////////////////////////////////////////////
bool TestExtImap::RunTests(const std::string &which) {
bool ret = true;
RUN_TEST(test_imap_8bit);
RUN_TEST(test_imap_alerts);
RUN_TEST(test_imap_append);
RUN_TEST(test_imap_base64);
RUN_TEST(test_imap_binary);
RUN_TEST(test_imap_body);
RUN_TEST(test_imap_bodystruct);
RUN_TEST(test_imap_check);
RUN_TEST(test_imap_clearflag_full);
RUN_TEST(test_imap_close);
RUN_TEST(test_imap_createmailbox);
RUN_TEST(test_imap_delete);
RUN_TEST(test_imap_deletemailbox);
RUN_TEST(test_imap_errors);
RUN_TEST(test_imap_expunge);
RUN_TEST(test_imap_fetch_overview);
RUN_TEST(test_imap_fetchbody);
RUN_TEST(test_imap_fetchheader);
RUN_TEST(test_imap_fetchstructure);
RUN_TEST(test_imap_gc);
RUN_TEST(test_imap_get_quota);
RUN_TEST(test_imap_get_quotaroot);
RUN_TEST(test_imap_getacl);
RUN_TEST(test_imap_getmailboxes);
RUN_TEST(test_imap_getsubscribed);
RUN_TEST(test_imap_header);
RUN_TEST(test_imap_headerinfo);
RUN_TEST(test_imap_headers);
RUN_TEST(test_imap_last_error);
RUN_TEST(test_imap_list);
RUN_TEST(test_imap_listmailbox);
RUN_TEST(test_imap_listscan);
RUN_TEST(test_imap_listsubscribed);
RUN_TEST(test_imap_lsub);
RUN_TEST(test_imap_mail_compose);
RUN_TEST(test_imap_mail_copy);
RUN_TEST(test_imap_mail_move);
RUN_TEST(test_imap_mail);
RUN_TEST(test_imap_mailboxmsginfo);
RUN_TEST(test_imap_mime_header_decode);
RUN_TEST(test_imap_msgno);
RUN_TEST(test_imap_num_msg);
RUN_TEST(test_imap_num_recent);
RUN_TEST(test_imap_open);
RUN_TEST(test_imap_ping);
RUN_TEST(test_imap_qprint);
RUN_TEST(test_imap_renamemailbox);
RUN_TEST(test_imap_reopen);
RUN_TEST(test_imap_rfc822_parse_adrlist);
RUN_TEST(test_imap_rfc822_parse_headers);
RUN_TEST(test_imap_rfc822_write_address);
RUN_TEST(test_imap_savebody);
RUN_TEST(test_imap_scanmailbox);
RUN_TEST(test_imap_search);
RUN_TEST(test_imap_set_quota);
RUN_TEST(test_imap_setacl);
RUN_TEST(test_imap_setflag_full);
RUN_TEST(test_imap_sort);
RUN_TEST(test_imap_status);
RUN_TEST(test_imap_subscribe);
RUN_TEST(test_imap_thread);
RUN_TEST(test_imap_timeout);
RUN_TEST(test_imap_uid);
RUN_TEST(test_imap_undelete);
RUN_TEST(test_imap_unsubscribe);
RUN_TEST(test_imap_utf7_decode);
RUN_TEST(test_imap_utf7_encode);
RUN_TEST(test_imap_utf8);
return ret;
}
///////////////////////////////////////////////////////////////////////////////
bool TestExtImap::test_imap_8bit() {
return Count(true);
}
bool TestExtImap::test_imap_alerts() {
return Count(true);
}
bool TestExtImap::test_imap_append() {
return Count(true);
}
bool TestExtImap::test_imap_base64() {
return Count(true);
}
bool TestExtImap::test_imap_binary() {
return Count(true);
}
bool TestExtImap::test_imap_body() {
return Count(true);
}
bool TestExtImap::test_imap_bodystruct() {
return Count(true);
}
bool TestExtImap::test_imap_check() {
return Count(true);
}
bool TestExtImap::test_imap_clearflag_full() {
return Count(true);
}
bool TestExtImap::test_imap_close() {
return Count(true);
}
bool TestExtImap::test_imap_createmailbox() {
return Count(true);
}
bool TestExtImap::test_imap_delete() {
return Count(true);
}
bool TestExtImap::test_imap_deletemailbox() {
return Count(true);
}
bool TestExtImap::test_imap_errors() {
return Count(true);
}
bool TestExtImap::test_imap_expunge() {
return Count(true);
}
bool TestExtImap::test_imap_fetch_overview() {
return Count(true);
}
bool TestExtImap::test_imap_fetchbody() {
return Count(true);
}
bool TestExtImap::test_imap_fetchheader() {
return Count(true);
}
bool TestExtImap::test_imap_fetchstructure() {
return Count(true);
}
bool TestExtImap::test_imap_gc() {
return Count(true);
}
bool TestExtImap::test_imap_get_quota() {
return Count(true);
}
bool TestExtImap::test_imap_get_quotaroot() {
return Count(true);
}
bool TestExtImap::test_imap_getacl() {
return Count(true);
}
bool TestExtImap::test_imap_getmailboxes() {
return Count(true);
}
bool TestExtImap::test_imap_getsubscribed() {
return Count(true);
}
bool TestExtImap::test_imap_header() {
return Count(true);
}
bool TestExtImap::test_imap_headerinfo() {
return Count(true);
}
bool TestExtImap::test_imap_headers() {
return Count(true);
}
bool TestExtImap::test_imap_last_error() {
return Count(true);
}
bool TestExtImap::test_imap_list() {
return Count(true);
}
bool TestExtImap::test_imap_listmailbox() {
return Count(true);
}
bool TestExtImap::test_imap_listscan() {
return Count(true);
}
bool TestExtImap::test_imap_listsubscribed() {
return Count(true);
}
bool TestExtImap::test_imap_lsub() {
return Count(true);
}
bool TestExtImap::test_imap_mail_compose() {
return Count(true);
}
bool TestExtImap::test_imap_mail_copy() {
return Count(true);
}
bool TestExtImap::test_imap_mail_move() {
return Count(true);
}
bool TestExtImap::test_imap_mail() {
return Count(true);
}
bool TestExtImap::test_imap_mailboxmsginfo() {
return Count(true);
}
bool TestExtImap::test_imap_mime_header_decode() {
return Count(true);
}
bool TestExtImap::test_imap_msgno() {
return Count(true);
}
bool TestExtImap::test_imap_num_msg() {
return Count(true);
}
bool TestExtImap::test_imap_num_recent() {
return Count(true);
}
bool TestExtImap::test_imap_open() {
return Count(true);
}
bool TestExtImap::test_imap_ping() {
return Count(true);
}
bool TestExtImap::test_imap_qprint() {
return Count(true);
}
bool TestExtImap::test_imap_renamemailbox() {
return Count(true);
}
bool TestExtImap::test_imap_reopen() {
return Count(true);
}
bool TestExtImap::test_imap_rfc822_parse_adrlist() {
return Count(true);
}
bool TestExtImap::test_imap_rfc822_parse_headers() {
return Count(true);
}
bool TestExtImap::test_imap_rfc822_write_address() {
return Count(true);
}
bool TestExtImap::test_imap_savebody() {
return Count(true);
}
bool TestExtImap::test_imap_scanmailbox() {
return Count(true);
}
bool TestExtImap::test_imap_search() {
return Count(true);
}
bool TestExtImap::test_imap_set_quota() {
return Count(true);
}
bool TestExtImap::test_imap_setacl() {
return Count(true);
}
bool TestExtImap::test_imap_setflag_full() {
return Count(true);
}
bool TestExtImap::test_imap_sort() {
return Count(true);
}
bool TestExtImap::test_imap_status() {
return Count(true);
}
bool TestExtImap::test_imap_subscribe() {
return Count(true);
}
bool TestExtImap::test_imap_thread() {
return Count(true);
}
bool TestExtImap::test_imap_timeout() {
return Count(true);
}
bool TestExtImap::test_imap_uid() {
return Count(true);
}
bool TestExtImap::test_imap_undelete() {
return Count(true);
}
bool TestExtImap::test_imap_unsubscribe() {
return Count(true);
}
bool TestExtImap::test_imap_utf7_decode() {
return Count(true);
}
bool TestExtImap::test_imap_utf7_encode() {
return Count(true);
}
bool TestExtImap::test_imap_utf8() {
return Count(true);
}
-102
Ver Arquivo
@@ -1,102 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#ifndef incl_HPHP_TEST_EXT_IMAP_H_
#define incl_HPHP_TEST_EXT_IMAP_H_
// >>>>>> Generated by idl.php. Do NOT modify. <<<<<<
#include "hphp/test/ext/test_cpp_ext.h"
///////////////////////////////////////////////////////////////////////////////
class TestExtImap : public TestCppExt {
public:
virtual bool RunTests(const std::string &which);
bool test_imap_8bit();
bool test_imap_alerts();
bool test_imap_append();
bool test_imap_base64();
bool test_imap_binary();
bool test_imap_body();
bool test_imap_bodystruct();
bool test_imap_check();
bool test_imap_clearflag_full();
bool test_imap_close();
bool test_imap_createmailbox();
bool test_imap_delete();
bool test_imap_deletemailbox();
bool test_imap_errors();
bool test_imap_expunge();
bool test_imap_fetch_overview();
bool test_imap_fetchbody();
bool test_imap_fetchheader();
bool test_imap_fetchstructure();
bool test_imap_gc();
bool test_imap_get_quota();
bool test_imap_get_quotaroot();
bool test_imap_getacl();
bool test_imap_getmailboxes();
bool test_imap_getsubscribed();
bool test_imap_header();
bool test_imap_headerinfo();
bool test_imap_headers();
bool test_imap_last_error();
bool test_imap_list();
bool test_imap_listmailbox();
bool test_imap_listscan();
bool test_imap_listsubscribed();
bool test_imap_lsub();
bool test_imap_mail_compose();
bool test_imap_mail_copy();
bool test_imap_mail_move();
bool test_imap_mail();
bool test_imap_mailboxmsginfo();
bool test_imap_mime_header_decode();
bool test_imap_msgno();
bool test_imap_num_msg();
bool test_imap_num_recent();
bool test_imap_open();
bool test_imap_ping();
bool test_imap_qprint();
bool test_imap_renamemailbox();
bool test_imap_reopen();
bool test_imap_rfc822_parse_adrlist();
bool test_imap_rfc822_parse_headers();
bool test_imap_rfc822_write_address();
bool test_imap_savebody();
bool test_imap_scanmailbox();
bool test_imap_search();
bool test_imap_set_quota();
bool test_imap_setacl();
bool test_imap_setflag_full();
bool test_imap_sort();
bool test_imap_status();
bool test_imap_subscribe();
bool test_imap_thread();
bool test_imap_timeout();
bool test_imap_uid();
bool test_imap_undelete();
bool test_imap_unsubscribe();
bool test_imap_utf7_decode();
bool test_imap_utf7_encode();
bool test_imap_utf8();
};
///////////////////////////////////////////////////////////////////////////////
#endif // incl_HPHP_TEST_EXT_IMAP_H_
-286
Ver Arquivo
@@ -1,286 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#include "hphp/test/ext/test_ext_ldap.h"
///////////////////////////////////////////////////////////////////////////////
bool TestExtLdap::RunTests(const std::string &which) {
bool ret = true;
RUN_TEST(test_ldap_connect);
RUN_TEST(test_ldap_explode_dn);
RUN_TEST(test_ldap_dn2ufn);
RUN_TEST(test_ldap_err2str);
RUN_TEST(test_ldap_8859_to_t61);
RUN_TEST(test_ldap_t61_to_8859);
RUN_TEST(test_ldap_add);
RUN_TEST(test_ldap_mod_add);
RUN_TEST(test_ldap_mod_del);
RUN_TEST(test_ldap_mod_replace);
RUN_TEST(test_ldap_modify);
RUN_TEST(test_ldap_bind);
RUN_TEST(test_ldap_sasl_bind);
RUN_TEST(test_ldap_set_rebind_proc);
RUN_TEST(test_ldap_sort);
RUN_TEST(test_ldap_start_tls);
RUN_TEST(test_ldap_unbind);
RUN_TEST(test_ldap_get_option);
RUN_TEST(test_ldap_set_option);
RUN_TEST(test_ldap_close);
RUN_TEST(test_ldap_list);
RUN_TEST(test_ldap_read);
RUN_TEST(test_ldap_search);
RUN_TEST(test_ldap_rename);
RUN_TEST(test_ldap_delete);
RUN_TEST(test_ldap_compare);
RUN_TEST(test_ldap_errno);
RUN_TEST(test_ldap_error);
RUN_TEST(test_ldap_get_dn);
RUN_TEST(test_ldap_count_entries);
RUN_TEST(test_ldap_get_entries);
RUN_TEST(test_ldap_first_entry);
RUN_TEST(test_ldap_next_entry);
RUN_TEST(test_ldap_get_attributes);
RUN_TEST(test_ldap_first_attribute);
RUN_TEST(test_ldap_next_attribute);
RUN_TEST(test_ldap_first_reference);
RUN_TEST(test_ldap_next_reference);
RUN_TEST(test_ldap_parse_reference);
RUN_TEST(test_ldap_parse_result);
RUN_TEST(test_ldap_free_result);
RUN_TEST(test_ldap_get_values_len);
RUN_TEST(test_ldap_get_values);
return ret;
}
///////////////////////////////////////////////////////////////////////////////
bool TestExtLdap::test_ldap_connect() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_explode_dn() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_dn2ufn() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_err2str() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_8859_to_t61() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_t61_to_8859() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_add() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_mod_add() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_mod_del() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_mod_replace() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_modify() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_bind() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_sasl_bind() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_set_rebind_proc() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_sort() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_start_tls() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_unbind() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_get_option() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_set_option() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_close() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_list() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_read() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_search() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_rename() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_delete() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_compare() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_errno() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_error() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_get_dn() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_count_entries() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_get_entries() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_first_entry() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_next_entry() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_get_attributes() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_first_attribute() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_next_attribute() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_first_reference() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_next_reference() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_parse_reference() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_parse_result() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_free_result() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_get_values_len() {
//VCB("<?php ");
return true;
}
bool TestExtLdap::test_ldap_get_values() {
//VCB("<?php ");
return true;
}
-77
Ver Arquivo
@@ -1,77 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#ifndef incl_HPHP_TEST_EXT_LDAP_H_
#define incl_HPHP_TEST_EXT_LDAP_H_
// >>>>>> Generated by idl.php. Do NOT modify. <<<<<<
#include "hphp/test/ext/test_cpp_ext.h"
///////////////////////////////////////////////////////////////////////////////
class TestExtLdap : public TestCppExt {
public:
virtual bool RunTests(const std::string &which);
bool test_ldap_connect();
bool test_ldap_explode_dn();
bool test_ldap_dn2ufn();
bool test_ldap_err2str();
bool test_ldap_8859_to_t61();
bool test_ldap_t61_to_8859();
bool test_ldap_add();
bool test_ldap_mod_add();
bool test_ldap_mod_del();
bool test_ldap_mod_replace();
bool test_ldap_modify();
bool test_ldap_bind();
bool test_ldap_sasl_bind();
bool test_ldap_set_rebind_proc();
bool test_ldap_sort();
bool test_ldap_start_tls();
bool test_ldap_unbind();
bool test_ldap_get_option();
bool test_ldap_set_option();
bool test_ldap_close();
bool test_ldap_list();
bool test_ldap_read();
bool test_ldap_search();
bool test_ldap_rename();
bool test_ldap_delete();
bool test_ldap_compare();
bool test_ldap_errno();
bool test_ldap_error();
bool test_ldap_get_dn();
bool test_ldap_count_entries();
bool test_ldap_get_entries();
bool test_ldap_first_entry();
bool test_ldap_next_entry();
bool test_ldap_get_attributes();
bool test_ldap_first_attribute();
bool test_ldap_next_attribute();
bool test_ldap_first_reference();
bool test_ldap_next_reference();
bool test_ldap_parse_reference();
bool test_ldap_parse_result();
bool test_ldap_free_result();
bool test_ldap_get_values_len();
bool test_ldap_get_values();
};
///////////////////////////////////////////////////////////////////////////////
#endif // incl_HPHP_TEST_EXT_LDAP_H_
-25
Ver Arquivo
@@ -1,25 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#include "hphp/test/ext/test_ext_magick.h"
///////////////////////////////////////////////////////////////////////////////
bool TestExtMagick::RunTests(const std::string &which) {
return true;
}
///////////////////////////////////////////////////////////////////////////////
-462
Ver Arquivo
@@ -1,462 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#ifndef incl_HPHP_TEST_EXT_MAGICK_H_
#define incl_HPHP_TEST_EXT_MAGICK_H_
// >>>>>> Generated by idl.php. Do NOT modify. <<<<<<
#include "hphp/test/ext/test_cpp_ext.h"
///////////////////////////////////////////////////////////////////////////////
class TestExtMagick : public TestCppExt {
public:
virtual bool RunTests(const std::string &which);
bool test_magickgetcopyright();
bool test_magickgethomeurl();
bool test_magickgetpackagename();
bool test_magickgetquantumdepth();
bool test_magickgetreleasedate();
bool test_magickgetresourcelimit();
bool test_magickgetversion();
bool test_magickgetversionnumber();
bool test_magickgetversionstring();
bool test_magickqueryconfigureoption();
bool test_magickqueryconfigureoptions();
bool test_magickqueryfonts();
bool test_magickqueryformats();
bool test_magicksetresourcelimit();
bool test_newdrawingwand();
bool test_newmagickwand();
bool test_newpixeliterator();
bool test_newpixelregioniterator();
bool test_newpixelwand();
bool test_newpixelwandarray();
bool test_newpixelwands();
bool test_destroydrawingwand();
bool test_destroymagickwand();
bool test_destroypixeliterator();
bool test_destroypixelwand();
bool test_destroypixelwandarray();
bool test_destroypixelwands();
bool test_isdrawingwand();
bool test_ismagickwand();
bool test_ispixeliterator();
bool test_ispixelwand();
bool test_cleardrawingwand();
bool test_clearmagickwand();
bool test_clearpixeliterator();
bool test_clearpixelwand();
bool test_clonedrawingwand();
bool test_clonemagickwand();
bool test_wandgetexception();
bool test_wandgetexceptionstring();
bool test_wandgetexceptiontype();
bool test_wandhasexception();
bool test_drawaffine();
bool test_drawannotation();
bool test_drawarc();
bool test_drawbezier();
bool test_drawcircle();
bool test_drawcolor();
bool test_drawcomment();
bool test_drawcomposite();
bool test_drawellipse();
bool test_drawgetclippath();
bool test_drawgetcliprule();
bool test_drawgetclipunits();
bool test_drawgetexception();
bool test_drawgetexceptionstring();
bool test_drawgetexceptiontype();
bool test_drawgetfillalpha();
bool test_drawgetfillcolor();
bool test_drawgetfillopacity();
bool test_drawgetfillrule();
bool test_drawgetfont();
bool test_drawgetfontfamily();
bool test_drawgetfontsize();
bool test_drawgetfontstretch();
bool test_drawgetfontstyle();
bool test_drawgetfontweight();
bool test_drawgetgravity();
bool test_drawgetstrokealpha();
bool test_drawgetstrokeantialias();
bool test_drawgetstrokecolor();
bool test_drawgetstrokedasharray();
bool test_drawgetstrokedashoffset();
bool test_drawgetstrokelinecap();
bool test_drawgetstrokelinejoin();
bool test_drawgetstrokemiterlimit();
bool test_drawgetstrokeopacity();
bool test_drawgetstrokewidth();
bool test_drawgettextalignment();
bool test_drawgettextantialias();
bool test_drawgettextdecoration();
bool test_drawgettextencoding();
bool test_drawgettextundercolor();
bool test_drawgetvectorgraphics();
bool test_drawline();
bool test_drawmatte();
bool test_drawpathclose();
bool test_drawpathcurvetoabsolute();
bool test_drawpathcurvetoquadraticbezierabsolute();
bool test_drawpathcurvetoquadraticbezierrelative();
bool test_drawpathcurvetoquadraticbeziersmoothabsolute();
bool test_drawpathcurvetoquadraticbeziersmoothrelative();
bool test_drawpathcurvetorelative();
bool test_drawpathcurvetosmoothabsolute();
bool test_drawpathcurvetosmoothrelative();
bool test_drawpathellipticarcabsolute();
bool test_drawpathellipticarcrelative();
bool test_drawpathfinish();
bool test_drawpathlinetoabsolute();
bool test_drawpathlinetohorizontalabsolute();
bool test_drawpathlinetohorizontalrelative();
bool test_drawpathlinetorelative();
bool test_drawpathlinetoverticalabsolute();
bool test_drawpathlinetoverticalrelative();
bool test_drawpathmovetoabsolute();
bool test_drawpathmovetorelative();
bool test_drawpathstart();
bool test_drawpoint();
bool test_drawpolygon();
bool test_drawpolyline();
bool test_drawrectangle();
bool test_drawrender();
bool test_drawrotate();
bool test_drawroundrectangle();
bool test_drawscale();
bool test_drawsetclippath();
bool test_drawsetcliprule();
bool test_drawsetclipunits();
bool test_drawsetfillalpha();
bool test_drawsetfillcolor();
bool test_drawsetfillopacity();
bool test_drawsetfillpatternurl();
bool test_drawsetfillrule();
bool test_drawsetfont();
bool test_drawsetfontfamily();
bool test_drawsetfontsize();
bool test_drawsetfontstretch();
bool test_drawsetfontstyle();
bool test_drawsetfontweight();
bool test_drawsetgravity();
bool test_drawsetstrokealpha();
bool test_drawsetstrokeantialias();
bool test_drawsetstrokecolor();
bool test_drawsetstrokedasharray();
bool test_drawsetstrokedashoffset();
bool test_drawsetstrokelinecap();
bool test_drawsetstrokelinejoin();
bool test_drawsetstrokemiterlimit();
bool test_drawsetstrokeopacity();
bool test_drawsetstrokepatternurl();
bool test_drawsetstrokewidth();
bool test_drawsettextalignment();
bool test_drawsettextantialias();
bool test_drawsettextdecoration();
bool test_drawsettextencoding();
bool test_drawsettextundercolor();
bool test_drawsetvectorgraphics();
bool test_drawsetviewbox();
bool test_drawskewx();
bool test_drawskewy();
bool test_drawtranslate();
bool test_pushdrawingwand();
bool test_drawpushclippath();
bool test_drawpushdefs();
bool test_drawpushpattern();
bool test_popdrawingwand();
bool test_drawpopclippath();
bool test_drawpopdefs();
bool test_drawpoppattern();
bool test_magickadaptivethresholdimage();
bool test_magickaddimage();
bool test_magickaddnoiseimage();
bool test_magickaffinetransformimage();
bool test_magickannotateimage();
bool test_magickappendimages();
bool test_magickaverageimages();
bool test_magickblackthresholdimage();
bool test_magickblurimage();
bool test_magickborderimage();
bool test_magickcharcoalimage();
bool test_magickchopimage();
bool test_magickclipimage();
bool test_magickclippathimage();
bool test_magickcoalesceimages();
bool test_magickcolorfloodfillimage();
bool test_magickcolorizeimage();
bool test_magickcombineimages();
bool test_magickcommentimage();
bool test_magickcompareimages();
bool test_magickcompositeimage();
bool test_magickconstituteimage();
bool test_magickcontrastimage();
bool test_magickconvolveimage();
bool test_magickcropimage();
bool test_magickcyclecolormapimage();
bool test_magickdeconstructimages();
bool test_magickdescribeimage();
bool test_magickdespeckleimage();
bool test_magickdrawimage();
bool test_magickechoimageblob();
bool test_magickechoimagesblob();
bool test_magickedgeimage();
bool test_magickembossimage();
bool test_magickenhanceimage();
bool test_magickequalizeimage();
bool test_magickevaluateimage();
bool test_magickflattenimages();
bool test_magickflipimage();
bool test_magickflopimage();
bool test_magickframeimage();
bool test_magickfximage();
bool test_magickgammaimage();
bool test_magickgaussianblurimage();
bool test_magickgetcharheight();
bool test_magickgetcharwidth();
bool test_magickgetexception();
bool test_magickgetexceptionstring();
bool test_magickgetexceptiontype();
bool test_magickgetfilename();
bool test_magickgetformat();
bool test_magickgetimage();
bool test_magickgetimagebackgroundcolor();
bool test_magickgetimageblob();
bool test_magickgetimageblueprimary();
bool test_magickgetimagebordercolor();
bool test_magickgetimagechannelmean();
bool test_magickgetimagecolormapcolor();
bool test_magickgetimagecolors();
bool test_magickgetimagecolorspace();
bool test_magickgetimagecompose();
bool test_magickgetimagecompression();
bool test_magickgetimagecompressionquality();
bool test_magickgetimagedelay();
bool test_magickgetimagedepth();
bool test_magickgetimagedispose();
bool test_magickgetimageextrema();
bool test_magickgetimagefilename();
bool test_magickgetimageformat();
bool test_magickgetimagegamma();
bool test_magickgetimagegreenprimary();
bool test_magickgetimageheight();
bool test_magickgetimagehistogram();
bool test_magickgetimageindex();
bool test_magickgetimageinterlacescheme();
bool test_magickgetimageiterations();
bool test_magickgetimagemattecolor();
bool test_magickgetimagemimetype();
bool test_magickgetimagepixels();
bool test_magickgetimageprofile();
bool test_magickgetimageredprimary();
bool test_magickgetimagerenderingintent();
bool test_magickgetimageresolution();
bool test_magickgetimagescene();
bool test_magickgetimagesignature();
bool test_magickgetimagesize();
bool test_magickgetimagetype();
bool test_magickgetimageunits();
bool test_magickgetimagevirtualpixelmethod();
bool test_magickgetimagewhitepoint();
bool test_magickgetimagewidth();
bool test_magickgetimagesblob();
bool test_magickgetinterlacescheme();
bool test_magickgetmaxtextadvance();
bool test_magickgetmimetype();
bool test_magickgetnumberimages();
bool test_magickgetsamplingfactors();
bool test_magickgetsize();
bool test_magickgetstringheight();
bool test_magickgetstringwidth();
bool test_magickgettextascent();
bool test_magickgettextdescent();
bool test_magickgetwandsize();
bool test_magickhasnextimage();
bool test_magickhaspreviousimage();
bool test_magickimplodeimage();
bool test_magicklabelimage();
bool test_magicklevelimage();
bool test_magickmagnifyimage();
bool test_magickmapimage();
bool test_magickmattefloodfillimage();
bool test_magickmedianfilterimage();
bool test_magickminifyimage();
bool test_magickmodulateimage();
bool test_magickmontageimage();
bool test_magickmorphimages();
bool test_magickmosaicimages();
bool test_magickmotionblurimage();
bool test_magicknegateimage();
bool test_magicknewimage();
bool test_magicknextimage();
bool test_magicknormalizeimage();
bool test_magickoilpaintimage();
bool test_magickpaintopaqueimage();
bool test_magickpainttransparentimage();
bool test_magickpingimage();
bool test_magickposterizeimage();
bool test_magickpreviewimages();
bool test_magickpreviousimage();
bool test_magickprofileimage();
bool test_magickquantizeimage();
bool test_magickquantizeimages();
bool test_magickqueryfontmetrics();
bool test_magickradialblurimage();
bool test_magickraiseimage();
bool test_magickreadimage();
bool test_magickreadimageblob();
bool test_magickreadimagefile();
bool test_magickreadimages();
bool test_magickreducenoiseimage();
bool test_magickremoveimage();
bool test_magickremoveimageprofile();
bool test_magickremoveimageprofiles();
bool test_magickresampleimage();
bool test_magickresetiterator();
bool test_magickresizeimage();
bool test_magickrollimage();
bool test_magickrotateimage();
bool test_magicksampleimage();
bool test_magickscaleimage();
bool test_magickseparateimagechannel();
bool test_magicksetcompressionquality();
bool test_magicksetfilename();
bool test_magicksetfirstiterator();
bool test_magicksetformat();
bool test_magicksetimage();
bool test_magicksetimagebackgroundcolor();
bool test_magicksetimagebias();
bool test_magicksetimageblueprimary();
bool test_magicksetimagebordercolor();
bool test_magicksetimagecolormapcolor();
bool test_magicksetimagecolorspace();
bool test_magicksetimagecompose();
bool test_magicksetimagecompression();
bool test_magicksetimagecompressionquality();
bool test_magicksetimagedelay();
bool test_magicksetimagedepth();
bool test_magicksetimagedispose();
bool test_magicksetimagefilename();
bool test_magicksetimageformat();
bool test_magicksetimagegamma();
bool test_magicksetimagegreenprimary();
bool test_magicksetimageindex();
bool test_magicksetimageinterlacescheme();
bool test_magicksetimageiterations();
bool test_magicksetimagemattecolor();
bool test_magicksetimageoption();
bool test_magicksetimagepixels();
bool test_magicksetimageprofile();
bool test_magicksetimageredprimary();
bool test_magicksetimagerenderingintent();
bool test_magicksetimageresolution();
bool test_magicksetimagescene();
bool test_magicksetimagetype();
bool test_magicksetimageunits();
bool test_magicksetimagevirtualpixelmethod();
bool test_magicksetimagewhitepoint();
bool test_magicksetinterlacescheme();
bool test_magicksetlastiterator();
bool test_magicksetpassphrase();
bool test_magicksetresolution();
bool test_magicksetsamplingfactors();
bool test_magicksetsize();
bool test_magicksetwandsize();
bool test_magicksharpenimage();
bool test_magickshaveimage();
bool test_magickshearimage();
bool test_magicksolarizeimage();
bool test_magickspliceimage();
bool test_magickspreadimage();
bool test_magicksteganoimage();
bool test_magickstereoimage();
bool test_magickstripimage();
bool test_magickswirlimage();
bool test_magicktextureimage();
bool test_magickthresholdimage();
bool test_magicktintimage();
bool test_magicktransformimage();
bool test_magicktrimimage();
bool test_magickunsharpmaskimage();
bool test_magickwaveimage();
bool test_magickwhitethresholdimage();
bool test_magickwriteimage();
bool test_magickwriteimagefile();
bool test_magickwriteimages();
bool test_magickwriteimagesfile();
bool test_pixelgetalpha();
bool test_pixelgetalphaquantum();
bool test_pixelgetblack();
bool test_pixelgetblackquantum();
bool test_pixelgetblue();
bool test_pixelgetbluequantum();
bool test_pixelgetcolorasstring();
bool test_pixelgetcolorcount();
bool test_pixelgetcyan();
bool test_pixelgetcyanquantum();
bool test_pixelgetexception();
bool test_pixelgetexceptionstring();
bool test_pixelgetexceptiontype();
bool test_pixelgetgreen();
bool test_pixelgetgreenquantum();
bool test_pixelgetindex();
bool test_pixelgetmagenta();
bool test_pixelgetmagentaquantum();
bool test_pixelgetopacity();
bool test_pixelgetopacityquantum();
bool test_pixelgetquantumcolor();
bool test_pixelgetred();
bool test_pixelgetredquantum();
bool test_pixelgetyellow();
bool test_pixelgetyellowquantum();
bool test_pixelsetalpha();
bool test_pixelsetalphaquantum();
bool test_pixelsetblack();
bool test_pixelsetblackquantum();
bool test_pixelsetblue();
bool test_pixelsetbluequantum();
bool test_pixelsetcolor();
bool test_pixelsetcolorcount();
bool test_pixelsetcyan();
bool test_pixelsetcyanquantum();
bool test_pixelsetgreen();
bool test_pixelsetgreenquantum();
bool test_pixelsetindex();
bool test_pixelsetmagenta();
bool test_pixelsetmagentaquantum();
bool test_pixelsetopacity();
bool test_pixelsetopacityquantum();
bool test_pixelsetquantumcolor();
bool test_pixelsetred();
bool test_pixelsetredquantum();
bool test_pixelsetyellow();
bool test_pixelsetyellowquantum();
bool test_pixelgetiteratorexception();
bool test_pixelgetiteratorexceptionstring();
bool test_pixelgetiteratorexceptiontype();
bool test_pixelgetnextiteratorrow();
bool test_pixelresetiterator();
bool test_pixelsetiteratorrow();
bool test_pixelsynciterator();
};
///////////////////////////////////////////////////////////////////////////////
#endif // incl_HPHP_TEST_EXT_MAGICK_H_
-130
Ver Arquivo
@@ -1,130 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#include "hphp/test/ext/test_ext_memcache.h"
#include "hphp/runtime/ext/ext_memcache.h"
IMPLEMENT_SEP_EXTENSION_TEST(Memcache);
///////////////////////////////////////////////////////////////////////////////
bool TestExtMemcache::RunTests(const std::string &which) {
bool ret = true;
RUN_TEST(test_memcache_connect);
RUN_TEST(test_memcache_pconnect);
RUN_TEST(test_memcache_add);
RUN_TEST(test_memcache_set);
RUN_TEST(test_memcache_replace);
RUN_TEST(test_memcache_get);
RUN_TEST(test_memcache_delete);
RUN_TEST(test_memcache_increment);
RUN_TEST(test_memcache_decrement);
RUN_TEST(test_memcache_close);
RUN_TEST(test_memcache_debug);
RUN_TEST(test_memcache_get_version);
RUN_TEST(test_memcache_flush);
RUN_TEST(test_memcache_setoptimeout);
RUN_TEST(test_memcache_get_server_status);
RUN_TEST(test_memcache_set_compress_threshold);
RUN_TEST(test_memcache_get_stats);
RUN_TEST(test_memcache_get_extended_stats);
RUN_TEST(test_memcache_set_server_params);
RUN_TEST(test_memcache_add_server);
return ret;
}
///////////////////////////////////////////////////////////////////////////////
bool TestExtMemcache::test_memcache_connect() {
return Count(true);
}
bool TestExtMemcache::test_memcache_pconnect() {
return Count(true);
}
bool TestExtMemcache::test_memcache_add() {
return Count(true);
}
bool TestExtMemcache::test_memcache_set() {
return Count(true);
}
bool TestExtMemcache::test_memcache_replace() {
return Count(true);
}
bool TestExtMemcache::test_memcache_get() {
return Count(true);
}
bool TestExtMemcache::test_memcache_delete() {
return Count(true);
}
bool TestExtMemcache::test_memcache_increment() {
return Count(true);
}
bool TestExtMemcache::test_memcache_decrement() {
return Count(true);
}
bool TestExtMemcache::test_memcache_close() {
return Count(true);
}
bool TestExtMemcache::test_memcache_debug() {
return Count(true);
}
bool TestExtMemcache::test_memcache_get_version() {
return Count(true);
}
bool TestExtMemcache::test_memcache_flush() {
return Count(true);
}
bool TestExtMemcache::test_memcache_setoptimeout() {
return Count(true);
}
bool TestExtMemcache::test_memcache_get_server_status() {
return Count(true);
}
bool TestExtMemcache::test_memcache_set_compress_threshold() {
return Count(true);
}
bool TestExtMemcache::test_memcache_get_stats() {
return Count(true);
}
bool TestExtMemcache::test_memcache_get_extended_stats() {
return Count(true);
}
bool TestExtMemcache::test_memcache_set_server_params() {
return Count(true);
}
bool TestExtMemcache::test_memcache_add_server() {
return Count(true);
}
-54
Ver Arquivo
@@ -1,54 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#ifndef incl_HPHP_TEST_EXT_MEMCACHE_H_
#define incl_HPHP_TEST_EXT_MEMCACHE_H_
// >>>>>> Generated by idl.php. Do NOT modify. <<<<<<
#include "hphp/test/ext/test_cpp_ext.h"
///////////////////////////////////////////////////////////////////////////////
class TestExtMemcache : public TestCppExt {
public:
virtual bool RunTests(const std::string &which);
bool test_memcache_connect();
bool test_memcache_pconnect();
bool test_memcache_add();
bool test_memcache_set();
bool test_memcache_replace();
bool test_memcache_get();
bool test_memcache_delete();
bool test_memcache_increment();
bool test_memcache_decrement();
bool test_memcache_close();
bool test_memcache_debug();
bool test_memcache_get_version();
bool test_memcache_flush();
bool test_memcache_setoptimeout();
bool test_memcache_get_server_status();
bool test_memcache_set_compress_threshold();
bool test_memcache_get_stats();
bool test_memcache_get_extended_stats();
bool test_memcache_set_server_params();
bool test_memcache_add_server();
};
///////////////////////////////////////////////////////////////////////////////
#endif // incl_HPHP_TEST_EXT_MEMCACHE_H_
-94
Ver Arquivo
@@ -1,94 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#include "hphp/test/ext/test_ext_reflection.h"
///////////////////////////////////////////////////////////////////////////////
bool TestExtReflection::RunTests(const std::string &which) {
bool ret = true;
RUN_TEST(test_hphp_get_extension_info);
RUN_TEST(test_hphp_get_class_info);
RUN_TEST(test_hphp_get_function_info);
RUN_TEST(test_hphp_invoke);
RUN_TEST(test_hphp_invoke_method);
RUN_TEST(test_hphp_instanceof);
RUN_TEST(test_hphp_create_object);
RUN_TEST(test_hphp_get_property);
RUN_TEST(test_hphp_set_property);
RUN_TEST(test_hphp_get_static_property);
RUN_TEST(test_hphp_set_static_property);
return ret;
}
///////////////////////////////////////////////////////////////////////////////
bool TestExtReflection::test_hphp_get_extension_info() {
//VCB("<?php ");
return true;
}
bool TestExtReflection::test_hphp_get_class_info() {
//VCB("<?php ");
return true;
}
bool TestExtReflection::test_hphp_get_function_info() {
//VCB("<?php ");
return true;
}
bool TestExtReflection::test_hphp_invoke() {
//VCB("<?php ");
return true;
}
bool TestExtReflection::test_hphp_invoke_method() {
//VCB("<?php ");
return true;
}
bool TestExtReflection::test_hphp_instanceof() {
//VCB("<?php ");
return true;
}
bool TestExtReflection::test_hphp_create_object() {
//VCB("<?php ");
return true;
}
bool TestExtReflection::test_hphp_get_property() {
//VCB("<?php ");
return true;
}
bool TestExtReflection::test_hphp_set_property() {
//VCB("<?php ");
return true;
}
bool TestExtReflection::test_hphp_get_static_property() {
//VCB("<?php ");
return true;
}
bool TestExtReflection::test_hphp_set_static_property() {
//VCB("<?php ");
return true;
}
-45
Ver Arquivo
@@ -1,45 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#ifndef incl_HPHP_TEST_EXT_REFLECTION_H_
#define incl_HPHP_TEST_EXT_REFLECTION_H_
// >>>>>> Generated by idl.php. Do NOT modify. <<<<<<
#include "hphp/test/ext/test_cpp_ext.h"
///////////////////////////////////////////////////////////////////////////////
class TestExtReflection : public TestCppExt {
public:
virtual bool RunTests(const std::string &which);
bool test_hphp_get_extension_info();
bool test_hphp_get_class_info();
bool test_hphp_get_function_info();
bool test_hphp_invoke();
bool test_hphp_invoke_method();
bool test_hphp_instanceof();
bool test_hphp_create_object();
bool test_hphp_get_property();
bool test_hphp_set_property();
bool test_hphp_get_static_property();
bool test_hphp_set_static_property();
};
///////////////////////////////////////////////////////////////////////////////
#endif // incl_HPHP_TEST_EXT_REFLECTION_H_
-96
Ver Arquivo
@@ -1,96 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#include "hphp/test/ext/test_ext_simplexml.h"
#include "hphp/runtime/ext/ext_simplexml.h"
///////////////////////////////////////////////////////////////////////////////
bool TestExtSimplexml::RunTests(const std::string &which) {
bool ret = true;
RUN_TEST(test_simplexml_load_string);
RUN_TEST(test_simplexml_load_file);
RUN_TEST(test_libxml_get_errors);
RUN_TEST(test_libxml_get_last_error);
RUN_TEST(test_libxml_clear_errors);
RUN_TEST(test_libxml_use_internal_errors);
RUN_TEST(test_libxml_set_streams_context);
RUN_TEST(test_libxml_disable_entity_loader);
RUN_TEST(test_SimpleXMLElement);
RUN_TEST(test_LibXMLError);
return ret;
}
///////////////////////////////////////////////////////////////////////////////
bool TestExtSimplexml::test_simplexml_load_string() {
// tested in TestCodeRun::TestSimpleXML
return Count(true);
}
bool TestExtSimplexml::test_simplexml_load_file() {
// nothing much different from simplexml_load_string()
return Count(true);
}
bool TestExtSimplexml::test_libxml_get_errors() {
VS(f_libxml_get_errors(), Array::Create());
return Count(true);
}
bool TestExtSimplexml::test_libxml_get_last_error() {
VS(f_libxml_get_last_error(), false);
return Count(true);
}
bool TestExtSimplexml::test_libxml_clear_errors() {
f_libxml_clear_errors();
return Count(true);
}
bool TestExtSimplexml::test_libxml_use_internal_errors() {
VS(f_libxml_use_internal_errors(), false);
return Count(true);
}
bool TestExtSimplexml::test_libxml_set_streams_context() {
try {
f_libxml_set_streams_context(Object());
} catch (const NotImplementedException& e) {
return Count(true);
}
return Count(false);
}
bool TestExtSimplexml::test_libxml_disable_entity_loader() {
VS(f_libxml_disable_entity_loader(true), false);
VS(f_libxml_disable_entity_loader(true), true);
VS(f_libxml_disable_entity_loader(false), true);
return Count(true);
}
bool TestExtSimplexml::test_SimpleXMLElement() {
// tested in simplexml functions
return Count(true);
}
bool TestExtSimplexml::test_LibXMLError() {
// tested in libxml functions
return Count(true);
}
-44
Ver Arquivo
@@ -1,44 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#ifndef incl_HPHP_TEST_EXT_SIMPLEXML_H_
#define incl_HPHP_TEST_EXT_SIMPLEXML_H_
// >>>>>> Generated by idl.php. Do NOT modify. <<<<<<
#include "hphp/test/ext/test_cpp_ext.h"
///////////////////////////////////////////////////////////////////////////////
class TestExtSimplexml : public TestCppExt {
public:
virtual bool RunTests(const std::string &which);
bool test_simplexml_load_string();
bool test_simplexml_load_file();
bool test_libxml_get_errors();
bool test_libxml_get_last_error();
bool test_libxml_clear_errors();
bool test_libxml_use_internal_errors();
bool test_libxml_set_streams_context();
bool test_libxml_disable_entity_loader();
bool test_SimpleXMLElement();
bool test_LibXMLError();
};
///////////////////////////////////////////////////////////////////////////////
#endif // incl_HPHP_TEST_EXT_SIMPLEXML_H_
-50
Ver Arquivo
@@ -1,50 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#include "hphp/test/ext/test_ext_thrift.h"
#include "hphp/runtime/ext/ext_thrift.h"
IMPLEMENT_SEP_EXTENSION_TEST(Thrift);
///////////////////////////////////////////////////////////////////////////////
bool TestExtThrift::RunTests(const std::string &which) {
bool ret = true;
RUN_TEST(test_thrift_protocol_write_binary);
RUN_TEST(test_thrift_protocol_read_binary);
RUN_TEST(test_thrift_protocol_write_compact);
RUN_TEST(test_thrift_protocol_read_compact);
return ret;
}
///////////////////////////////////////////////////////////////////////////////
bool TestExtThrift::test_thrift_protocol_write_binary() {
return Count(true);
}
bool TestExtThrift::test_thrift_protocol_read_binary() {
return Count(true);
}
bool TestExtThrift::test_thrift_protocol_write_compact() {
return Count(true);
}
bool TestExtThrift::test_thrift_protocol_read_compact() {
return Count(true);
}
-38
Ver Arquivo
@@ -1,38 +0,0 @@
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#ifndef incl_HPHP_TEST_EXT_THRIFT_H_
#define incl_HPHP_TEST_EXT_THRIFT_H_
// >>>>>> Generated by idl.php. Do NOT modify. <<<<<<
#include "hphp/test/ext/test_cpp_ext.h"
///////////////////////////////////////////////////////////////////////////////
class TestExtThrift : public TestCppExt {
public:
virtual bool RunTests(const std::string &which);
bool test_thrift_protocol_write_binary();
bool test_thrift_protocol_read_binary();
bool test_thrift_protocol_write_compact();
bool test_thrift_protocol_read_compact();
};
///////////////////////////////////////////////////////////////////////////////
#endif // incl_HPHP_TEST_EXT_THRIFT_H_