Commit dc1f503e authored by meus's avatar meus

moved ticket and data type tests

parent 08fffab6
......@@ -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
......
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