. */ /** * Doctrine_Export_Schema_TestCase * * @package Doctrine * @author Konsta Vesterinen * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @category Object Relational Mapping * @link www.phpdoctrine.com * @since 1.0 * @version $Revision$ */ class Doctrine_Export_Schema_TestCase extends Doctrine_UnitTestCase { public $tables = array('Entity', 'EntityReference', 'EntityAddress', 'Email', 'Phonenumber', 'Groupuser', 'Group', 'User', 'Album', 'Song', 'Element', 'Error', 'Description', 'Address', 'Account', 'Task', 'Resource', 'Assignment', 'ResourceType', 'ResourceReference'); public function testYmlExport() { $export = new Doctrine_Export_Schema(); $export->exportSchema('schema-export.yml', 'yml', dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'models', $this->tables); } }