add new test to uncoverage SQLite3 method.

This commit is contained in:
marcosptf 2016-03-12 23:05:37 -03:00 committed by Joe Watkins
parent 00cd671233
commit 6347e25c2f
No known key found for this signature in database
GPG Key ID: F9BA0ADA31CBD89E

View 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)