Add association @group from exceptions redis of the tests

This commit is contained in:
Vyacheslav Agafonov
2011-12-05 13:35:54 +04:00
parent 24c2a97f51
commit 3c79d05a2e
2 changed files with 31 additions and 0 deletions

View File

@ -26,12 +26,18 @@ class RedisDebugTest extends PHPUnit_Framework_TestCase
return parent::run($result);
}
/**
* @group Redis
*/
public function testConstructException()
{
$this->setExpectedException('GeneralException');
$redisDebug = new RedisDebug('redis');
}
/**
* @group Redis
*/
public function testConstructGood()
{
$mock = $this->getMock('Redis');
@ -47,6 +53,7 @@ class RedisDebugTest extends PHPUnit_Framework_TestCase
/**
* @runInSeparateProcess
* @group Redis
*/
public function testCallSimpleParams()
{
@ -66,6 +73,7 @@ class RedisDebugTest extends PHPUnit_Framework_TestCase
/**
* @runInSeparateProcess
* @group Redis
*/
public function testCallArrayParam()
{
@ -85,6 +93,7 @@ class RedisDebugTest extends PHPUnit_Framework_TestCase
/**
* @runInSeparateProcess
* @group Redis
*/
public function testCallUndefinedMethod()
{