Changeset 4032

Show
Ignore:
Timestamp:
03/19/08 01:50:39 (16 months ago)
Author:
jwage
Message:

More ensuring that all tmp files are cleaned up after running tests.

Location:
branches/0.10/tests
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/0.10/tests/Export/SchemaTestCase.php

    r3884 r4032  
    5858        $export = new Doctrine_Export_Schema(); 
    5959        $export->exportSchema('schema-export.yml', 'yml', dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'models', $this->tables); 
     60        unlink('schema-export.yml'); 
    6061    } 
    6162} 
  • branches/0.10/tests/ParserTestCase.php

    r3884 r4032  
    5050         
    5151        $this->assertEqual($array, array('test' => 'good job', 'test2' => true, array('testing' => false))); 
     52        unlink('test.yml'); 
    5253    } 
    5354     
     
    7475         
    7576        $this->assertEqual('test', file_get_contents('test.yml')); 
     77        unlink('test.yml'); 
    7678    } 
    7779     
  • branches/0.10/tests/Transaction/MssqlTestCase.php

    r4031 r4032  
    3131 * @version     $Revision$ 
    3232 */ 
    33 class Doctrine_Transaction_Mssql_TestCase extends Doctrine_Driver_Unit_TestCase  
     33class Doctrine_Transaction_Mssql_TestCase extends Doctrine_UnitTestCase  
    3434{ 
    3535    public function testSetIsolationThrowsExceptionOnUnknownIsolationMode()