From: marcosptf Date: Sun, 13 Mar 2016 02:05:37 +0000 (-0300) Subject: add new test to uncoverage SQLite3 method. X-Git-Tag: php-7.3.0alpha1~1790 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6347e25c2f6f60fabfb50fa86f7c5f984213513b;p=php add new test to uncoverage SQLite3 method. --- diff --git a/ext/sqlite3/tests/sqlite3_busyTimeout.phpt b/ext/sqlite3/tests/sqlite3_busyTimeout.phpt new file mode 100644 index 0000000000..3c7c2dc41a --- /dev/null +++ b/ext/sqlite3/tests/sqlite3_busyTimeout.phpt @@ -0,0 +1,20 @@ +--TEST-- +public bool SQLite3::busyTimeout ( int $msecs ); +--CREDITS-- +marcosptf - - @phpsp - sao paulo - br +--XFAILIF-- + +--FILE-- +busyTimeout(0)); +var_dump($db->busyTimeout(null)); +var_dump($db->busyTimeout(-1000)); +var_dump($db->busyTimeout(1000)); +$db->close(); +?> +--EXPECT-- +bool(true) +bool(true) +bool(true) +bool(true)