Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
0.00%
0 / 1
0.00%
0 / 2
CRAP
0.00%
0 / 5
AllTests
0.00%
0 / 1
0.00%
0 / 2
6
0.00%
0 / 5
 main()
0.00%
0 / 1
2
0.00%
0 / 2
 suite()
0.00%
0 / 1
2
0.00%
0 / 3
<?php
/**
This file is part of the APP(ideas) database abstraction project (AiDb).
Copyright 2013, APPideas
AiDb is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
AiDb is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with AiDb (in the 'resources' directory). If not, see
<http://www.gnu.org/licenses/>.
http://appideas.com/abstract-your-database-introduction
*/
require_once( "../setup.php" );
if( !defined( "PHPUnit_MAIN_METHOD" ) )
{
define( "PHPUnit2_MAIN_METHOD", "AllTests::main" );
}
require_once( "PHPUnit/Autoload.php" );
require_once( "PHPUnit/TextUI/TestRunner.php" );
require_once( "Framework/AllTests.php" );
class AllTests
{
public static function main()
{
PHPUnit_TextUI_TestRunner::run( self::suite() );
}
public static function suite()
{
$suite = new PHPUnit_Framework_TestSuite( "Ai_DbAbstraction" );
$suite->addTest( Framework_AllTests::suite() );
return $suite;
}
}
if( PHPUnit_MAIN_METHOD == "AllTests::main" )
{
AllTests::main();
}