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