1
0
mirror of synced 2024-12-14 07:06:04 +03:00

moved ticket and data type tests

This commit is contained in:
meus 2007-09-02 16:43:41 +00:00
parent 08fffab63c
commit dc1f503e2f
5 changed files with 9 additions and 8 deletions

View File

@ -20,7 +20,7 @@
*/
/**
* Doctrine_Boolean_TestCase
* Doctrine_DataType_Boolean_TestCase
*
* @package Doctrine
* @author Konsta Vesterinen <kvesteri@cc.hut.fi>
@ -30,7 +30,7 @@
* @since 1.0
* @version $Revision$
*/
class Doctrine_Boolean_TestCase extends Doctrine_UnitTestCase {
class Doctrine_DataType_Boolean_TestCase extends Doctrine_UnitTestCase {
public function prepareData() { }
public function prepareTables() {
$this->tables = array("BooleanTest");

View File

@ -20,7 +20,7 @@
*/
/**
* Doctrine_Enum_TestCase
* Doctrine_DataType_Enum_TestCase
*
* @package Doctrine
* @author Konsta Vesterinen <kvesteri@cc.hut.fi>
@ -30,7 +30,7 @@
* @since 1.0
* @version $Revision$
*/
class Doctrine_Enum_TestCase extends Doctrine_UnitTestCase
class Doctrine_DataType_Enum_TestCase extends Doctrine_UnitTestCase
{
public function prepareData()
{ }

View File

@ -29,7 +29,6 @@ function autoload($class) {
// create a test case file if it doesn't exist
if ( ! file_exists($file)) {
echo "file $file does not exist \n";
$contents = file_get_contents('template.tpl');
$contents = sprintf($contents, $class, $class);
@ -73,7 +72,9 @@ $test = new GroupTest('Doctrine Framework Unit Tests');
// DATABASE ABSTRACTION tests
$test->addTestCase(new Doctrine_TicketNjero_TestCase());
//TICKET test cases
$test->addTestCase(new Doctrine_Ticket_Njero_TestCase());
// Connection drivers (not yet fully tested)
$test->addTestCase(new Doctrine_Connection_Pgsql_TestCase());
@ -188,9 +189,9 @@ $test->addTestCase(new Doctrine_Relation_OneToOne_TestCase());
$test->addTestCase(new Doctrine_Relation_Parser_TestCase());
// Datatypes
$test->addTestCase(new Doctrine_Enum_TestCase());
$test->addTestCase(new Doctrine_DataType_Enum_TestCase());
$test->addTestCase(new Doctrine_Boolean_TestCase());
$test->addTestCase(new Doctrine_DataType_Boolean_TestCase());
// Utility components