BUG 0000 "Impoving ProcessMaker PHPUnit Test folders structure"
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
<?php
|
||||
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
|
||||
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
|
||||
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
|
||||
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
|
||||
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
|
||||
require_once PATH_TRUNK . 'workflow/engine/classes/class.applications.php';
|
||||
|
||||
/**
|
||||
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:11.
|
||||
*/
|
||||
|
||||
class classApplicationsTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @covers Applications::getAll
|
||||
* @todo Implement testgetAll().
|
||||
*/
|
||||
public function testgetAll()
|
||||
{
|
||||
if (class_exists('Applications')) {
|
||||
$methods = get_class_methods( 'Applications');
|
||||
$this->assertTrue( in_array( 'getAll', $methods ), 'seems like this function is outside this class' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Applications::setDefaultFields
|
||||
* @todo Implement testsetDefaultFields().
|
||||
*/
|
||||
public function testsetDefaultFields()
|
||||
{
|
||||
if (class_exists('Applications')) {
|
||||
$methods = get_class_methods( 'Applications');
|
||||
$this->assertTrue( in_array( 'setDefaultFields', $methods ), 'seems like this function is outside this class' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Applications::getDefaultFields
|
||||
* @todo Implement testgetDefaultFields().
|
||||
*/
|
||||
public function testgetDefaultFields()
|
||||
{
|
||||
if (class_exists('Applications')) {
|
||||
$methods = get_class_methods( 'Applications');
|
||||
$this->assertTrue( in_array( 'getDefaultFields', $methods ), 'seems like this function is outside this class' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Applications::genericJsonResponse
|
||||
* @todo Implement testgenericJsonResponse().
|
||||
*/
|
||||
public function testgenericJsonResponse()
|
||||
{
|
||||
if (class_exists('Applications')) {
|
||||
$methods = get_class_methods( 'Applications');
|
||||
$this->assertTrue( in_array( 'genericJsonResponse', $methods ), 'seems like this function is outside this class' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Applications::getSteps
|
||||
* @todo Implement testgetSteps().
|
||||
*/
|
||||
public function testgetSteps()
|
||||
{
|
||||
if (class_exists('Applications')) {
|
||||
$methods = get_class_methods( 'Applications');
|
||||
$this->assertTrue( in_array( 'getSteps', $methods ), 'seems like this function is outside this class' );
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user