40 lines
1.3 KiB
PHP
40 lines
1.3 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.xmlDb.php';
|
|
|
|
/**
|
|
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
|
|
*/
|
|
|
|
class classXMLDBTest extends PHPUnit_Framework_TestCase
|
|
{
|
|
/**
|
|
* @covers XMLDB::connect
|
|
* @todo Implement testconnect().
|
|
*/
|
|
public function testconnect()
|
|
{
|
|
if (class_exists('XMLDB')) {
|
|
$methods = get_class_methods( 'XMLDB');
|
|
$this->assertTrue( in_array( 'connect', $methods ), 'seems like this function is outside this class' );
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @covers XMLDB::isError
|
|
* @todo Implement testisError().
|
|
*/
|
|
public function testisError()
|
|
{
|
|
if (class_exists('XMLDB')) {
|
|
$methods = get_class_methods( 'XMLDB');
|
|
$this->assertTrue( in_array( 'isError', $methods ), 'seems like this function is outside this class' );
|
|
}
|
|
}
|
|
|
|
}
|