fixing all automated test units
This commit is contained in:
@@ -45,8 +45,8 @@ class classPMExceptionTest extends PHPUnit_Framework_TestCase
|
|||||||
public function testNumberOfMethodsInThisClass()
|
public function testNumberOfMethodsInThisClass()
|
||||||
{
|
{
|
||||||
$class = new ReflectionClass('PMException');
|
$class = new ReflectionClass('PMException');
|
||||||
$methods = $class->getMethods();
|
$methods = $class->getMethods( ReflectionMethod::IS_PUBLIC );
|
||||||
$this->assertTrue( count($methods) == 10);
|
$this->assertTrue( count($methods) == 9);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -44,8 +44,8 @@ class classApplicationWithoutDelegationRecordsExceptionTest extends PHPUnit_Fram
|
|||||||
public function testNumberOfMethodsInThisClass()
|
public function testNumberOfMethodsInThisClass()
|
||||||
{
|
{
|
||||||
$class = new ReflectionClass('ApplicationWithoutDelegationRecordsException');
|
$class = new ReflectionClass('ApplicationWithoutDelegationRecordsException');
|
||||||
$methods = $class->getMethods();
|
$methods = $class->getMethods(ReflectionMethod::IS_PUBLIC);
|
||||||
$this->assertTrue( count($methods) == 10);
|
$this->assertTrue( count($methods) == 9);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -44,8 +44,8 @@ class classInvalidIndexSearchTextExceptionTest extends PHPUnit_Framework_TestCas
|
|||||||
public function testNumberOfMethodsInThisClass()
|
public function testNumberOfMethodsInThisClass()
|
||||||
{
|
{
|
||||||
$class = new ReflectionClass('ApplicationWithoutDelegationRecordsException');
|
$class = new ReflectionClass('ApplicationWithoutDelegationRecordsException');
|
||||||
$methods = $class->getMethods();
|
$methods = $class->getMethods(ReflectionMethod::IS_PUBLIC);
|
||||||
$this->assertTrue( count($methods) == 10);
|
$this->assertTrue( count($methods) == 9);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -43,9 +43,9 @@ class classXMLResultTest extends PHPUnit_Framework_TestCase
|
|||||||
*/
|
*/
|
||||||
public function testNumberOfMethodsInThisClass()
|
public function testNumberOfMethodsInThisClass()
|
||||||
{
|
{
|
||||||
$class = new ReflectionClass('ApplicationWithoutDelegationRecordsException');
|
$class = new ReflectionClass('XMLResult');
|
||||||
$methods = $class->getMethods();
|
$methods = $class->getMethods(ReflectionMethod::IS_PUBLIC);
|
||||||
$this->assertTrue( count($methods) == 10);
|
$this->assertTrue( count($methods) == 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user