Commit 2b060321 authored by jwage's avatar jwage

Initial entry of new test structure.

parent cbd33b98
<?php
if (!defined('PHPUnit_MAIN_METHOD')) {
define('PHPUnit_MAIN_METHOD', 'AllTests::main');
}
require_once 'PHPUnit/Framework.php';
require_once 'PHPUnit/TextUI/TestRunner.php';
require_once 'lib/Doctrine_TestSuite.php';
require_once 'Dbal/AllTests.php';
require_once 'Orm/AllTests.php';
class AllTests
{
public static function main()
{
PHPUnit_TextUI_TestRunner::run(self::suite());
}
public static function suite()
{
$suite = new Doctrine_TestSuite('Doctrine');
$suite->addTest(Dbal_AllTests::suite());
$suite->addTest(Orm_AllTests::suite());
return $suite;
}
}
if (PHPUnit_MAIN_METHOD == 'AllTests::main') {
AllTests::main();
}
\ No newline at end of file
<?php
if (!defined('PHPUnit_MAIN_METHOD')) {
define('PHPUnit_MAIN_METHOD', 'Dbal_AllTests::main');
}
require_once 'PHPUnit/Framework.php';
require_once 'PHPUnit/TextUI/TestRunner.php';
require_once 'lib/Doctrine_TestSuite.php';
require_once 'Dbal/Component/AllTests.php';
class Dbal_AllTests
{
public static function main()
{
PHPUnit_TextUI_TestRunner::run(self::suite());
}
public static function suite()
{
$suite = new Doctrine_TestSuite('Doctrine Dbal');
$suite->addTest(Dbal_Component_AllTests::suite());
return $suite;
}
}
if (PHPUnit_MAIN_METHOD == 'Dbal_AllTests::main') {
Dbal_AllTests::main();
}
\ No newline at end of file
<?php
if (!defined('PHPUnit_MAIN_METHOD')) {
define('PHPUnit_MAIN_METHOD', 'Dbal_Component_AllTests::main');
}
require_once 'PHPUnit/Framework.php';
require_once 'PHPUnit/TextUI/TestRunner.php';
require_once 'lib/Doctrine_TestSuite.php';
require_once 'Dbal/Component/TestTest.php';
class Dbal_Component_AllTests
{
public static function main()
{
PHPUnit_TextUI_TestRunner::run(self::suite());
}
public static function suite()
{
$suite = new Doctrine_TestSuite('Doctrine Dbal Component');
$suite->addTestSuite('Dbal_Component_TestTest');
return $suite;
}
}
if (PHPUnit_MAIN_METHOD == 'Dbal_Component_AllTests::main') {
Dbal_Component_AllTests::main();
}
\ No newline at end of file
<?php
require_once 'lib/Doctrine_TestCase.php';
class Dbal_Component_TestTest extends Doctrine_TestCase
{
public function testTest()
{
$this->assertEquals(0, 0);
}
}
\ No newline at end of file
<?php
if (!defined('PHPUnit_MAIN_METHOD')) {
define('PHPUnit_MAIN_METHOD', 'Orm_AllTests::main');
}
require_once 'PHPUnit/Framework.php';
require_once 'PHPUnit/TextUI/TestRunner.php';
require_once 'lib/Doctrine_TestSuite.php';
require_once 'Orm/Component/AllTests.php';
class Orm_AllTests
{
public static function main()
{
PHPUnit_TextUI_TestRunner::run(self::suite());
}
public static function suite()
{
$suite = new Doctrine_TestSuite('Doctrine Orm');
$suite->addTest(Orm_Component_AllTests::suite());
return $suite;
}
}
if (PHPUnit_MAIN_METHOD == 'Orm_AllTests::main') {
Orm_AllTests::main();
}
\ No newline at end of file
<?php
if (!defined('PHPUnit_MAIN_METHOD')) {
define('PHPUnit_MAIN_METHOD', 'Dbal_Component_AllTests::main');
}
require_once 'PHPUnit/Framework.php';
require_once 'PHPUnit/TextUI/TestRunner.php';
require_once 'lib/Doctrine_TestSuite.php';
require_once 'Orm/Component/TestTest.php';
class Orm_Component_AllTests
{
public static function main()
{
PHPUnit_TextUI_TestRunner::run(self::suite());
}
public static function suite()
{
$suite = new Doctrine_TestSuite('Doctrine Dbal Component');
$suite->addTestSuite('Orm_Component_TestTest');
return $suite;
}
}
if (PHPUnit_MAIN_METHOD == 'Dbal_Component_AllTests::main') {
Dbal_Component_AllTests::main();
}
\ No newline at end of file
<?php
require_once 'lib/Doctrine_TestCase.php';
class Orm_Component_TestTest extends Doctrine_TestCase
{
public function testTest()
{
$this->assertEquals(0, 0);
}
}
\ No newline at end of file
<?php
require_once 'PHPUnit/Framework.php';
class Doctrine_TestCase extends PHPUnit_Framework_TestCase
{
}
\ No newline at end of file
<?php
require_once 'PHPUnit/Framework.php';
class Doctrine_TestSuite extends PHPUnit_Framework_TestSuite
{
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment