74 lines
2.2 KiB
PHP
74 lines
2.2 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.dbsession.php';
|
|
|
|
/**
|
|
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:55.
|
|
*/
|
|
|
|
class classDBSessionTest extends PHPUnit_Framework_TestCase
|
|
{
|
|
/**
|
|
* @covers DBSession::DBSession
|
|
* @todo Implement testDBSession().
|
|
*/
|
|
public function testDBSession()
|
|
{
|
|
if (class_exists('DBSession')) {
|
|
$methods = get_class_methods( 'DBSession');
|
|
$this->assertTrue( in_array( 'DBSession', $methods ), 'seems like this function is outside this class' );
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @covers DBSession::setTo
|
|
* @todo Implement testsetTo().
|
|
*/
|
|
public function testsetTo()
|
|
{
|
|
if (class_exists('DBSession')) {
|
|
$methods = get_class_methods( 'DBSession');
|
|
$this->assertTrue( in_array( 'setTo', $methods ), 'seems like this function is outside this class' );
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @covers DBSession::UseDB
|
|
* @todo Implement testUseDB().
|
|
*/
|
|
public function testUseDB()
|
|
{
|
|
if (class_exists('DBSession')) {
|
|
$methods = get_class_methods( 'DBSession');
|
|
$this->assertTrue( in_array( 'UseDB', $methods ), 'seems like this function is outside this class' );
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @covers DBSession::Execute
|
|
* @todo Implement testExecute().
|
|
*/
|
|
public function testExecute()
|
|
{
|
|
if (class_exists('DBSession')) {
|
|
$methods = get_class_methods( 'DBSession');
|
|
$this->assertTrue( in_array( 'Execute', $methods ), 'seems like this function is outside this class' );
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @covers DBSession::Free
|
|
* @todo Implement testFree().
|
|
*/
|
|
public function testFree()
|
|
{
|
|
if (class_exists('DBSession')) {
|
|
$methods = get_class_methods( 'DBSession');
|
|
$this->assertTrue( in_array( 'Free', $methods ), 'seems like this function is outside this class' );
|
|
}
|
|
}
|
|
|
|
}
|