Query/tests/databases/sqlite/sqlite-qb.php

33 lines
758 B
PHP
Raw Normal View History

2012-03-15 09:25:18 -04:00
<?php
/**
2012-04-10 14:06:34 -04:00
* OpenSQLManager
2012-03-15 09:25:18 -04:00
*
2012-04-10 14:06:34 -04:00
* Free Database manager for Open Source Databases
2012-03-15 09:25:18 -04:00
*
* @author Timothy J. Warren
* @copyright Copyright (c) 2012
2012-04-10 14:06:34 -04:00
* @link https://github.com/aviat4ion/OpenSQLManager
2012-03-15 09:25:18 -04:00
* @license http://philsturgeon.co.uk/code/dbad-license
*/
// --------------------------------------------------------------------------
/**
* Class for testing Query Builder with SQLite
*/
class SQLiteQBTest extends QBTest {
2012-03-15 09:25:18 -04:00
function __construct()
{
parent::__construct();
2012-04-11 11:48:56 -04:00
$path = TEST_DIR.DS.'db_files'.DS.'test_sqlite.db';
2012-03-15 09:25:18 -04:00
$params = new Stdclass();
$params->type = 'sqlite';
$params->file = $path;
$params->host = 'localhost';
$this->db = new Query_Builder($params);
2012-03-19 13:58:14 -04:00
// echo '<hr /> SQLite Queries <hr />';
2012-03-15 09:25:18 -04:00
}
}