This repository has been archived on 2018-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
OpenSQLManager/tests/index.php

30 lines
763 B
PHP
Raw Normal View History

<?php
/**
* OpenSQLManager
*
* Free Database manager for Open Source Databases
*
* @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');