50 lines
1.7 KiB
PHP
50 lines
1.7 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/system/class.xmlform.php';
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:57.
|
||
|
|
*/
|
||
|
|
|
||
|
|
class classXmlForm_Field_DropdownTest extends PHPUnit_Framework_TestCase
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* @covers XmlForm_Field_Dropdown::validateValue
|
||
|
|
* @todo Implement testvalidateValue().
|
||
|
|
*/
|
||
|
|
public function testvalidateValue()
|
||
|
|
{
|
||
|
|
if (class_exists('XmlForm_Field_Dropdown')) {
|
||
|
|
$methods = get_class_methods( 'XmlForm_Field_Dropdown');
|
||
|
|
$this->assertTrue( in_array( 'validateValue', $methods ), 'seems like this function is outside this class' );
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @covers XmlForm_Field_Dropdown::render
|
||
|
|
* @todo Implement testrender().
|
||
|
|
*/
|
||
|
|
public function testrender()
|
||
|
|
{
|
||
|
|
if (class_exists('XmlForm_Field_Dropdown')) {
|
||
|
|
$methods = get_class_methods( 'XmlForm_Field_Dropdown');
|
||
|
|
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @covers XmlForm_Field_Dropdown::renderGrid
|
||
|
|
* @todo Implement testrenderGrid().
|
||
|
|
*/
|
||
|
|
public function testrenderGrid()
|
||
|
|
{
|
||
|
|
if (class_exists('XmlForm_Field_Dropdown')) {
|
||
|
|
$methods = get_class_methods( 'XmlForm_Field_Dropdown');
|
||
|
|
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|