コード例 #1
0
ファイル: PdoIbmTest.php プロジェクト: rafalwrzeszcz/zf2
 public function testAdapterTransactionRollback()
 {
     $server = $this->_util->getServer();
     if ($server == 'IDS') {
         $this->markTestIncomplete('IDS needs special consideration for transactions');
     } else {
         parent::testAdapterTransactionCommit();
     }
 }
コード例 #2
0
ファイル: PDOMSSQLTest.php プロジェクト: alab1001101/zf2
 public function testStatementBindValueByName()
 {
     $products = $this->_db->quoteIdentifier('zfproducts');
     // Make IDENTITY column accept explicit value.
     // This can be done in only one table in a given session.
     $this->_db->getConnection()->exec("SET IDENTITY_INSERT {$products} ON");
     parent::testStatementBindValueByName();
     $this->_db->getConnection()->exec("SET IDENTITY_INSERT {$products} OFF");
 }
コード例 #3
0
ファイル: PdoSqliteTest.php プロジェクト: rafalwrzeszcz/zf2
 /**
  * @group ZF-7706
  */
 public function testStatementCanReturnDriverStatement()
 {
     $statement = parent::testStatementCanReturnDriverStatement();
     $this->assertType('PDOStatement', $statement->getDriverStatement());
 }