86 lines
2.6 KiB
PHP
86 lines
2.6 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.dbrecordset.php';
|
|
|
|
/**
|
|
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:54.
|
|
*/
|
|
|
|
class classDBRecordSetTest extends PHPUnit_Framework_TestCase
|
|
{
|
|
/**
|
|
* @covers DBRecordSet::DBRecordSet
|
|
* @todo Implement testDBRecordSet().
|
|
*/
|
|
public function testDBRecordSet()
|
|
{
|
|
if (class_exists('DBRecordSet')) {
|
|
$methods = get_class_methods( 'DBRecordSet');
|
|
$this->assertTrue( in_array( 'DBRecordSet', $methods ), 'seems like this function is outside this class' );
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @covers DBRecordSet::SetTo
|
|
* @todo Implement testSetTo().
|
|
*/
|
|
public function testSetTo()
|
|
{
|
|
if (class_exists('DBRecordSet')) {
|
|
$methods = get_class_methods( 'DBRecordSet');
|
|
$this->assertTrue( in_array( 'SetTo', $methods ), 'seems like this function is outside this class' );
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @covers DBRecordSet::Free
|
|
* @todo Implement testFree().
|
|
*/
|
|
public function testFree()
|
|
{
|
|
if (class_exists('DBRecordSet')) {
|
|
$methods = get_class_methods( 'DBRecordSet');
|
|
$this->assertTrue( in_array( 'Free', $methods ), 'seems like this function is outside this class' );
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @covers DBRecordSet::Count
|
|
* @todo Implement testCount().
|
|
*/
|
|
public function testCount()
|
|
{
|
|
if (class_exists('DBRecordSet')) {
|
|
$methods = get_class_methods( 'DBRecordSet');
|
|
$this->assertTrue( in_array( 'Count', $methods ), 'seems like this function is outside this class' );
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @covers DBRecordSet::Read
|
|
* @todo Implement testRead().
|
|
*/
|
|
public function testRead()
|
|
{
|
|
if (class_exists('DBRecordSet')) {
|
|
$methods = get_class_methods( 'DBRecordSet');
|
|
$this->assertTrue( in_array( 'Read', $methods ), 'seems like this function is outside this class' );
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @covers DBRecordSet::ReadAbsolute
|
|
* @todo Implement testReadAbsolute().
|
|
*/
|
|
public function testReadAbsolute()
|
|
{
|
|
if (class_exists('DBRecordSet')) {
|
|
$methods = get_class_methods( 'DBRecordSet');
|
|
$this->assertTrue( in_array( 'ReadAbsolute', $methods ), 'seems like this function is outside this class' );
|
|
}
|
|
}
|
|
|
|
}
|