From 66863c43048fa0ce8821c091abb9e09cd1d17940 Mon Sep 17 00:00:00 2001 From: jwage Date: Fri, 8 Feb 2008 20:50:05 +0000 Subject: [PATCH] Added section for ticket test cases. --- tests/AllTests.php | 4 +++- tests/Ticket/1Test.php | 10 ++++++++++ tests/Ticket/AllTests.php | 31 +++++++++++++++++++++++++++++++ tests/lib/Doctrine_TestCase.php | 1 - 4 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 tests/Ticket/1Test.php create mode 100644 tests/Ticket/AllTests.php diff --git a/tests/AllTests.php b/tests/AllTests.php index 79ff0b7bc..5f0999539 100644 --- a/tests/AllTests.php +++ b/tests/AllTests.php @@ -9,6 +9,7 @@ require_once 'lib/Doctrine_TestSuite.php'; require_once 'Dbal/AllTests.php'; require_once 'Orm/AllTests.php'; +require_once 'Ticket/AllTests.php'; class AllTests { @@ -23,7 +24,8 @@ class AllTests $suite->addTest(Dbal_AllTests::suite()); $suite->addTest(Orm_AllTests::suite()); - + $suite->addTest(Ticket_AllTests::suite()); + return $suite; } } diff --git a/tests/Ticket/1Test.php b/tests/Ticket/1Test.php new file mode 100644 index 000000000..9b1fb9a19 --- /dev/null +++ b/tests/Ticket/1Test.php @@ -0,0 +1,10 @@ +assertEquals(0, 0); + } +} \ No newline at end of file diff --git a/tests/Ticket/AllTests.php b/tests/Ticket/AllTests.php new file mode 100644 index 000000000..96ea7f9a8 --- /dev/null +++ b/tests/Ticket/AllTests.php @@ -0,0 +1,31 @@ +addTestSuite('Ticket_1Test'); + + return $suite; + } +} + +if (PHPUnit_MAIN_METHOD == 'Ticket_AllTests::main') { + Ticket_AllTests::main(); +} \ No newline at end of file diff --git a/tests/lib/Doctrine_TestCase.php b/tests/lib/Doctrine_TestCase.php index 8f6627ed4..e667a692d 100644 --- a/tests/lib/Doctrine_TestCase.php +++ b/tests/lib/Doctrine_TestCase.php @@ -3,5 +3,4 @@ require_once 'PHPUnit/Framework.php'; class Doctrine_TestCase extends PHPUnit_Framework_TestCase { - } \ No newline at end of file