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

64 lines
2.1 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.calendar.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:12.
*/
class classcalendarTest extends PHPUnit_Framework_TestCase
{
/**
* @covers calendar::calendar
* @todo Implement testcalendar().
*/
public function testcalendar()
{
if (class_exists('calendar')) {
$methods = get_class_methods( 'calendar');
$this->assertTrue( in_array( 'calendar', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers calendar::addCalendarLog
* @todo Implement testaddCalendarLog().
*/
public function testaddCalendarLog()
{
if (class_exists('calendar')) {
$methods = get_class_methods( 'calendar');
$this->assertTrue( in_array( 'addCalendarLog', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers calendar::setupCalendar
* @todo Implement testsetupCalendar().
*/
public function testsetupCalendar()
{
if (class_exists('calendar')) {
$methods = get_class_methods( 'calendar');
$this->assertTrue( in_array( 'setupCalendar', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers calendar::getNextValidBusinessHoursRange
* @todo Implement testgetNextValidBusinessHoursRange().
*/
public function testgetNextValidBusinessHoursRange()
{
if (class_exists('calendar')) {
$methods = get_class_methods( 'calendar');
$this->assertTrue( in_array( 'getNextValidBusinessHoursRange', $methods ), 'seems like this function is outside this class' );
}
}
}