fixing phpcs in build.xml and removing the incomplete tag for all phpunits
This commit is contained in:
@@ -10,7 +10,7 @@ require_once PATH_TRUNK . 'gulliver/thirdparty/pear/PEAR.php';
|
||||
require_once PATH_TRUNK . 'workflow/engine/classes/class.applications.php';
|
||||
|
||||
/**
|
||||
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 20:28:31.
|
||||
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:24.
|
||||
*/
|
||||
|
||||
class classApplicationsTest extends PHPUnit_Framework_TestCase
|
||||
@@ -43,7 +43,7 @@ class classApplicationsTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testNumberOfMethodsInThisClass()
|
||||
{
|
||||
$this->assertTrue( count($methods) == 5);
|
||||
$methods = get_class_methods('Applications'); $this->assertTrue( count($methods) == 5);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -115,8 +115,6 @@ class classApplicationsTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[14]->isArray() == false);
|
||||
$this->assertTrue( $params[14]->isOptional () == true);
|
||||
$this->assertTrue( $params[14]->getDefaultValue() == 'APP_CACHE_VIEW.APP_NUMBER');
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -129,8 +127,6 @@ class classApplicationsTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( in_array('setDefaultFields', $methods ), 'exists method setDefaultFields' );
|
||||
$r = new ReflectionMethod('Applications', 'setDefaultFields');
|
||||
$params = $r->getParameters();
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -146,8 +142,6 @@ class classApplicationsTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[0]->getName() == 'action');
|
||||
$this->assertTrue( $params[0]->isArray() == false);
|
||||
$this->assertTrue( $params[0]->isOptional () == false);
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -175,8 +169,6 @@ class classApplicationsTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[4]->getName() == 'dateFormat');
|
||||
$this->assertTrue( $params[4]->isArray() == false);
|
||||
$this->assertTrue( $params[4]->isOptional () == false);
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -201,8 +193,6 @@ class classApplicationsTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[3]->getName() == 'proUid');
|
||||
$this->assertTrue( $params[3]->isArray() == false);
|
||||
$this->assertTrue( $params[3]->isOptional () == false);
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user