mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
add new test to uncoverage SQLite3 method.
This commit is contained in:
parent
00cd671233
commit
6347e25c2f
20
ext/sqlite3/tests/sqlite3_busyTimeout.phpt
Normal file
20
ext/sqlite3/tests/sqlite3_busyTimeout.phpt
Normal file
@ -0,0 +1,20 @@
|
||||
--TEST--
|
||||
public bool SQLite3::busyTimeout ( int $msecs );
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br> - @phpsp - sao paulo - br
|
||||
--XFAILIF--
|
||||
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
require_once(dirname(__FILE__) . '/new_db.inc');
|
||||
var_dump($db->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)
|
Loading…
Reference in New Issue
Block a user