BUG 0000 "Impoving ProcessMaker PHPUnit Test folders structure"
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
<?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.xmlDb.php';
|
||||
|
||||
/**
|
||||
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
|
||||
*/
|
||||
|
||||
class classXMLResultTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @covers XMLResult::XMLResult
|
||||
* @todo Implement testXMLResult().
|
||||
*/
|
||||
public function testXMLResult()
|
||||
{
|
||||
if (class_exists('XMLResult')) {
|
||||
$methods = get_class_methods( 'XMLResult');
|
||||
$this->assertTrue( in_array( 'XMLResult', $methods ), 'seems like this function is outside this class' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers XMLResult::numRows
|
||||
* @todo Implement testnumRows().
|
||||
*/
|
||||
public function testnumRows()
|
||||
{
|
||||
if (class_exists('XMLResult')) {
|
||||
$methods = get_class_methods( 'XMLResult');
|
||||
$this->assertTrue( in_array( 'numRows', $methods ), 'seems like this function is outside this class' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers XMLResult::fetchRow
|
||||
* @todo Implement testfetchRow().
|
||||
*/
|
||||
public function testfetchRow()
|
||||
{
|
||||
if (class_exists('XMLResult')) {
|
||||
$methods = get_class_methods( 'XMLResult');
|
||||
$this->assertTrue( in_array( 'fetchRow', $methods ), 'seems like this function is outside this class' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers XMLResult::getNames
|
||||
* @todo Implement testgetNames().
|
||||
*/
|
||||
public function testgetNames()
|
||||
{
|
||||
if (class_exists('XMLResult')) {
|
||||
$methods = get_class_methods( 'XMLResult');
|
||||
$this->assertTrue( in_array( 'getNames', $methods ), 'seems like this function is outside this class' );
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user