コード例 #1
0
 public function setUp()
 {
     parent::setUp();
     $this->setUpTableForRecord('Blogentry');
     $this->setUpTableForRecord('Category');
     $this->setUpTableForRecord('Tag');
     $this->setUpTableForRecord('Blogentry2Tag');
     Doctrine_Manager::getInstance()->registerHydrator('popo', 'Robo47_Doctrine_Hydrator_PopoDriver');
 }
コード例 #2
0
 public function setUp()
 {
     parent::setUp();
     $this->setupTableForRecord('Robo47_Log_Writer_Doctrine_Test_Log');
     $this->setupTableForRecord('Robo47_Log_Writer_Doctrine_Test_Log2');
     $this->_model = new Robo47_Log_Writer_Doctrine_Test_Log();
     $this->_table = $this->_model->getTable();
     $this->_model2 = new Robo47_Log_Writer_Doctrine_Test_Log2();
     $this->_table2 = $this->_model2->getTable();
     $this->_writer = new Robo47_Log_Writer_DoctrineTable($this->_table, array());
 }
コード例 #3
0
 public function setUp()
 {
     parent::setUp();
     $this->setupTableForRecord('Robo47_Paginator_Adapter_DoctrineTestRecord');
 }