Files
luos/tests/automated/gulliver/system/classXmlForm_Field_Date2Test.php

74 lines
2.5 KiB
PHP
Raw Normal View History

<?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/system/class.xmlform.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:57.
*/
class classXmlForm_Field_Date2Test extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Date2::verifyDateFormat
* @todo Implement testverifyDateFormat().
*/
public function testverifyDateFormat()
{
if (class_exists('XmlForm_Field_Date2')) {
$methods = get_class_methods( 'XmlForm_Field_Date2');
$this->assertTrue( in_array( 'verifyDateFormat', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Date2::isvalidBeforeFormat
* @todo Implement testisvalidBeforeFormat().
*/
public function testisvalidBeforeFormat()
{
if (class_exists('XmlForm_Field_Date2')) {
$methods = get_class_methods( 'XmlForm_Field_Date2');
$this->assertTrue( in_array( 'isvalidBeforeFormat', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Date2::calculateBeforeFormat
* @todo Implement testcalculateBeforeFormat().
*/
public function testcalculateBeforeFormat()
{
if (class_exists('XmlForm_Field_Date2')) {
$methods = get_class_methods( 'XmlForm_Field_Date2');
$this->assertTrue( in_array( 'calculateBeforeFormat', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Date2::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Date2')) {
$methods = get_class_methods( 'XmlForm_Field_Date2');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Date2::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field_Date2')) {
$methods = get_class_methods( 'XmlForm_Field_Date2');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
}