BUG 0000 Test Units for workflow.engine.classes
This commit is contained in:
51
tests/workflow/engine/classes/classGroupUserTest.php
Normal file
51
tests/workflow/engine/classes/classGroupUserTest.php
Normal file
@@ -0,0 +1,51 @@
|
||||
<?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.groupUser.php';
|
||||
|
||||
/**
|
||||
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
|
||||
*/
|
||||
|
||||
class classGroupUserTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @covers GroupUser::GroupUser
|
||||
* @todo Implement testGroupUser().
|
||||
*/
|
||||
public function testGroupUser()
|
||||
{
|
||||
if (class_exists('GroupUser')) {
|
||||
$methods = get_class_methods( 'GroupUser');
|
||||
$this->assertTrue( in_array( 'GroupUser', $methods ), 'seems like this function is outside this class' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers GroupUser::setTo
|
||||
* @todo Implement testsetTo().
|
||||
*/
|
||||
public function testsetTo()
|
||||
{
|
||||
if (class_exists('GroupUser')) {
|
||||
$methods = get_class_methods( 'GroupUser');
|
||||
$this->assertTrue( in_array( 'setTo', $methods ), 'seems like this function is outside this class' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers GroupUser::ofToAssignUser
|
||||
* @todo Implement testofToAssignUser().
|
||||
*/
|
||||
public function testofToAssignUser()
|
||||
{
|
||||
if (class_exists('GroupUser')) {
|
||||
$methods = get_class_methods( 'GroupUser');
|
||||
$this->assertTrue( in_array( 'ofToAssignUser', $methods ), 'seems like this function is outside this class' );
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user