OpenSQLManager/tests/index.php

31 lines
791 B
PHP
Raw Normal View History

<?php
/**
* OpenSQLManager
*
* Free Database manager for Open Source Databases
*
2012-04-20 13:30:27 -04:00
* @package OpenSQLManager
* @author Timothy J. Warren
* @copyright Copyright (c) 2012
* @link https://github.com/aviat4ion/OpenSQLManager
2012-03-28 12:20:18 -04:00
* @license http://philsturgeon.co.uk/code/dbad-license
*/
// --------------------------------------------------------------------------
/**
* Unit test bootstrap - Using php simpletest
*/
2012-04-13 13:21:06 -04:00
define('OSL_TEST_DIR', dirname(__FILE__).'/');
define('OSL_BASE_DIR', str_replace(basename(OSL_TEST_DIR).'/', '', OSL_TEST_DIR).'sys/');
2012-02-02 19:04:10 -05:00
2012-04-09 14:26:55 -04:00
// --------------------------------------------------------------------------
2012-04-13 13:34:25 -04:00
// Include db autoloader
2012-04-13 13:21:06 -04:00
require_once(OSL_BASE_DIR . 'db/autoload.php');
2012-02-02 19:04:10 -05:00
2012-04-13 13:34:25 -04:00
// Include db tests
require_once(OSL_BASE_DIR . 'db/tests/index.php');