2006-11-22 03:19:00 +03:00
|
|
|
<?php
|
2006-11-22 03:26:34 +03:00
|
|
|
class Doctrine_Export_Firebird_TestCase extends Doctrine_Export_TestCase {
|
2006-11-22 03:19:00 +03:00
|
|
|
public function __construct() {
|
|
|
|
parent::__construct('firebird');
|
|
|
|
}
|
|
|
|
public function testCreateDatabaseDoesNotExecuteSql() {
|
|
|
|
try {
|
|
|
|
$this->export->createDatabase('db');
|
|
|
|
$this->fail();
|
|
|
|
} catch(Doctrine_Export_Firebird_Exception $e) {
|
|
|
|
$this->pass();
|
|
|
|
}
|
|
|
|
}
|
2006-11-22 03:26:34 +03:00
|
|
|
public function testDropDatabaseDoesNotExecuteSql() {
|
2006-11-22 03:19:00 +03:00
|
|
|
try {
|
|
|
|
$this->export->dropDatabase('db');
|
|
|
|
$this->fail();
|
|
|
|
} catch(Doctrine_Export_Firebird_Exception $e) {
|
|
|
|
$this->pass();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
?>
|