Files
luos/tests/workflow/engine/classes/classXmlForm_Field_hoursTest.php
2012-05-10 20:57:25 -04:00

76 lines
2.6 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.xmlfield_InputPM.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:12.
*/
class classXmlForm_Field_hoursTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_hours::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_hours')) {
$methods = get_class_methods( 'XmlForm_Field_hours');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_hours::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field_hours')) {
$methods = get_class_methods( 'XmlForm_Field_hours');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_hours::attachEvents
* @todo Implement testattachEvents().
*/
public function testattachEvents()
{
if (class_exists('XmlForm_Field_hours')) {
$methods = get_class_methods( 'XmlForm_Field_hours');
$this->assertTrue( in_array( 'attachEvents', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_hours::getDynaformsVars
* @todo Implement testgetDynaformsVars().
*/
public function testgetDynaformsVars()
{
if (class_exists('XmlForm_Field_hours')) {
$methods = get_class_methods( 'XmlForm_Field_hours');
$this->assertTrue( in_array( 'getDynaformsVars', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_hours::getGridsVars
* @todo Implement testgetGridsVars().
*/
public function testgetGridsVars()
{
if (class_exists('XmlForm_Field_hours')) {
$methods = get_class_methods( 'XmlForm_Field_hours');
$this->assertTrue( in_array( 'getGridsVars', $methods ), 'seems like this function is outside this class' );
}
}
}