Zach Borboa
95041d6c49
Run Digest Access Authentication test on HHVM
2017-07-03 01:59:27 -07:00
Zach Borboa
51aef1d3d6
Fix #449 : Fix hhvm builds failing.
...
Install latest nginx.
Replace install_fastcgi.sh which inserts "include hhvm.conf;" with inline configuration.
Copy server scripts to default nginx root instead of modifying folder and file permissions to fix nginx 404 File Not Found.
2017-07-02 01:52:46 -07:00
Zach Borboa
1e3ed2963c
Use composer's phpunit and phpcs
2017-06-29 06:28:10 -07:00
Zach Borboa
3302e7bb78
Use an older version of PHPUnit for HHVM builds
2017-06-29 05:28:32 -07:00
Zach Borboa
d04f0594e1
Add descriptive error messages when checks fail
2017-06-29 05:28:00 -07:00
Zach Borboa
c16ce49f4f
Add hhvm-nightly build and use trusty for hhvm builds
2017-06-28 04:43:48 -07:00
Zach Borboa
3b672a2131
Put expected arguments first
2017-05-02 23:31:43 -07:00
Zach Borboa
6bed5fb0bf
Fix #129 : Add PSR-2 coding style checks to continuous integration tests
2017-05-02 18:51:52 -07:00
Zach Borboa
eeaf3f9534
Clean up PSR-2 coding styles
2017-05-02 07:56:45 -07:00
Zach Borboa
a0802b309d
Clean up
2017-05-01 02:02:40 -07:00
Zach Borboa
316e18d52f
Fix exception namespace
2017-05-01 00:44:11 -07:00
Zach Borboa
ddac122a48
Fix php shim namespace
2017-05-01 00:20:53 -07:00
Zach Borboa
2264362338
Clean up namespacing
2017-04-30 15:58:33 -07:00
Zach Borboa
8a374aa191
Update tests to run assertions before instances are cleaned up and properties are null.
2017-04-30 03:52:59 -07:00
Zach Borboa
fb1f36da16
Fix syntax error for PHP 5.3 and PHP 5.4.
...
Fixes "PHP Parse error: syntax error, unexpected T_CLASS, expecting T_STRING or T_VARIABLE or '$' in XXX on line XXX".
2017-04-29 03:29:24 -07:00
Zach Borboa
efbcc080bb
Allow the disabling of automatic response decoding.
...
The following will disable their respective decoders:
$curl->setDefaultDecoder(false);
$curl->setJsonDecoder(false);
$curl->setXmlDecoder(false);
2017-04-29 02:54:35 -07:00
Zach Borboa
658a10f013
Fix #441 : Allow using string as well as array for query parameter argument
2017-04-25 23:53:33 -07:00
Zach Borboa
0996917ae0
Add assertions to fix "risky tests" warning
2017-03-20 01:42:15 -07:00
Zach Borboa
93c1224fc0
Display PHPUnit version before running unit tests
2017-03-19 09:00:26 -07:00
Zach Borboa
d9b5e3ebd5
Fix PHPUnit 6.0 release causing build to break.
...
Use PHPUnit's new namespacing.
Add shim for backwards compatibility and run on PHP < 7.0.
2017-03-18 04:25:48 -07:00
Zach Borboa
7dc6eba0af
Process multicurl requests in ascending numerical order.
...
Previously, multicurl requests were added to the end and removed from the end. Requests are now added to the end and
removed from the beginning. Using array_shift() will be slower than array_pop().
Before using "array_push()" + array_pop():
1
1 2
1 2 3
1 2 3 4
1 2 3
1 2
1
After using "array_push()" + array_shift():
1
1 2
1 2 3
1 2 3 4
2 3 4
3 4
4
2016-12-25 01:45:16 -05:00
Zach Borboa
b6e6524d29
Move array methods to separate file
2016-12-24 13:04:12 -08:00
Zach Borboa
abc7dc2f53
Use Curl::getOpt() instead of reflection
2016-12-24 12:47:58 -08:00
Zach Borboa
96b3d50c2e
Simplify setCookie tests
2016-12-24 12:16:10 -08:00
Zach Borboa
7b5dd71bd5
Implement MultiCurl::setCookies()
2016-12-23 00:20:51 -08:00
Zach Borboa
296345b0a2
Implement Curl::setCookies()
2016-12-18 11:31:38 -08:00
Zach Borboa
d2ee158c92
Display php version and curl version when running ci tests
2016-12-15 03:51:33 -08:00
Zach Borboa
7a623ac0de
Add newline to allow cookie file to be read correctly and cookies to be included in request
2016-12-15 03:29:33 -08:00
Zach Borboa
04b8a63e71
Use Curl::setCookieFile()
2016-12-15 03:17:31 -08:00
Zach Borboa
4b8f6e0082
Readd assertion testing cookie sent in request and received by server
2016-12-15 03:17:04 -08:00
Zach Borboa
6e7c609ca8
Fix test failing only on continuous integration servers
2016-12-10 14:21:13 -08:00
Zach Borboa
95c9f92c9f
Clean up
2016-11-12 09:21:06 -08:00
Zach Borboa
714d072a14
Mark skipped tests with PHPUnit markTestSkipped()
2016-11-12 08:41:23 -08:00
Zach Borboa
6b63561944
Add additional download tests with partial file having same or larger file size as source
2016-11-11 00:38:30 -08:00
Zach Borboa
d8808daf7a
Add limited support for 416 Requested Range Not Satisfiable
2016-11-11 00:23:26 -08:00
Zach Borboa
7e0b477c9f
Fix PHP 5.3 syntax error (unexpected T_OBJECT_OPERATOR)
2016-11-10 20:44:02 -08:00
Zach Borboa
5cb05e956a
Fix #405 : Support resume for Curl::download()
2016-11-10 20:34:18 -08:00
Zach Borboa
d2313c0294
Move file upload and removal to helper functions
2016-11-06 01:13:42 -07:00
Zach Borboa
62d869ed17
Allow passing additional arguments when running unit test script
2016-11-06 00:37:36 -07:00
Zach Borboa
9bfdd791cd
Remove keys not found in curl_getinfo() response on select systems
2016-11-04 21:10:57 -07:00
Zach Borboa
ed37de7d87
Fix #404 : Allow calling Curl::getInfo() without option
2016-11-04 02:24:50 -07:00
Zach Borboa
5cb8223c47
Fix #400 : Use sequential ids to allow for ordered post processing
2016-10-14 19:50:57 -07:00
Kai Hempel
e087f51c61
Add a curl add method for direct handle attach
2016-10-11 17:13:32 +02:00
Zach Borboa
15db0b95a3
Add syntax check exclusion; Clean up syntax
2016-09-27 00:28:57 -07:00
Zach Borboa
bfc868fab4
Remove foreach loops
2016-09-24 01:22:44 -07:00
Zach Borboa
cc23a1b29e
Fix Curl::unsetHeader()
2016-09-24 01:02:04 -07:00
Zach Borboa
126491d8fc
Allow requested test to be set via query string parameter
2016-09-24 00:54:38 -07:00
Zach Borboa
363a362bcd
Fix #332 : Implement Curl::setMaxFilesize()
2016-09-23 01:13:49 -07:00
Zach Borboa
7ca7ac3629
Use request-line header and effectiveUrl for assertions
2016-09-04 03:03:24 -07:00
Zach Borboa
35ac500e03
Improve cookie handling for multicurl requests.
...
Fix Curl::responseCookies set in headerCallback() being overwritten during multicurl request.
Use rfc cookie encoding when using MultiCurl::setCookie().
Make MultiCurl::responseCookies publicly accessible.
2016-09-04 01:12:06 -07:00