lithium\tests\integration\data\source\database\adapter\Sqlite3Test::testResultSetInFile PHP Метод

testResultSetInFile() публичный Метод

public testResultSetInFile ( )
    public function testResultSetInFile()
    {
        $connection = 'sqlite_file';
        $base = Libraries::get(true, 'resources') . '/tmp/tests';
        $this->skipIf(!is_writable($base), "Path `{$base}` is not writable.");
        $filename = tempnam($base, "sqlite");
        Connections::add($connection, array('type' => 'database', 'adapter' => 'Sqlite3', 'database' => "{$filename}.sq3", 'encoding' => 'UTF-8'));
        $this->_testResultSet($connection);
        $this->_cleanUp();
    }