76 lines
2.4 KiB
PHP
76 lines
2.4 KiB
PHP
<?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.dynaFormField.php';
|
|
|
|
/**
|
|
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
|
|
*/
|
|
|
|
class classDynaFormFieldTest extends PHPUnit_Framework_TestCase
|
|
{
|
|
/**
|
|
* @covers DynaFormField::SetTo
|
|
* @todo Implement testSetTo().
|
|
*/
|
|
public function testSetTo()
|
|
{
|
|
if (class_exists('DynaFormField')) {
|
|
$methods = get_class_methods( 'DynaFormField');
|
|
$this->assertTrue( in_array( 'SetTo', $methods ), 'seems like this function is outside this class' );
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @covers DynaFormField::Load
|
|
* @todo Implement testLoad().
|
|
*/
|
|
public function testLoad()
|
|
{
|
|
if (class_exists('DynaFormField')) {
|
|
$methods = get_class_methods( 'DynaFormField');
|
|
$this->assertTrue( in_array( 'Load', $methods ), 'seems like this function is outside this class' );
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @covers DynaFormField::Delete
|
|
* @todo Implement testDelete().
|
|
*/
|
|
public function testDelete()
|
|
{
|
|
if (class_exists('DynaFormField')) {
|
|
$methods = get_class_methods( 'DynaFormField');
|
|
$this->assertTrue( in_array( 'Delete', $methods ), 'seems like this function is outside this class' );
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @covers DynaFormField::Save
|
|
* @todo Implement testSave().
|
|
*/
|
|
public function testSave()
|
|
{
|
|
if (class_exists('DynaFormField')) {
|
|
$methods = get_class_methods( 'DynaFormField');
|
|
$this->assertTrue( in_array( 'Save', $methods ), 'seems like this function is outside this class' );
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @covers DynaFormField::isNew
|
|
* @todo Implement testisNew().
|
|
*/
|
|
public function testisNew()
|
|
{
|
|
if (class_exists('DynaFormField')) {
|
|
$methods = get_class_methods( 'DynaFormField');
|
|
$this->assertTrue( in_array( 'isNew', $methods ), 'seems like this function is outside this class' );
|
|
}
|
|
}
|
|
|
|
}
|