Add association @group from exceptions mysql of the tests
This commit is contained in:
@ -53,6 +53,7 @@ class MySQLiStatementTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
/**
|
||||
* @runInSeparateProcess
|
||||
* @group MySQL
|
||||
*/
|
||||
public function testFetchNoResult()
|
||||
{
|
||||
@ -64,6 +65,7 @@ class MySQLiStatementTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
/**
|
||||
* @runInSeparateProcess
|
||||
* @group MySQL
|
||||
*/
|
||||
public function testDriverExecuteNoResult()
|
||||
{
|
||||
@ -77,6 +79,7 @@ class MySQLiStatementTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
/**
|
||||
* @runInSeparateProcess
|
||||
* @group MySQL
|
||||
*/
|
||||
public function testFetch()
|
||||
{
|
||||
@ -93,6 +96,7 @@ class MySQLiStatementTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
/**
|
||||
* @runInSeparateProcess
|
||||
* @group MySQL
|
||||
*/
|
||||
public function testFetchObject()
|
||||
{
|
||||
@ -106,6 +110,7 @@ class MySQLiStatementTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
/**
|
||||
* @runInSeparateProcess
|
||||
* @group MySQL
|
||||
*/
|
||||
public function testFetchWithDebug()
|
||||
{
|
||||
@ -119,6 +124,7 @@ class MySQLiStatementTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
/**
|
||||
* @runInSeparateProcess
|
||||
* @group MySQL
|
||||
*/
|
||||
public function testClose()
|
||||
{
|
||||
@ -133,6 +139,9 @@ class MySQLiStatementTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertAttributeEquals(null, 'result', $this->stmt);
|
||||
}
|
||||
|
||||
/**
|
||||
* @group MySQL
|
||||
*/
|
||||
public function testAffectedRows()
|
||||
{
|
||||
$mysqliMock = $this->getMockBuilder('MysqliDrvr');
|
||||
@ -146,6 +155,9 @@ class MySQLiStatementTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertSame('AFFECTED_ROWS', $this->stmt->affectedRows());
|
||||
}
|
||||
|
||||
/**
|
||||
* @group MySQL
|
||||
*/
|
||||
public function testNumRowsNoResult()
|
||||
{
|
||||
$this->assertFalse($this->stmt->numRows());
|
||||
@ -154,6 +166,7 @@ class MySQLiStatementTest extends PHPUnit_Framework_TestCase
|
||||
/**
|
||||
* @runInSeparateProcess
|
||||
* @TODO: exception just for code coverage - could not mock mysqli properties
|
||||
* @group MySQL
|
||||
*/
|
||||
public function testNumRows()
|
||||
{
|
||||
@ -168,6 +181,7 @@ class MySQLiStatementTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
/**
|
||||
* @runInSeparateProcess
|
||||
* @group MySQL
|
||||
*/
|
||||
public function testFetchInvalidMode()
|
||||
{
|
||||
|
Reference in New Issue
Block a user