Break out LocalChanges into a separate functor.
[hiphop-php.git] / hphp / test / ext / test_ext_curl.h
blob3f7408c8cbedf94938e33b7715566d9d870e9a7b
1 /*
2 +----------------------------------------------------------------------+
3 | HipHop for PHP |
4 +----------------------------------------------------------------------+
5 | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
6 +----------------------------------------------------------------------+
7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
9 | available through the world-wide-web at the following url: |
10 | http://www.php.net/license/3_01.txt |
11 | If you did not receive a copy of the PHP license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
13 | license@php.net so we can mail you a copy immediately. |
14 +----------------------------------------------------------------------+
17 #ifndef incl_HPHP_TEST_EXT_CURL_H_
18 #define incl_HPHP_TEST_EXT_CURL_H_
20 #include "hphp/test/ext/test_cpp_ext.h"
22 ///////////////////////////////////////////////////////////////////////////////
24 struct TestExtCurl : TestCppExt {
25 bool RunTests(const std::string& which) override;
27 bool test_curl_init();
28 bool test_curl_copy_handle();
29 bool test_curl_version();
30 bool test_curl_setopt();
31 bool test_curl_setopt_array();
32 bool test_curl_exec();
33 bool test_curl_getinfo();
34 bool test_curl_errno();
35 bool test_curl_error();
36 bool test_curl_close();
37 bool test_curl_multi_init();
38 bool test_curl_multi_add_handle();
39 bool test_curl_multi_remove_handle();
40 bool test_curl_multi_exec();
41 bool test_curl_multi_select();
42 bool test_curl_multi_getcontent();
43 bool test_curl_multi_info_read();
44 bool test_curl_multi_close();
47 ///////////////////////////////////////////////////////////////////////////////
49 #endif // incl_HPHP_TEST_EXT_CURL_H_