moved ticket and data type tests
This commit is contained in:
parent
08fffab63c
commit
dc1f503e2f
@ -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");
|
@ -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()
|
||||
{ }
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user