summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Try to fix scruitinizer coverage+code coverage badgeDavey Shafik2020-10-271-0/+3
|
* Add limited offset support to mysql_fetch_field()Davey Shafik2020-10-271-6/+148
| | | | `mysqli` seems to reuse the result objects and doesn't support this feature directly, making this feature very brittle. It should be avoided.
* Add missing warning from mysql_fetch_field()Davey Shafik2020-10-271-6/+5
|
* s/char/stringDavey Shafik2020-10-271-2/+2
|
* s/varchar/stringDavey Shafik2020-10-271-8/+8
|
* mysql_fetch_field() returns a string for typeDavey Shafik2020-10-271-12/+12
|
* Correctly check error messages in test_mysql_function_invalid_result()Davey Shafik2020-10-271-2/+1
|
* Remove socket testDavey Shafik2020-10-271-13/+0
|
* Try to fix mysql_fetch_object() test on PHP 5.6Davey Shafik2020-10-271-8/+20
|
* Try to fix mysql_fetch_object() and mysql_connect() with socket testsDavey Shafik2020-10-271-2/+2
|
* Use tear_down and tear_down_after_classDavey Shafik2020-10-271-2/+2
|
* Remote extraneous var_dump()Davey Shafik2020-10-271-1/+0
|
* Use Yoast/PHPUnit-polyfills, add more testsDavey Shafik2020-10-271-28/+123
|
* Test check_valid_result function backtrace individuallyFernando da Silva Sousa2020-10-231-0/+7
|
* Add asserts about invalid results backtracing correctlyFernando da Silva Sousa2020-10-231-0/+2
|
* Add tests for mysql_fetch_field()Davey Shafik2020-08-111-21/+141
|
* Update to PHPUnit 8.xDavey Shafik2020-08-111-105/+52
|
* Try to fix testsDavey Shafik2020-08-112-83/+16
|
* Some minor updates to tests to enable it to work inside CodeSpacesDavey Shafik2020-08-112-16/+28
|
* Fix tests on WindowsDavey Shafik2017-01-101-6/+6
|
* Fix CSDavey Shafik2017-01-101-8/+11
|
* Add initial support for AppVeyorDavey Shafik2017-01-101-13/+19
|
* Test for UTF-8 supportDavey Shafik2017-01-101-7/+93
|
* Code cleanupDavey Shafik2017-01-081-212/+206
|
* Add third argument to `mysql_db_name()`Davey Shafik2017-01-081-5/+12
| | | | Fixes #23
* Fix tests on earlier versions of PHP/PHPUnitDavey Shafik2017-01-081-135/+144
|
* Add commentsDavey Shafik2017-01-081-3/+17
|
* Add/update file header commentsDavey Shafik2017-01-082-6/+13
|
* Don't trigger weird behavior in PHP 5.6 with extraneous argsDavey Shafik2016-10-031-4/+11
|
* Added the result type to the mysql_fetch_array function (#16)Swen van Zanten2016-10-031-3/+14
| | | | | | * Added the result type to the mysql_fetch_array function * Changed the 'resultType' variable to camelCase, added extra tests * Fixed the mysql_fetch tests
* Test for false when `mysql_connect()` failsDavey Shafik2016-10-031-1/+7
| | | | Refs #15
* Add tests for #13Davey Shafik2016-07-031-29/+111
|
* Reset field pointer before iteratingDavey Shafik2016-03-101-0/+50
| | | | Fixes #7
* Fix tests, better HHVM skipping exception handlingDavey Shafik2016-02-051-25/+15
|
* Use `\SebastianBergmann\Environment\Runtime->isHHVM()`Davey Shafik2016-02-031-1/+11
|
* add unit test for mysqli defaultsGordon Franke2016-02-031-0/+13
|
* Fixup tests for HHVMDavey Shafik2016-02-021-26/+49
|
* Fixup tests for HHVMDavey Shafik2016-02-021-34/+30
|
* Fix escaping not copying non-escapeable chars to the escaped stringDavey Shafik2016-02-021-1/+1
|
* Allow for different MySQL forks (e.g. MariaDB)Davey Shafik2016-02-021-5/+3
|
* Add forward-compatible annotationDavey Shafik2016-02-021-1/+4
|
* Add/Fix all constantsDavey Shafik2016-02-021-0/+18
|
* Fix return values for `mysql_fetch_*` functionsDavey Shafik2016-02-021-2/+34
| | | | | | The methods `mysql_fetch_* and `mysqli_fetch_*` have different return values, if there is no [more] results to fetch. Therefore the **null** return value of `mysqli` needs to be matched to the **false** return value of `mysql`. Thanks to @muhammedalialat
* Skip some tests on HHVM where behavior differs from PHPDavey Shafik2015-12-071-3/+14
|
* Handle weirdness with `mysql_table_name()`, especially on HHVMDavey Shafik2015-12-071-2/+2
|
* More tests, more fixesDavey Shafik2015-12-071-0/+131
| | | | - Reimplement original `mysql_escape_string()` based on C-code as close as possible - For some reason `mysql_fetch_object()` has a different error than all the other `mysql_fetch_*()` functions when passed an invalid result. ಠ_ಠ
* Add more tests and fixesDavey Shafik2015-12-061-40/+234
|
* Remove namespace prefixDavey Shafik2015-12-061-140/+140
|
* Test SET columnsDavey Shafik2015-12-061-1/+7
|
* Add travis integrationDavey Shafik2015-12-061-58/+71
|
* Upto 20% functions/59% lines coverage, more issues revealedDavey Shafik2015-12-061-45/+192
|
* Add more tests, and fixed many issues revealed by themDavey Shafik2015-12-051-41/+290
|
* Initial commit of ext/mysql shim for PHP 7Davey Shafik2015-12-042-0/+206