Show
Ignore:
Timestamp:
02/23/08 22:04:39 (11 months ago)
Author:
romanb
Message:

validator refactorings and others

Location:
trunk/tests_old/DoctrineTest
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests_old/DoctrineTest/Doctrine_UnitTestCase.php

    r3882 r3890  
    301301        $this->init = true; 
    302302    } 
     303     
     304    public function tearDown() 
     305    { 
     306        /*foreach ($this->tables as $table) { 
     307            foreach ($this->conn->getMapper($table)->getRepository() as $obj) { 
     308                $obj->free(); 
     309            } 
     310        }*/ 
     311    } 
    303312} 
  • trunk/tests_old/DoctrineTest/UnitTestCase.php

    r3549 r3890  
    117117            if (substr($method, 0, 4) === 'test') { 
    118118                $this->setUp(); 
    119  
    120119                $this->$method(); 
     120                $this->tearDown(); 
    121121            } 
    122122        } 
    123123    } 
     124     
     125    public function setUp() {} 
     126    public function tearDown() {} 
     127     
    124128    public function getMessages() 
    125129    {