コード例 #1
0
 public function setUp(Zend_Db_Adapter_Abstract $db)
 {
     $this->_setUpDatabase();
     parent::setUp($db);
     $this->createSequence('zfbugs_seq');
     $this->createSequence('zfproducts_seq');
     $zfbugs_seq = $this->_db->quoteIdentifier('zfbugs_seq');
     $zfproducts_seq = $this->_db->quoteIdentifier('zfproducts_seq');
     $this->_rawQuery("SET GENERATOR {$zfbugs_seq} TO 4");
     $this->_rawQuery("SET GENERATOR {$zfproducts_seq} TO 3");
 }
コード例 #2
0
ファイル: Mysqli.php プロジェクト: netvlies/zf
 public function setUp(Zend_Db_Adapter_Abstract $db)
 {
     parent::setUp($db);
     $this->_createTestProcedure();
 }
コード例 #3
0
 public function setUp(Zend_Db_Adapter_Abstract $db)
 {
     $this->setAdapter($db);
     $this->createSequence('zfproducts_seq');
     parent::setUp($db);
 }
コード例 #4
0
ファイル: TestSetup.php プロジェクト: jsnshrmn/Suma
 /**
  * Subclasses should call parent::setUp() before
  * doing their own logic, e.g. creating metadata.
  */
 public function setUp()
 {
     $this->_setUpTestUtil();
     $this->_setUpAdapter();
     $this->_util->setUp($this->_db);
 }
コード例 #5
0
ファイル: Db2.php プロジェクト: hjr3/zf2
 public function setUp(\Zend\DB\Adapter\AbstractAdapter $db)
 {
     $this->setAdapter($db);
     $this->createSequence('zfproducts_seq');
     parent::setUp($db);
 }