BUG 0000 Test Units for Gulliver.system classes

This commit is contained in:
Fernando Ontiveros
2012-05-10 20:51:34 -04:00
parent c06ef79551
commit 31ae1e1d36
90 changed files with 10182 additions and 0 deletions

View File

@@ -0,0 +1,241 @@
<?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.controller.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:56.
*/
class classControllerTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Controller::__set
* @todo Implement test__set().
*/
public function test__set()
{
if (class_exists('Controller')) {
$methods = get_class_methods( 'Controller');
$this->assertTrue( in_array( '__set', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Controller::__get
* @todo Implement test__get().
*/
public function test__get()
{
if (class_exists('Controller')) {
$methods = get_class_methods( 'Controller');
$this->assertTrue( in_array( '__get', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Controller::__isset
* @todo Implement test__isset().
*/
public function test__isset()
{
if (class_exists('Controller')) {
$methods = get_class_methods( 'Controller');
$this->assertTrue( in_array( '__isset', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Controller::__unset
* @todo Implement test__unset().
*/
public function test__unset()
{
if (class_exists('Controller')) {
$methods = get_class_methods( 'Controller');
$this->assertTrue( in_array( '__unset', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Controller::setResponseType
* @todo Implement testsetResponseType().
*/
public function testsetResponseType()
{
if (class_exists('Controller')) {
$methods = get_class_methods( 'Controller');
$this->assertTrue( in_array( 'setResponseType', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Controller::call
* @todo Implement testcall().
*/
public function testcall()
{
if (class_exists('Controller')) {
$methods = get_class_methods( 'Controller');
$this->assertTrue( in_array( 'call', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Controller::setHttpRequestData
* @todo Implement testsetHttpRequestData().
*/
public function testsetHttpRequestData()
{
if (class_exists('Controller')) {
$methods = get_class_methods( 'Controller');
$this->assertTrue( in_array( 'setHttpRequestData', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Controller::setDebug
* @todo Implement testsetDebug().
*/
public function testsetDebug()
{
if (class_exists('Controller')) {
$methods = get_class_methods( 'Controller');
$this->assertTrue( in_array( 'setDebug', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Controller::getDebug
* @todo Implement testgetDebug().
*/
public function testgetDebug()
{
if (class_exists('Controller')) {
$methods = get_class_methods( 'Controller');
$this->assertTrue( in_array( 'getDebug', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Controller::includeExtJSLib
* @todo Implement testincludeExtJSLib().
*/
public function testincludeExtJSLib()
{
if (class_exists('Controller')) {
$methods = get_class_methods( 'Controller');
$this->assertTrue( in_array( 'includeExtJSLib', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Controller::includeExtJS
* @todo Implement testincludeExtJS().
*/
public function testincludeExtJS()
{
if (class_exists('Controller')) {
$methods = get_class_methods( 'Controller');
$this->assertTrue( in_array( 'includeExtJS', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Controller::setView
* @todo Implement testsetView().
*/
public function testsetView()
{
if (class_exists('Controller')) {
$methods = get_class_methods( 'Controller');
$this->assertTrue( in_array( 'setView', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Controller::setJSVar
* @todo Implement testsetJSVar().
*/
public function testsetJSVar()
{
if (class_exists('Controller')) {
$methods = get_class_methods( 'Controller');
$this->assertTrue( in_array( 'setJSVar', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Controller::setVar
* @todo Implement testsetVar().
*/
public function testsetVar()
{
if (class_exists('Controller')) {
$methods = get_class_methods( 'Controller');
$this->assertTrue( in_array( 'setVar', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Controller::getHeadPublisher
* @todo Implement testgetHeadPublisher().
*/
public function testgetHeadPublisher()
{
if (class_exists('Controller')) {
$methods = get_class_methods( 'Controller');
$this->assertTrue( in_array( 'getHeadPublisher', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Controller::setLayout
* @todo Implement testsetLayout().
*/
public function testsetLayout()
{
if (class_exists('Controller')) {
$methods = get_class_methods( 'Controller');
$this->assertTrue( in_array( 'setLayout', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Controller::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('Controller')) {
$methods = get_class_methods( 'Controller');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Controller::header
* @todo Implement testheader().
*/
public function testheader()
{
if (class_exists('Controller')) {
$methods = get_class_methods( 'Controller');
$this->assertTrue( in_array( 'header', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Controller::redirect
* @todo Implement testredirect().
*/
public function testredirect()
{
if (class_exists('Controller')) {
$methods = get_class_methods( 'Controller');
$this->assertTrue( in_array( 'redirect', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,109 @@
<?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.dbconnection.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:56.
*/
class classDBConnectionTest extends PHPUnit_Framework_TestCase
{
/**
* @covers DBConnection::DBConnection
* @todo Implement testDBConnection().
*/
public function testDBConnection()
{
if (class_exists('DBConnection')) {
$methods = get_class_methods( 'DBConnection');
$this->assertTrue( in_array( 'DBConnection', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DBConnection::Reset
* @todo Implement testReset().
*/
public function testReset()
{
if (class_exists('DBConnection')) {
$methods = get_class_methods( 'DBConnection');
$this->assertTrue( in_array( 'Reset', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DBConnection::Free
* @todo Implement testFree().
*/
public function testFree()
{
if (class_exists('DBConnection')) {
$methods = get_class_methods( 'DBConnection');
$this->assertTrue( in_array( 'Free', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DBConnection::Close
* @todo Implement testClose().
*/
public function testClose()
{
if (class_exists('DBConnection')) {
$methods = get_class_methods( 'DBConnection');
$this->assertTrue( in_array( 'Close', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DBConnection::logError
* @todo Implement testlogError().
*/
public function testlogError()
{
if (class_exists('DBConnection')) {
$methods = get_class_methods( 'DBConnection');
$this->assertTrue( in_array( 'logError', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DBConnection::traceError
* @todo Implement testtraceError().
*/
public function testtraceError()
{
if (class_exists('DBConnection')) {
$methods = get_class_methods( 'DBConnection');
$this->assertTrue( in_array( 'traceError', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DBConnection::printArgs
* @todo Implement testprintArgs().
*/
public function testprintArgs()
{
if (class_exists('DBConnection')) {
$methods = get_class_methods( 'DBConnection');
$this->assertTrue( in_array( 'printArgs', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DBConnection::GetLastID
* @todo Implement testGetLastID().
*/
public function testGetLastID()
{
if (class_exists('DBConnection')) {
$methods = get_class_methods( 'DBConnection');
$this->assertTrue( in_array( 'GetLastID', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,85 @@
<?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' );
}
}
}

View File

@@ -0,0 +1,73 @@
<?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' );
}
}
}

View File

@@ -0,0 +1,145 @@
<?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.dbtable.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:55.
*/
class classDBTableTest extends PHPUnit_Framework_TestCase
{
/**
* @covers DBTable::dBTable
* @todo Implement testdBTable().
*/
public function testdBTable()
{
if (class_exists('DBTable')) {
$methods = get_class_methods( 'DBTable');
$this->assertTrue( in_array( 'dBTable', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DBTable::setTo
* @todo Implement testsetTo().
*/
public function testsetTo()
{
if (class_exists('DBTable')) {
$methods = get_class_methods( 'DBTable');
$this->assertTrue( in_array( 'setTo', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DBTable::loadEmpty
* @todo Implement testloadEmpty().
*/
public function testloadEmpty()
{
if (class_exists('DBTable')) {
$methods = get_class_methods( 'DBTable');
$this->assertTrue( in_array( 'loadEmpty', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DBTable::loadWhere
* @todo Implement testloadWhere().
*/
public function testloadWhere()
{
if (class_exists('DBTable')) {
$methods = get_class_methods( 'DBTable');
$this->assertTrue( in_array( 'loadWhere', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DBTable::load
* @todo Implement testload().
*/
public function testload()
{
if (class_exists('DBTable')) {
$methods = get_class_methods( 'DBTable');
$this->assertTrue( in_array( 'load', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DBTable::nextvalPGSql
* @todo Implement testnextvalPGSql().
*/
public function testnextvalPGSql()
{
if (class_exists('DBTable')) {
$methods = get_class_methods( 'DBTable');
$this->assertTrue( in_array( 'nextvalPGSql', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DBTable::insert
* @todo Implement testinsert().
*/
public function testinsert()
{
if (class_exists('DBTable')) {
$methods = get_class_methods( 'DBTable');
$this->assertTrue( in_array( 'insert', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DBTable::update
* @todo Implement testupdate().
*/
public function testupdate()
{
if (class_exists('DBTable')) {
$methods = get_class_methods( 'DBTable');
$this->assertTrue( in_array( 'update', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DBTable::save
* @todo Implement testsave().
*/
public function testsave()
{
if (class_exists('DBTable')) {
$methods = get_class_methods( 'DBTable');
$this->assertTrue( in_array( 'save', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DBTable::delete
* @todo Implement testdelete().
*/
public function testdelete()
{
if (class_exists('DBTable')) {
$methods = get_class_methods( 'DBTable');
$this->assertTrue( in_array( 'delete', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DBTable::next
* @todo Implement testnext().
*/
public function testnext()
{
if (class_exists('DBTable')) {
$methods = get_class_methods( 'DBTable');
$this->assertTrue( in_array( 'next', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,337 @@
<?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.dbMaintenance.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:54.
*/
class classDataBaseMaintenanceTest extends PHPUnit_Framework_TestCase
{
/**
* @covers DataBaseMaintenance::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::setUser
* @todo Implement testsetUser().
*/
public function testsetUser()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'setUser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::setPasswd
* @todo Implement testsetPasswd().
*/
public function testsetPasswd()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'setPasswd', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::setHost
* @todo Implement testsetHost().
*/
public function testsetHost()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'setHost', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::setTempDir
* @todo Implement testsetTempDir().
*/
public function testsetTempDir()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'setTempDir', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::getTempDir
* @todo Implement testgetTempDir().
*/
public function testgetTempDir()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'getTempDir', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::status
* @todo Implement teststatus().
*/
public function teststatus()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'status', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::connect
* @todo Implement testconnect().
*/
public function testconnect()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'connect', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::setDbName
* @todo Implement testsetDbName().
*/
public function testsetDbName()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'setDbName', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::selectDataBase
* @todo Implement testselectDataBase().
*/
public function testselectDataBase()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'selectDataBase', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::query
* @todo Implement testquery().
*/
public function testquery()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'query', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::error
* @todo Implement testerror().
*/
public function testerror()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'error', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::getTablesList
* @todo Implement testgetTablesList().
*/
public function testgetTablesList()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'getTablesList', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::dumpData
* @todo Implement testdumpData().
*/
public function testdumpData()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'dumpData', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::restoreData
* @todo Implement testrestoreData().
*/
public function testrestoreData()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'restoreData', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::backupData
* @todo Implement testbackupData().
*/
public function testbackupData()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'backupData', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::backupSqlData
* @todo Implement testbackupSqlData().
*/
public function testbackupSqlData()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'backupSqlData', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::restoreAllData
* @todo Implement testrestoreAllData().
*/
public function testrestoreAllData()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'restoreAllData', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::createDb
* @todo Implement testcreateDb().
*/
public function testcreateDb()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'createDb', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::restoreFromSql2
* @todo Implement testrestoreFromSql2().
*/
public function testrestoreFromSql2()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'restoreFromSql2', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::lockTables
* @todo Implement testlockTables().
*/
public function testlockTables()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'lockTables', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::unlockTables
* @todo Implement testunlockTables().
*/
public function testunlockTables()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'unlockTables', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::dumpSqlInserts
* @todo Implement testdumpSqlInserts().
*/
public function testdumpSqlInserts()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'dumpSqlInserts', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::backupDataBase
* @todo Implement testbackupDataBase().
*/
public function testbackupDataBase()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'backupDataBase', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::restoreFromSql
* @todo Implement testrestoreFromSql().
*/
public function testrestoreFromSql()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'restoreFromSql', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::getSchemaFromTable
* @todo Implement testgetSchemaFromTable().
*/
public function testgetSchemaFromTable()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'getSchemaFromTable', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DataBaseMaintenance::removeCommentsIntoString
* @todo Implement testremoveCommentsIntoString().
*/
public function testremoveCommentsIntoString()
{
if (class_exists('DataBaseMaintenance')) {
$methods = get_class_methods( 'DataBaseMaintenance');
$this->assertTrue( in_array( 'removeCommentsIntoString', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,145 @@
<?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.form.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:55.
*/
class classFormTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Form::setDefaultValues
* @todo Implement testsetDefaultValues().
*/
public function testsetDefaultValues()
{
if (class_exists('Form')) {
$methods = get_class_methods( 'Form');
$this->assertTrue( in_array( 'setDefaultValues', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Form::Form
* @todo Implement testForm().
*/
public function testForm()
{
if (class_exists('Form')) {
$methods = get_class_methods( 'Form');
$this->assertTrue( in_array( 'Form', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Form::printTemplate
* @todo Implement testprintTemplate().
*/
public function testprintTemplate()
{
if (class_exists('Form')) {
$methods = get_class_methods( 'Form');
$this->assertTrue( in_array( 'printTemplate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Form::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('Form')) {
$methods = get_class_methods( 'Form');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Form::setValues
* @todo Implement testsetValues().
*/
public function testsetValues()
{
if (class_exists('Form')) {
$methods = get_class_methods( 'Form');
$this->assertTrue( in_array( 'setValues', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Form::getFields
* @todo Implement testgetFields().
*/
public function testgetFields()
{
if (class_exists('Form')) {
$methods = get_class_methods( 'Form');
$this->assertTrue( in_array( 'getFields', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Form::validatePost
* @todo Implement testvalidatePost().
*/
public function testvalidatePost()
{
if (class_exists('Form')) {
$methods = get_class_methods( 'Form');
$this->assertTrue( in_array( 'validatePost', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Form::validateArray
* @todo Implement testvalidateArray().
*/
public function testvalidateArray()
{
if (class_exists('Form')) {
$methods = get_class_methods( 'Form');
$this->assertTrue( in_array( 'validateArray', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Form::getVars
* @todo Implement testgetVars().
*/
public function testgetVars()
{
if (class_exists('Form')) {
$methods = get_class_methods( 'Form');
$this->assertTrue( in_array( 'getVars', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Form::validateRequiredFields
* @todo Implement testvalidateRequiredFields().
*/
public function testvalidateRequiredFields()
{
if (class_exists('Form')) {
$methods = get_class_methods( 'Form');
$this->assertTrue( in_array( 'validateRequiredFields', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Form::validateFields
* @todo Implement testvalidateFields().
*/
public function testvalidateFields()
{
if (class_exists('Form')) {
$methods = get_class_methods( 'Form');
$this->assertTrue( in_array( 'validateFields', $methods ), 'seems like this function is outside this class' );
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,37 @@
<?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.error.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:58.
*/
class classG_ErrorTest extends PHPUnit_Framework_TestCase
{
/**
* @covers G_Error::G_Error
* @todo Implement testG_Error().
*/
public function testG_Error()
{
if (class_exists('G_Error')) {
$methods = get_class_methods( 'G_Error');
$this->assertTrue( in_array( 'G_Error', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers G_Error::errorMessage
* @todo Implement testerrorMessage().
*/
public function testerrorMessage()
{
if (class_exists('G_Error')) {
$methods = get_class_methods( 'G_Error');
$this->assertTrue( in_array( 'errorMessage', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,109 @@
<?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.helper.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:54.
*/
class classHelperTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Helper::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('Helper')) {
$methods = get_class_methods( 'Helper');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Helper::addFile
* @todo Implement testaddFile().
*/
public function testaddFile()
{
if (class_exists('Helper')) {
$methods = get_class_methods( 'Helper');
$this->assertTrue( in_array( 'addFile', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Helper::addContent
* @todo Implement testaddContent().
*/
public function testaddContent()
{
if (class_exists('Helper')) {
$methods = get_class_methods( 'Helper');
$this->assertTrue( in_array( 'addContent', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Helper::setContentType
* @todo Implement testsetContentType().
*/
public function testsetContentType()
{
if (class_exists('Helper')) {
$methods = get_class_methods( 'Helper');
$this->assertTrue( in_array( 'setContentType', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Helper::init
* @todo Implement testinit().
*/
public function testinit()
{
if (class_exists('Helper')) {
$methods = get_class_methods( 'Helper');
$this->assertTrue( in_array( 'init', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Helper::minify
* @todo Implement testminify().
*/
public function testminify()
{
if (class_exists('Helper')) {
$methods = get_class_methods( 'Helper');
$this->assertTrue( in_array( 'minify', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Helper::flush
* @todo Implement testflush().
*/
public function testflush()
{
if (class_exists('Helper')) {
$methods = get_class_methods( 'Helper');
$this->assertTrue( in_array( 'flush', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Helper::serve
* @todo Implement testserve().
*/
public function testserve()
{
if (class_exists('Helper')) {
$methods = get_class_methods( 'Helper');
$this->assertTrue( in_array( 'serve', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,109 @@
<?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.httpProxyController.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:58.
*/
class classHttpProxyControllerTest extends PHPUnit_Framework_TestCase
{
/**
* @covers HttpProxyController::__set
* @todo Implement test__set().
*/
public function test__set()
{
if (class_exists('HttpProxyController')) {
$methods = get_class_methods( 'HttpProxyController');
$this->assertTrue( in_array( '__set', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers HttpProxyController::__get
* @todo Implement test__get().
*/
public function test__get()
{
if (class_exists('HttpProxyController')) {
$methods = get_class_methods( 'HttpProxyController');
$this->assertTrue( in_array( '__get', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers HttpProxyController::__isset
* @todo Implement test__isset().
*/
public function test__isset()
{
if (class_exists('HttpProxyController')) {
$methods = get_class_methods( 'HttpProxyController');
$this->assertTrue( in_array( '__isset', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers HttpProxyController::__unset
* @todo Implement test__unset().
*/
public function test__unset()
{
if (class_exists('HttpProxyController')) {
$methods = get_class_methods( 'HttpProxyController');
$this->assertTrue( in_array( '__unset', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers HttpProxyController::call
* @todo Implement testcall().
*/
public function testcall()
{
if (class_exists('HttpProxyController')) {
$methods = get_class_methods( 'HttpProxyController');
$this->assertTrue( in_array( 'call', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers HttpProxyController::setHttpRequestData
* @todo Implement testsetHttpRequestData().
*/
public function testsetHttpRequestData()
{
if (class_exists('HttpProxyController')) {
$methods = get_class_methods( 'HttpProxyController');
$this->assertTrue( in_array( 'setHttpRequestData', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers HttpProxyController::setJsonResponse
* @todo Implement testsetJsonResponse().
*/
public function testsetJsonResponse()
{
if (class_exists('HttpProxyController')) {
$methods = get_class_methods( 'HttpProxyController');
$this->assertTrue( in_array( 'setJsonResponse', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers HttpProxyController::setSendResponse
* @todo Implement testsetSendResponse().
*/
public function testsetSendResponse()
{
if (class_exists('HttpProxyController')) {
$methods = get_class_methods( 'HttpProxyController');
$this->assertTrue( in_array( 'setSendResponse', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,145 @@
<?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.menu.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:58.
*/
class classMenuTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Menu::SetClass
* @todo Implement testSetClass().
*/
public function testSetClass()
{
if (class_exists('Menu')) {
$methods = get_class_methods( 'Menu');
$this->assertTrue( in_array( 'SetClass', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Menu::Load
* @todo Implement testLoad().
*/
public function testLoad()
{
if (class_exists('Menu')) {
$methods = get_class_methods( 'Menu');
$this->assertTrue( in_array( 'Load', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Menu::OptionCount
* @todo Implement testOptionCount().
*/
public function testOptionCount()
{
if (class_exists('Menu')) {
$methods = get_class_methods( 'Menu');
$this->assertTrue( in_array( 'OptionCount', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Menu::AddOption
* @todo Implement testAddOption().
*/
public function testAddOption()
{
if (class_exists('Menu')) {
$methods = get_class_methods( 'Menu');
$this->assertTrue( in_array( 'AddOption', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Menu::AddIdOption
* @todo Implement testAddIdOption().
*/
public function testAddIdOption()
{
if (class_exists('Menu')) {
$methods = get_class_methods( 'Menu');
$this->assertTrue( in_array( 'AddIdOption', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Menu::AddRawOption
* @todo Implement testAddRawOption().
*/
public function testAddRawOption()
{
if (class_exists('Menu')) {
$methods = get_class_methods( 'Menu');
$this->assertTrue( in_array( 'AddRawOption', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Menu::AddIdRawOption
* @todo Implement testAddIdRawOption().
*/
public function testAddIdRawOption()
{
if (class_exists('Menu')) {
$methods = get_class_methods( 'Menu');
$this->assertTrue( in_array( 'AddIdRawOption', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Menu::DisableOptionPos
* @todo Implement testDisableOptionPos().
*/
public function testDisableOptionPos()
{
if (class_exists('Menu')) {
$methods = get_class_methods( 'Menu');
$this->assertTrue( in_array( 'DisableOptionPos', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Menu::DisableOptionId
* @todo Implement testDisableOptionId().
*/
public function testDisableOptionId()
{
if (class_exists('Menu')) {
$methods = get_class_methods( 'Menu');
$this->assertTrue( in_array( 'DisableOptionId', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Menu::RenderOption
* @todo Implement testRenderOption().
*/
public function testRenderOption()
{
if (class_exists('Menu')) {
$methods = get_class_methods( 'Menu');
$this->assertTrue( in_array( 'RenderOption', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Menu::generateArrayForTemplate
* @todo Implement testgenerateArrayForTemplate().
*/
public function testgenerateArrayForTemplate()
{
if (class_exists('Menu')) {
$methods = get_class_methods( 'Menu');
$this->assertTrue( in_array( 'generateArrayForTemplate', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,37 @@
<?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.soapNtlm.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:55.
*/
class classNTLMSoapClientTest extends PHPUnit_Framework_TestCase
{
/**
* @covers NTLMSoapClient::__doRequest
* @todo Implement test__doRequest().
*/
public function test__doRequest()
{
if (class_exists('NTLMSoapClient')) {
$methods = get_class_methods( 'NTLMSoapClient');
$this->assertTrue( in_array( '__doRequest', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers NTLMSoapClient::__getLastRequestHeaders
* @todo Implement test__getLastRequestHeaders().
*/
public function test__getLastRequestHeaders()
{
if (class_exists('NTLMSoapClient')) {
$methods = get_class_methods( 'NTLMSoapClient');
$this->assertTrue( in_array( '__getLastRequestHeaders', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,217 @@
<?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.phpSqlParser.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:56.
*/
class classPHPSQLParserTest extends PHPUnit_Framework_TestCase
{
/**
* @covers PHPSQLParser::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('PHPSQLParser')) {
$methods = get_class_methods( 'PHPSQLParser');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PHPSQLParser::parse
* @todo Implement testparse().
*/
public function testparse()
{
if (class_exists('PHPSQLParser')) {
$methods = get_class_methods( 'PHPSQLParser');
$this->assertTrue( in_array( 'parse', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PHPSQLParser::count_paren
* @todo Implement testcount_paren().
*/
public function testcount_paren()
{
if (class_exists('PHPSQLParser')) {
$methods = get_class_methods( 'PHPSQLParser');
$this->assertTrue( in_array( 'count_paren', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PHPSQLParser::count_backtick
* @todo Implement testcount_backtick().
*/
public function testcount_backtick()
{
if (class_exists('PHPSQLParser')) {
$methods = get_class_methods( 'PHPSQLParser');
$this->assertTrue( in_array( 'count_backtick', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PHPSQLParser::split_sql
* @todo Implement testsplit_sql().
*/
public function testsplit_sql()
{
if (class_exists('PHPSQLParser')) {
$methods = get_class_methods( 'PHPSQLParser');
$this->assertTrue( in_array( 'split_sql', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PHPSQLParser::process_sql
* @todo Implement testprocess_sql().
*/
public function testprocess_sql()
{
if (class_exists('PHPSQLParser')) {
$methods = get_class_methods( 'PHPSQLParser');
$this->assertTrue( in_array( 'process_sql', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PHPSQLParser::process_set_list
* @todo Implement testprocess_set_list().
*/
public function testprocess_set_list()
{
if (class_exists('PHPSQLParser')) {
$methods = get_class_methods( 'PHPSQLParser');
$this->assertTrue( in_array( 'process_set_list', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PHPSQLParser::process_limit
* @todo Implement testprocess_limit().
*/
public function testprocess_limit()
{
if (class_exists('PHPSQLParser')) {
$methods = get_class_methods( 'PHPSQLParser');
$this->assertTrue( in_array( 'process_limit', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PHPSQLParser::process_select
* @todo Implement testprocess_select().
*/
public function testprocess_select()
{
if (class_exists('PHPSQLParser')) {
$methods = get_class_methods( 'PHPSQLParser');
$this->assertTrue( in_array( 'process_select', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PHPSQLParser::process_select_expr
* @todo Implement testprocess_select_expr().
*/
public function testprocess_select_expr()
{
if (class_exists('PHPSQLParser')) {
$methods = get_class_methods( 'PHPSQLParser');
$this->assertTrue( in_array( 'process_select_expr', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PHPSQLParser::process_from
* @todo Implement testprocess_from().
*/
public function testprocess_from()
{
if (class_exists('PHPSQLParser')) {
$methods = get_class_methods( 'PHPSQLParser');
$this->assertTrue( in_array( 'process_from', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PHPSQLParser::process_group
* @todo Implement testprocess_group().
*/
public function testprocess_group()
{
if (class_exists('PHPSQLParser')) {
$methods = get_class_methods( 'PHPSQLParser');
$this->assertTrue( in_array( 'process_group', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PHPSQLParser::process_expr_list
* @todo Implement testprocess_expr_list().
*/
public function testprocess_expr_list()
{
if (class_exists('PHPSQLParser')) {
$methods = get_class_methods( 'PHPSQLParser');
$this->assertTrue( in_array( 'process_expr_list', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PHPSQLParser::process_update
* @todo Implement testprocess_update().
*/
public function testprocess_update()
{
if (class_exists('PHPSQLParser')) {
$methods = get_class_methods( 'PHPSQLParser');
$this->assertTrue( in_array( 'process_update', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PHPSQLParser::process_delete
* @todo Implement testprocess_delete().
*/
public function testprocess_delete()
{
if (class_exists('PHPSQLParser')) {
$methods = get_class_methods( 'PHPSQLParser');
$this->assertTrue( in_array( 'process_delete', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PHPSQLParser::process_insert
* @todo Implement testprocess_insert().
*/
public function testprocess_insert()
{
if (class_exists('PHPSQLParser')) {
$methods = get_class_methods( 'PHPSQLParser');
$this->assertTrue( in_array( 'process_insert', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PHPSQLParser::load_reserved_words
* @todo Implement testload_reserved_words().
*/
public function testload_reserved_words()
{
if (class_exists('PHPSQLParser')) {
$methods = get_class_methods( 'PHPSQLParser');
$this->assertTrue( in_array( 'load_reserved_words', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,37 @@
<?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.pmException.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:56.
*/
class classPMExceptionTest extends PHPUnit_Framework_TestCase
{
/**
* @covers PMException::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('PMException')) {
$methods = get_class_methods( 'PMException');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMException::__toString
* @todo Implement test__toString().
*/
public function test__toString()
{
if (class_exists('PMException')) {
$methods = get_class_methods( 'PMException');
$this->assertTrue( in_array( '__toString', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,25 @@
<?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.soapNtlm.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:55.
*/
class classPMServiceNTLMSoapClientTest extends PHPUnit_Framework_TestCase
{
/**
* @covers PMServiceNTLMSoapClient::setAuthClient
* @todo Implement testsetAuthClient().
*/
public function testsetAuthClient()
{
if (class_exists('PMServiceNTLMSoapClient')) {
$methods = get_class_methods( 'PMServiceNTLMSoapClient');
$this->assertTrue( in_array( 'setAuthClient', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,49 @@
<?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.soapNtlm.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:55.
*/
class classPMServiceProviderNTLMStreamTest extends PHPUnit_Framework_TestCase
{
/**
* @covers PMServiceProviderNTLMStream::getuser
* @todo Implement testgetuser().
*/
public function testgetuser()
{
if (class_exists('PMServiceProviderNTLMStream')) {
$methods = get_class_methods( 'PMServiceProviderNTLMStream');
$this->assertTrue( in_array( 'getuser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMServiceProviderNTLMStream::getpassword
* @todo Implement testgetpassword().
*/
public function testgetpassword()
{
if (class_exists('PMServiceProviderNTLMStream')) {
$methods = get_class_methods( 'PMServiceProviderNTLMStream');
$this->assertTrue( in_array( 'getpassword', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMServiceProviderNTLMStream::setAuthStream
* @todo Implement testsetAuthStream().
*/
public function testsetAuthStream()
{
if (class_exists('PMServiceProviderNTLMStream')) {
$methods = get_class_methods( 'PMServiceProviderNTLMStream');
$this->assertTrue( in_array( 'setAuthStream', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,49 @@
<?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.publisher.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:54.
*/
class classPublisherTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Publisher::AddContent
* @todo Implement testAddContent().
*/
public function testAddContent()
{
if (class_exists('Publisher')) {
$methods = get_class_methods( 'Publisher');
$this->assertTrue( in_array( 'AddContent', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Publisher::RenderContent
* @todo Implement testRenderContent().
*/
public function testRenderContent()
{
if (class_exists('Publisher')) {
$methods = get_class_methods( 'Publisher');
$this->assertTrue( in_array( 'RenderContent', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Publisher::RenderContent0
* @todo Implement testRenderContent0().
*/
public function testRenderContent0()
{
if (class_exists('Publisher')) {
$methods = get_class_methods( 'Publisher');
$this->assertTrue( in_array( 'RenderContent0', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,685 @@
<?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.rbac.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:55.
*/
class classRBACTest extends PHPUnit_Framework_TestCase
{
/**
* @covers RBAC::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::getSingleton
* @todo Implement testgetSingleton().
*/
public function testgetSingleton()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'getSingleton', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::initRBAC
* @todo Implement testinitRBAC().
*/
public function testinitRBAC()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'initRBAC', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::loadUserRolePermission
* @todo Implement testloadUserRolePermission().
*/
public function testloadUserRolePermission()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'loadUserRolePermission', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::checkAutomaticRegister
* @todo Implement testcheckAutomaticRegister().
*/
public function testcheckAutomaticRegister()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'checkAutomaticRegister', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::VerifyWithOtherAuthenticationSource
* @todo Implement testVerifyWithOtherAuthenticationSource().
*/
public function testVerifyWithOtherAuthenticationSource()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'VerifyWithOtherAuthenticationSource', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::VerifyLogin
* @todo Implement testVerifyLogin().
*/
public function testVerifyLogin()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'VerifyLogin', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::verifyUser
* @todo Implement testverifyUser().
*/
public function testverifyUser()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'verifyUser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::verifyUserId
* @todo Implement testverifyUserId().
*/
public function testverifyUserId()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'verifyUserId', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::userCanAccess
* @todo Implement testuserCanAccess().
*/
public function testuserCanAccess()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'userCanAccess', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::createUser
* @todo Implement testcreateUser().
*/
public function testcreateUser()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'createUser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::updateUser
* @todo Implement testupdateUser().
*/
public function testupdateUser()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'updateUser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::assignRoleToUser
* @todo Implement testassignRoleToUser().
*/
public function testassignRoleToUser()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'assignRoleToUser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::removeRolesFromUser
* @todo Implement testremoveRolesFromUser().
*/
public function testremoveRolesFromUser()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'removeRolesFromUser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::changeUserStatus
* @todo Implement testchangeUserStatus().
*/
public function testchangeUserStatus()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'changeUserStatus', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::removeUser
* @todo Implement testremoveUser().
*/
public function testremoveUser()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'removeUser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::load
* @todo Implement testload().
*/
public function testload()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'load', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::createPermision
* @todo Implement testcreatePermision().
*/
public function testcreatePermision()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'createPermision', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::listAllRoles
* @todo Implement testlistAllRoles().
*/
public function testlistAllRoles()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'listAllRoles', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::getAllRoles
* @todo Implement testgetAllRoles().
*/
public function testgetAllRoles()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'getAllRoles', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::getAllRolesFilter
* @todo Implement testgetAllRolesFilter().
*/
public function testgetAllRolesFilter()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'getAllRolesFilter', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::listAllPermissions
* @todo Implement testlistAllPermissions().
*/
public function testlistAllPermissions()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'listAllPermissions', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::createRole
* @todo Implement testcreateRole().
*/
public function testcreateRole()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'createRole', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::removeRole
* @todo Implement testremoveRole().
*/
public function testremoveRole()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'removeRole', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::verifyNewRole
* @todo Implement testverifyNewRole().
*/
public function testverifyNewRole()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'verifyNewRole', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::updateRole
* @todo Implement testupdateRole().
*/
public function testupdateRole()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'updateRole', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::loadById
* @todo Implement testloadById().
*/
public function testloadById()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'loadById', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::getRoleUsers
* @todo Implement testgetRoleUsers().
*/
public function testgetRoleUsers()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'getRoleUsers', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::getAllUsersByRole
* @todo Implement testgetAllUsersByRole().
*/
public function testgetAllUsersByRole()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'getAllUsersByRole', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::getAllUsersByDepartment
* @todo Implement testgetAllUsersByDepartment().
*/
public function testgetAllUsersByDepartment()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'getAllUsersByDepartment', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::getRoleCode
* @todo Implement testgetRoleCode().
*/
public function testgetRoleCode()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'getRoleCode', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::deleteUserRole
* @todo Implement testdeleteUserRole().
*/
public function testdeleteUserRole()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'deleteUserRole', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::getAllUsers
* @todo Implement testgetAllUsers().
*/
public function testgetAllUsers()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'getAllUsers', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::assignUserToRole
* @todo Implement testassignUserToRole().
*/
public function testassignUserToRole()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'assignUserToRole', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::getRolePermissions
* @todo Implement testgetRolePermissions().
*/
public function testgetRolePermissions()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'getRolePermissions', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::getAllPermissions
* @todo Implement testgetAllPermissions().
*/
public function testgetAllPermissions()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'getAllPermissions', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::assignPermissionRole
* @todo Implement testassignPermissionRole().
*/
public function testassignPermissionRole()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'assignPermissionRole', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::assignPermissionToRole
* @todo Implement testassignPermissionToRole().
*/
public function testassignPermissionToRole()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'assignPermissionToRole', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::deletePermissionRole
* @todo Implement testdeletePermissionRole().
*/
public function testdeletePermissionRole()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'deletePermissionRole', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::numUsersWithRole
* @todo Implement testnumUsersWithRole().
*/
public function testnumUsersWithRole()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'numUsersWithRole', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::createSystem
* @todo Implement testcreateSystem().
*/
public function testcreateSystem()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'createSystem', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::verifyByCode
* @todo Implement testverifyByCode().
*/
public function testverifyByCode()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'verifyByCode', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::getAllAuthSources
* @todo Implement testgetAllAuthSources().
*/
public function testgetAllAuthSources()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'getAllAuthSources', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::getAllAuthSourcesByUser
* @todo Implement testgetAllAuthSourcesByUser().
*/
public function testgetAllAuthSourcesByUser()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'getAllAuthSourcesByUser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::getAuthenticationSources
* @todo Implement testgetAuthenticationSources().
*/
public function testgetAuthenticationSources()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'getAuthenticationSources', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::getAuthSource
* @todo Implement testgetAuthSource().
*/
public function testgetAuthSource()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'getAuthSource', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::createAuthSource
* @todo Implement testcreateAuthSource().
*/
public function testcreateAuthSource()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'createAuthSource', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::updateAuthSource
* @todo Implement testupdateAuthSource().
*/
public function testupdateAuthSource()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'updateAuthSource', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::removeAuthSource
* @todo Implement testremoveAuthSource().
*/
public function testremoveAuthSource()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'removeAuthSource', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::getAllUsersByAuthSource
* @todo Implement testgetAllUsersByAuthSource().
*/
public function testgetAllUsersByAuthSource()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'getAllUsersByAuthSource', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::getListUsersByAuthSource
* @todo Implement testgetListUsersByAuthSource().
*/
public function testgetListUsersByAuthSource()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'getListUsersByAuthSource', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::searchUsers
* @todo Implement testsearchUsers().
*/
public function testsearchUsers()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'searchUsers', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::requirePermissions
* @todo Implement testrequirePermissions().
*/
public function testrequirePermissions()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'requirePermissions', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::getAllFiles
* @todo Implement testgetAllFiles().
*/
public function testgetAllFiles()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'getAllFiles', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::getFilesTimestamp
* @todo Implement testgetFilesTimestamp().
*/
public function testgetFilesTimestamp()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'getFilesTimestamp', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RBAC::cleanSessionFiles
* @todo Implement testcleanSessionFiles().
*/
public function testcleanSessionFiles()
{
if (class_exists('RBAC')) {
$methods = get_class_methods( 'RBAC');
$this->assertTrue( in_array( 'cleanSessionFiles', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,277 @@
<?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.restClient.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:55.
*/
class classRestClientTest extends PHPUnit_Framework_TestCase
{
/**
* @covers RestClient::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('RestClient')) {
$methods = get_class_methods( 'RestClient');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RestClient::execute
* @todo Implement testexecute().
*/
public function testexecute()
{
if (class_exists('RestClient')) {
$methods = get_class_methods( 'RestClient');
$this->assertTrue( in_array( 'execute', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RestClient::treatURL
* @todo Implement testtreatURL().
*/
public function testtreatURL()
{
if (class_exists('RestClient')) {
$methods = get_class_methods( 'RestClient');
$this->assertTrue( in_array( 'treatURL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RestClient::treatResponse
* @todo Implement testtreatResponse().
*/
public function testtreatResponse()
{
if (class_exists('RestClient')) {
$methods = get_class_methods( 'RestClient');
$this->assertTrue( in_array( 'treatResponse', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RestClient::getHeaders
* @todo Implement testgetHeaders().
*/
public function testgetHeaders()
{
if (class_exists('RestClient')) {
$methods = get_class_methods( 'RestClient');
$this->assertTrue( in_array( 'getHeaders', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RestClient::getResponse
* @todo Implement testgetResponse().
*/
public function testgetResponse()
{
if (class_exists('RestClient')) {
$methods = get_class_methods( 'RestClient');
$this->assertTrue( in_array( 'getResponse', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RestClient::getResponseCode
* @todo Implement testgetResponseCode().
*/
public function testgetResponseCode()
{
if (class_exists('RestClient')) {
$methods = get_class_methods( 'RestClient');
$this->assertTrue( in_array( 'getResponseCode', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RestClient::getResponseMessage
* @todo Implement testgetResponseMessage().
*/
public function testgetResponseMessage()
{
if (class_exists('RestClient')) {
$methods = get_class_methods( 'RestClient');
$this->assertTrue( in_array( 'getResponseMessage', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RestClient::getResponseContentType
* @todo Implement testgetResponseContentType().
*/
public function testgetResponseContentType()
{
if (class_exists('RestClient')) {
$methods = get_class_methods( 'RestClient');
$this->assertTrue( in_array( 'getResponseContentType', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RestClient::setNoFollow
* @todo Implement testsetNoFollow().
*/
public function testsetNoFollow()
{
if (class_exists('RestClient')) {
$methods = get_class_methods( 'RestClient');
$this->assertTrue( in_array( 'setNoFollow', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RestClient::close
* @todo Implement testclose().
*/
public function testclose()
{
if (class_exists('RestClient')) {
$methods = get_class_methods( 'RestClient');
$this->assertTrue( in_array( 'close', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RestClient::setUrl
* @todo Implement testsetUrl().
*/
public function testsetUrl()
{
if (class_exists('RestClient')) {
$methods = get_class_methods( 'RestClient');
$this->assertTrue( in_array( 'setUrl', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RestClient::setContentType
* @todo Implement testsetContentType().
*/
public function testsetContentType()
{
if (class_exists('RestClient')) {
$methods = get_class_methods( 'RestClient');
$this->assertTrue( in_array( 'setContentType', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RestClient::setCredentials
* @todo Implement testsetCredentials().
*/
public function testsetCredentials()
{
if (class_exists('RestClient')) {
$methods = get_class_methods( 'RestClient');
$this->assertTrue( in_array( 'setCredentials', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RestClient::setMethod
* @todo Implement testsetMethod().
*/
public function testsetMethod()
{
if (class_exists('RestClient')) {
$methods = get_class_methods( 'RestClient');
$this->assertTrue( in_array( 'setMethod', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RestClient::setParameters
* @todo Implement testsetParameters().
*/
public function testsetParameters()
{
if (class_exists('RestClient')) {
$methods = get_class_methods( 'RestClient');
$this->assertTrue( in_array( 'setParameters', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RestClient::createClient
* @todo Implement testcreateClient().
*/
public function testcreateClient()
{
if (class_exists('RestClient')) {
$methods = get_class_methods( 'RestClient');
$this->assertTrue( in_array( 'createClient', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RestClient::post
* @todo Implement testpost().
*/
public function testpost()
{
if (class_exists('RestClient')) {
$methods = get_class_methods( 'RestClient');
$this->assertTrue( in_array( 'post', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RestClient::put
* @todo Implement testput().
*/
public function testput()
{
if (class_exists('RestClient')) {
$methods = get_class_methods( 'RestClient');
$this->assertTrue( in_array( 'put', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RestClient::get
* @todo Implement testget().
*/
public function testget()
{
if (class_exists('RestClient')) {
$methods = get_class_methods( 'RestClient');
$this->assertTrue( in_array( 'get', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RestClient::delete
* @todo Implement testdelete().
*/
public function testdelete()
{
if (class_exists('RestClient')) {
$methods = get_class_methods( 'RestClient');
$this->assertTrue( in_array( 'delete', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers RestClient::call
* @todo Implement testcall().
*/
public function testcall()
{
if (class_exists('RestClient')) {
$methods = get_class_methods( 'RestClient');
$this->assertTrue( in_array( 'call', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,289 @@
<?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.table.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:58.
*/
class classTableTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Table::Table
* @todo Implement testTable().
*/
public function testTable()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'Table', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Table::SetTo
* @todo Implement testSetTo().
*/
public function testSetTo()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'SetTo', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Table::SetSource
* @todo Implement testSetSource().
*/
public function testSetSource()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'SetSource', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Table::GetSource
* @todo Implement testGetSource().
*/
public function testGetSource()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'GetSource', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Table::TotalCount
* @todo Implement testTotalCount().
*/
public function testTotalCount()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'TotalCount', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Table::Count
* @todo Implement testCount().
*/
public function testCount()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'Count', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Table::CurRow
* @todo Implement testCurRow().
*/
public function testCurRow()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'CurRow', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Table::ColumnCount
* @todo Implement testColumnCount().
*/
public function testColumnCount()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'ColumnCount', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Table::Read
* @todo Implement testRead().
*/
public function testRead()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'Read', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Table::Seek
* @todo Implement testSeek().
*/
public function testSeek()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'Seek', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Table::MoveFirst
* @todo Implement testMoveFirst().
*/
public function testMoveFirst()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'MoveFirst', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Table::EOF
* @todo Implement testEOF().
*/
public function testEOF()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'EOF', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Table::AddColumn
* @todo Implement testAddColumn().
*/
public function testAddColumn()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'AddColumn', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Table::AddRawColumn
* @todo Implement testAddRawColumn().
*/
public function testAddRawColumn()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'AddRawColumn', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Table::RenderTitle
* @todo Implement testRenderTitle().
*/
public function testRenderTitle()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'RenderTitle', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Table::RenderTitle_ajax
* @todo Implement testRenderTitle_ajax().
*/
public function testRenderTitle_ajax()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'RenderTitle_ajax', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Table::RenderTitle2
* @todo Implement testRenderTitle2().
*/
public function testRenderTitle2()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'RenderTitle2', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Table::RenderColumn
* @todo Implement testRenderColumn().
*/
public function testRenderColumn()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'RenderColumn', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Table::SetAction
* @todo Implement testSetAction().
*/
public function testSetAction()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'SetAction', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Table::setTranslate
* @todo Implement testsetTranslate().
*/
public function testsetTranslate()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'setTranslate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Table::translateValue
* @todo Implement testtranslateValue().
*/
public function testtranslateValue()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'translateValue', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Table::setContext
* @todo Implement testsetContext().
*/
public function testsetContext()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'setContext', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Table::ParsingFromHtml
* @todo Implement testParsingFromHtml().
*/
public function testParsingFromHtml()
{
if (class_exists('Table')) {
$methods = get_class_methods( 'Table');
$this->assertTrue( in_array( 'ParsingFromHtml', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,109 @@
<?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.templatePower.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:56.
*/
class classTemplatePowerParserTest extends PHPUnit_Framework_TestCase
{
/**
* @covers TemplatePowerParser::TemplatePowerParser
* @todo Implement testTemplatePowerParser().
*/
public function testTemplatePowerParser()
{
if (class_exists('TemplatePowerParser')) {
$methods = get_class_methods( 'TemplatePowerParser');
$this->assertTrue( in_array( 'TemplatePowerParser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePowerParser::__errorAlert
* @todo Implement test__errorAlert().
*/
public function test__errorAlert()
{
if (class_exists('TemplatePowerParser')) {
$methods = get_class_methods( 'TemplatePowerParser');
$this->assertTrue( in_array( '__errorAlert', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePowerParser::__prepare
* @todo Implement test__prepare().
*/
public function test__prepare()
{
if (class_exists('TemplatePowerParser')) {
$methods = get_class_methods( 'TemplatePowerParser');
$this->assertTrue( in_array( '__prepare', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePowerParser::__cleanUp
* @todo Implement test__cleanUp().
*/
public function test__cleanUp()
{
if (class_exists('TemplatePowerParser')) {
$methods = get_class_methods( 'TemplatePowerParser');
$this->assertTrue( in_array( '__cleanUp', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePowerParser::__prepareTemplate
* @todo Implement test__prepareTemplate().
*/
public function test__prepareTemplate()
{
if (class_exists('TemplatePowerParser')) {
$methods = get_class_methods( 'TemplatePowerParser');
$this->assertTrue( in_array( '__prepareTemplate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePowerParser::__parseTemplate
* @todo Implement test__parseTemplate().
*/
public function test__parseTemplate()
{
if (class_exists('TemplatePowerParser')) {
$methods = get_class_methods( 'TemplatePowerParser');
$this->assertTrue( in_array( '__parseTemplate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePowerParser::version
* @todo Implement testversion().
*/
public function testversion()
{
if (class_exists('TemplatePowerParser')) {
$methods = get_class_methods( 'TemplatePowerParser');
$this->assertTrue( in_array( 'version', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePowerParser::assignInclude
* @todo Implement testassignInclude().
*/
public function testassignInclude()
{
if (class_exists('TemplatePowerParser')) {
$methods = get_class_methods( 'TemplatePowerParser');
$this->assertTrue( in_array( 'assignInclude', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,217 @@
<?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.templatePower.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:56.
*/
class classTemplatePowerTest extends PHPUnit_Framework_TestCase
{
/**
* @covers TemplatePower::TemplatePower
* @todo Implement testTemplatePower().
*/
public function testTemplatePower()
{
if (class_exists('TemplatePower')) {
$methods = get_class_methods( 'TemplatePower');
$this->assertTrue( in_array( 'TemplatePower', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePower::__deSerializeTPL
* @todo Implement test__deSerializeTPL().
*/
public function test__deSerializeTPL()
{
if (class_exists('TemplatePower')) {
$methods = get_class_methods( 'TemplatePower');
$this->assertTrue( in_array( '__deSerializeTPL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePower::__makeContentRoot
* @todo Implement test__makeContentRoot().
*/
public function test__makeContentRoot()
{
if (class_exists('TemplatePower')) {
$methods = get_class_methods( 'TemplatePower');
$this->assertTrue( in_array( '__makeContentRoot', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePower::__assign
* @todo Implement test__assign().
*/
public function test__assign()
{
if (class_exists('TemplatePower')) {
$methods = get_class_methods( 'TemplatePower');
$this->assertTrue( in_array( '__assign', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePower::__assignGlobal
* @todo Implement test__assignGlobal().
*/
public function test__assignGlobal()
{
if (class_exists('TemplatePower')) {
$methods = get_class_methods( 'TemplatePower');
$this->assertTrue( in_array( '__assignGlobal', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePower::__outputContent
* @todo Implement test__outputContent().
*/
public function test__outputContent()
{
if (class_exists('TemplatePower')) {
$methods = get_class_methods( 'TemplatePower');
$this->assertTrue( in_array( '__outputContent', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePower::__printVars
* @todo Implement test__printVars().
*/
public function test__printVars()
{
if (class_exists('TemplatePower')) {
$methods = get_class_methods( 'TemplatePower');
$this->assertTrue( in_array( '__printVars', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePower::serializedBase
* @todo Implement testserializedBase().
*/
public function testserializedBase()
{
if (class_exists('TemplatePower')) {
$methods = get_class_methods( 'TemplatePower');
$this->assertTrue( in_array( 'serializedBase', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePower::showUnAssigned
* @todo Implement testshowUnAssigned().
*/
public function testshowUnAssigned()
{
if (class_exists('TemplatePower')) {
$methods = get_class_methods( 'TemplatePower');
$this->assertTrue( in_array( 'showUnAssigned', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePower::prepare
* @todo Implement testprepare().
*/
public function testprepare()
{
if (class_exists('TemplatePower')) {
$methods = get_class_methods( 'TemplatePower');
$this->assertTrue( in_array( 'prepare', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePower::newBlock
* @todo Implement testnewBlock().
*/
public function testnewBlock()
{
if (class_exists('TemplatePower')) {
$methods = get_class_methods( 'TemplatePower');
$this->assertTrue( in_array( 'newBlock', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePower::assignGlobal
* @todo Implement testassignGlobal().
*/
public function testassignGlobal()
{
if (class_exists('TemplatePower')) {
$methods = get_class_methods( 'TemplatePower');
$this->assertTrue( in_array( 'assignGlobal', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePower::assign
* @todo Implement testassign().
*/
public function testassign()
{
if (class_exists('TemplatePower')) {
$methods = get_class_methods( 'TemplatePower');
$this->assertTrue( in_array( 'assign', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePower::gotoBlock
* @todo Implement testgotoBlock().
*/
public function testgotoBlock()
{
if (class_exists('TemplatePower')) {
$methods = get_class_methods( 'TemplatePower');
$this->assertTrue( in_array( 'gotoBlock', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePower::getVarValue
* @todo Implement testgetVarValue().
*/
public function testgetVarValue()
{
if (class_exists('TemplatePower')) {
$methods = get_class_methods( 'TemplatePower');
$this->assertTrue( in_array( 'getVarValue', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePower::printToScreen
* @todo Implement testprintToScreen().
*/
public function testprintToScreen()
{
if (class_exists('TemplatePower')) {
$methods = get_class_methods( 'TemplatePower');
$this->assertTrue( in_array( 'printToScreen', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers TemplatePower::getOutputContent
* @todo Implement testgetOutputContent().
*/
public function testgetOutputContent()
{
if (class_exists('TemplatePower')) {
$methods = get_class_methods( 'TemplatePower');
$this->assertTrue( in_array( 'getOutputContent', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,85 @@
<?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.tree.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:56.
*/
class classTreeTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Tree::Tree
* @todo Implement testTree().
*/
public function testTree()
{
if (class_exists('Tree')) {
$methods = get_class_methods( 'Tree');
$this->assertTrue( in_array( 'Tree', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tree::addChild
* @todo Implement testaddChild().
*/
public function testaddChild()
{
if (class_exists('Tree')) {
$methods = get_class_methods( 'Tree');
$this->assertTrue( in_array( 'addChild', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tree::printPlus
* @todo Implement testprintPlus().
*/
public function testprintPlus()
{
if (class_exists('Tree')) {
$methods = get_class_methods( 'Tree');
$this->assertTrue( in_array( 'printPlus', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tree::printLabel
* @todo Implement testprintLabel().
*/
public function testprintLabel()
{
if (class_exists('Tree')) {
$methods = get_class_methods( 'Tree');
$this->assertTrue( in_array( 'printLabel', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tree::printContent
* @todo Implement testprintContent().
*/
public function testprintContent()
{
if (class_exists('Tree')) {
$methods = get_class_methods( 'Tree');
$this->assertTrue( in_array( 'printContent', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tree::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('Tree')) {
$methods = get_class_methods( 'Tree');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,61 @@
<?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.webResource.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:55.
*/
class classWebResourceTest extends PHPUnit_Framework_TestCase
{
/**
* @covers WebResource::WebResource
* @todo Implement testWebResource().
*/
public function testWebResource()
{
if (class_exists('WebResource')) {
$methods = get_class_methods( 'WebResource');
$this->assertTrue( in_array( 'WebResource', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers WebResource::_encode
* @todo Implement test_encode().
*/
public function test_encode()
{
if (class_exists('WebResource')) {
$methods = get_class_methods( 'WebResource');
$this->assertTrue( in_array( '_encode', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers WebResource::json_encode
* @todo Implement testjson_encode().
*/
public function testjson_encode()
{
if (class_exists('WebResource')) {
$methods = get_class_methods( 'WebResource');
$this->assertTrue( in_array( 'json_encode', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers WebResource::json_decode
* @todo Implement testjson_decode().
*/
public function testjson_decode()
{
if (class_exists('WebResource')) {
$methods = get_class_methods( 'WebResource');
$this->assertTrue( in_array( 'json_decode', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,61 @@
<?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 classXmlFormTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm::parseFile
* @todo Implement testparseFile().
*/
public function testparseFile()
{
if (class_exists('XmlForm')) {
$methods = get_class_methods( 'XmlForm');
$this->assertTrue( in_array( 'parseFile', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm::setValues
* @todo Implement testsetValues().
*/
public function testsetValues()
{
if (class_exists('XmlForm')) {
$methods = get_class_methods( 'XmlForm');
$this->assertTrue( in_array( 'setValues', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm')) {
$methods = get_class_methods( 'XmlForm');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm::cloneObject
* @todo Implement testcloneObject().
*/
public function testcloneObject()
{
if (class_exists('XmlForm')) {
$methods = get_class_methods( 'XmlForm');
$this->assertTrue( in_array( 'cloneObject', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,325 @@
<?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:56.
*/
class classXmlForm_FieldTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field::XmlForm_Field
* @todo Implement testXmlForm_Field().
*/
public function testXmlForm_Field()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'XmlForm_Field', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::validateValue
* @todo Implement testvalidateValue().
*/
public function testvalidateValue()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'validateValue', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::executeXmlDB
* @todo Implement testexecuteXmlDB().
*/
public function testexecuteXmlDB()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'executeXmlDB', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::executePropel
* @todo Implement testexecutePropel().
*/
public function testexecutePropel()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'executePropel', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::executeSQL
* @todo Implement testexecuteSQL().
*/
public function testexecuteSQL()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'executeSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::htmlentities
* @todo Implement testhtmlentities().
*/
public function testhtmlentities()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'htmlentities', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::renderTable
* @todo Implement testrenderTable().
*/
public function testrenderTable()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'renderTable', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::dependentOf
* @todo Implement testdependentOf().
*/
public function testdependentOf()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'dependentOf', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::mask
* @todo Implement testmask().
*/
public function testmask()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'mask', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::getAttributes
* @todo Implement testgetAttributes().
*/
public function testgetAttributes()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'getAttributes', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::getEvents
* @todo Implement testgetEvents().
*/
public function testgetEvents()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'getEvents', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::attachEvents
* @todo Implement testattachEvents().
*/
public function testattachEvents()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'attachEvents', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::createXmlNode
* @todo Implement testcreateXmlNode().
*/
public function testcreateXmlNode()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'createXmlNode', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::updateXmlNode
* @todo Implement testupdateXmlNode().
*/
public function testupdateXmlNode()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'updateXmlNode', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::getXmlAttributes
* @todo Implement testgetXmlAttributes().
*/
public function testgetXmlAttributes()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'getXmlAttributes', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::maskValue
* @todo Implement testmaskValue().
*/
public function testmaskValue()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'maskValue', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::cloneObject
* @todo Implement testcloneObject().
*/
public function testcloneObject()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'cloneObject', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::getPMTableValue
* @todo Implement testgetPMTableValue().
*/
public function testgetPMTableValue()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'getPMTableValue', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::NSRequiredValue
* @todo Implement testNSRequiredValue().
*/
public function testNSRequiredValue()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'NSRequiredValue', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::NSGridLabel
* @todo Implement testNSGridLabel().
*/
public function testNSGridLabel()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'NSGridLabel', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::NSDefaultValue
* @todo Implement testNSDefaultValue().
*/
public function testNSDefaultValue()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'NSDefaultValue', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::NSGridType
* @todo Implement testNSGridType().
*/
public function testNSGridType()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'NSGridType', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::NSDependentFields
* @todo Implement testNSDependentFields().
*/
public function testNSDependentFields()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'NSDependentFields', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field::renderHint
* @todo Implement testrenderHint().
*/
public function testrenderHint()
{
if (class_exists('XmlForm_Field')) {
$methods = get_class_methods( 'XmlForm_Field');
$this->assertTrue( in_array( 'renderHint', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,25 @@
<?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_ButtonTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Button::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Button')) {
$methods = get_class_methods( 'XmlForm_Field_Button');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,25 @@
<?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_CaptionCurrencyTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_CaptionCurrency::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_CaptionCurrency')) {
$methods = get_class_methods( 'XmlForm_Field_CaptionCurrency');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,25 @@
<?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_CaptionPercentageTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_CaptionPercentage::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_CaptionPercentage')) {
$methods = get_class_methods( 'XmlForm_Field_CaptionPercentage');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,37 @@
<?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:56.
*/
class classXmlForm_Field_CaptionTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Caption::validateValue
* @todo Implement testvalidateValue().
*/
public function testvalidateValue()
{
if (class_exists('XmlForm_Field_Caption')) {
$methods = get_class_methods( 'XmlForm_Field_Caption');
$this->assertTrue( in_array( 'validateValue', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Caption::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Caption')) {
$methods = get_class_methods( 'XmlForm_Field_Caption');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,25 @@
<?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_CheckGroupTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_CheckGroup::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_CheckGroup')) {
$methods = get_class_methods( 'XmlForm_Field_CheckGroup');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,25 @@
<?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_CheckGroupViewTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_CheckGroupView::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_CheckGroupView')) {
$methods = get_class_methods( 'XmlForm_Field_CheckGroupView');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,25 @@
<?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_Checkbox2Test extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Checkbox2::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Checkbox2')) {
$methods = get_class_methods( 'XmlForm_Field_Checkbox2');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,49 @@
<?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_CheckboxTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Checkbox::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Checkbox')) {
$methods = get_class_methods( 'XmlForm_Field_Checkbox');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Checkbox::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field_Checkbox')) {
$methods = get_class_methods( 'XmlForm_Field_Checkbox');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Checkbox::maskValue
* @todo Implement testmaskValue().
*/
public function testmaskValue()
{
if (class_exists('XmlForm_Field_Checkbox')) {
$methods = get_class_methods( 'XmlForm_Field_Checkbox');
$this->assertTrue( in_array( 'maskValue', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,49 @@
<?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_CheckboxptTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Checkboxpt::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Checkboxpt')) {
$methods = get_class_methods( 'XmlForm_Field_Checkboxpt');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Checkboxpt::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field_Checkboxpt')) {
$methods = get_class_methods( 'XmlForm_Field_Checkboxpt');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Checkboxpt::maskValue
* @todo Implement testmaskValue().
*/
public function testmaskValue()
{
if (class_exists('XmlForm_Field_Checkboxpt')) {
$methods = get_class_methods( 'XmlForm_Field_Checkboxpt');
$this->assertTrue( in_array( 'maskValue', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,37 @@
<?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:56.
*/
class classXmlForm_Field_CurrencyTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Currency::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Currency')) {
$methods = get_class_methods( 'XmlForm_Field_Currency');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Currency::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field_Currency')) {
$methods = get_class_methods( 'XmlForm_Field_Currency');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,37 @@
<?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.xmlformExtension.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:58.
*/
class classXmlForm_Field_DVEditorTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_DVEditor::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_DVEditor')) {
$methods = get_class_methods( 'XmlForm_Field_DVEditor');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_DVEditor::attachEvents
* @todo Implement testattachEvents().
*/
public function testattachEvents()
{
if (class_exists('XmlForm_Field_DVEditor')) {
$methods = get_class_methods( 'XmlForm_Field_DVEditor');
$this->assertTrue( in_array( 'attachEvents', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,73 @@
<?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_Date2Test extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Date2::verifyDateFormat
* @todo Implement testverifyDateFormat().
*/
public function testverifyDateFormat()
{
if (class_exists('XmlForm_Field_Date2')) {
$methods = get_class_methods( 'XmlForm_Field_Date2');
$this->assertTrue( in_array( 'verifyDateFormat', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Date2::isvalidBeforeFormat
* @todo Implement testisvalidBeforeFormat().
*/
public function testisvalidBeforeFormat()
{
if (class_exists('XmlForm_Field_Date2')) {
$methods = get_class_methods( 'XmlForm_Field_Date2');
$this->assertTrue( in_array( 'isvalidBeforeFormat', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Date2::calculateBeforeFormat
* @todo Implement testcalculateBeforeFormat().
*/
public function testcalculateBeforeFormat()
{
if (class_exists('XmlForm_Field_Date2')) {
$methods = get_class_methods( 'XmlForm_Field_Date2');
$this->assertTrue( in_array( 'calculateBeforeFormat', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Date2::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Date2')) {
$methods = get_class_methods( 'XmlForm_Field_Date2');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Date2::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field_Date2')) {
$methods = get_class_methods( 'XmlForm_Field_Date2');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,97 @@
<?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_Date5Test extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Date5::verifyDateFormat
* @todo Implement testverifyDateFormat().
*/
public function testverifyDateFormat()
{
if (class_exists('XmlForm_Field_Date5')) {
$methods = get_class_methods( 'XmlForm_Field_Date5');
$this->assertTrue( in_array( 'verifyDateFormat', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Date5::isvalidBeforeFormat
* @todo Implement testisvalidBeforeFormat().
*/
public function testisvalidBeforeFormat()
{
if (class_exists('XmlForm_Field_Date5')) {
$methods = get_class_methods( 'XmlForm_Field_Date5');
$this->assertTrue( in_array( 'isvalidBeforeFormat', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Date5::calculateBeforeFormat
* @todo Implement testcalculateBeforeFormat().
*/
public function testcalculateBeforeFormat()
{
if (class_exists('XmlForm_Field_Date5')) {
$methods = get_class_methods( 'XmlForm_Field_Date5');
$this->assertTrue( in_array( 'calculateBeforeFormat', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Date5::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Date5')) {
$methods = get_class_methods( 'XmlForm_Field_Date5');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Date5::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field_Date5')) {
$methods = get_class_methods( 'XmlForm_Field_Date5');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Date5::__draw_widget
* @todo Implement test__draw_widget().
*/
public function test__draw_widget()
{
if (class_exists('XmlForm_Field_Date5')) {
$methods = get_class_methods( 'XmlForm_Field_Date5');
$this->assertTrue( in_array( '__draw_widget', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Date5::getSplitDate
* @todo Implement testgetSplitDate().
*/
public function testgetSplitDate()
{
if (class_exists('XmlForm_Field_Date5')) {
$methods = get_class_methods( 'XmlForm_Field_Date5');
$this->assertTrue( in_array( 'getSplitDate', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,85 @@
<?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_DateTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Date::verifyDateFormat
* @todo Implement testverifyDateFormat().
*/
public function testverifyDateFormat()
{
if (class_exists('XmlForm_Field_Date')) {
$methods = get_class_methods( 'XmlForm_Field_Date');
$this->assertTrue( in_array( 'verifyDateFormat', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Date::isvalidBeforeFormat
* @todo Implement testisvalidBeforeFormat().
*/
public function testisvalidBeforeFormat()
{
if (class_exists('XmlForm_Field_Date')) {
$methods = get_class_methods( 'XmlForm_Field_Date');
$this->assertTrue( in_array( 'isvalidBeforeFormat', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Date::calculateBeforeFormat
* @todo Implement testcalculateBeforeFormat().
*/
public function testcalculateBeforeFormat()
{
if (class_exists('XmlForm_Field_Date')) {
$methods = get_class_methods( 'XmlForm_Field_Date');
$this->assertTrue( in_array( 'calculateBeforeFormat', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Date::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Date')) {
$methods = get_class_methods( 'XmlForm_Field_Date');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Date::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field_Date')) {
$methods = get_class_methods( 'XmlForm_Field_Date');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Date::__draw_widget
* @todo Implement test__draw_widget().
*/
public function test__draw_widget()
{
if (class_exists('XmlForm_Field_Date')) {
$methods = get_class_methods( 'XmlForm_Field_Date');
$this->assertTrue( in_array( '__draw_widget', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,25 @@
<?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_DateViewTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_DateView::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_DateView')) {
$methods = get_class_methods( 'XmlForm_Field_DateView');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,49 @@
<?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' );
}
}
}

View File

@@ -0,0 +1,37 @@
<?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_DropdownptTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Dropdownpt::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Dropdownpt')) {
$methods = get_class_methods( 'XmlForm_Field_Dropdownpt');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Dropdownpt::maskValue
* @todo Implement testmaskValue().
*/
public function testmaskValue()
{
if (class_exists('XmlForm_Field_Dropdownpt')) {
$methods = get_class_methods( 'XmlForm_Field_Dropdownpt');
$this->assertTrue( in_array( 'maskValue', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,13 @@
<?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.xmlformExtension.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:58.
*/
class classXmlForm_Field_FastSearchTest extends PHPUnit_Framework_TestCase
{
}

View File

@@ -0,0 +1,25 @@
<?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_FileTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_File::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_File')) {
$methods = get_class_methods( 'XmlForm_Field_File');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,73 @@
<?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_GridTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Grid::XmlForm_Field_Grid
* @todo Implement testXmlForm_Field_Grid().
*/
public function testXmlForm_Field_Grid()
{
if (class_exists('XmlForm_Field_Grid')) {
$methods = get_class_methods( 'XmlForm_Field_Grid');
$this->assertTrue( in_array( 'XmlForm_Field_Grid', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Grid::parseFile
* @todo Implement testparseFile().
*/
public function testparseFile()
{
if (class_exists('XmlForm_Field_Grid')) {
$methods = get_class_methods( 'XmlForm_Field_Grid');
$this->assertTrue( in_array( 'parseFile', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Grid::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Grid')) {
$methods = get_class_methods( 'XmlForm_Field_Grid');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Grid::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field_Grid')) {
$methods = get_class_methods( 'XmlForm_Field_Grid');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Grid::flipValues
* @todo Implement testflipValues().
*/
public function testflipValues()
{
if (class_exists('XmlForm_Field_Grid')) {
$methods = get_class_methods( 'XmlForm_Field_Grid');
$this->assertTrue( in_array( 'flipValues', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,25 @@
<?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.htmlArea.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:56.
*/
class classXmlForm_Field_HTMLTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_HTML::attachEvents
* @todo Implement testattachEvents().
*/
public function testattachEvents()
{
if (class_exists('XmlForm_Field_HTML')) {
$methods = get_class_methods( 'XmlForm_Field_HTML');
$this->assertTrue( in_array( 'attachEvents', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,49 @@
<?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_HiddenTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Hidden::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Hidden')) {
$methods = get_class_methods( 'XmlForm_Field_Hidden');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Hidden::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field_Hidden')) {
$methods = get_class_methods( 'XmlForm_Field_Hidden');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Hidden::renderTable
* @todo Implement testrenderTable().
*/
public function testrenderTable()
{
if (class_exists('XmlForm_Field_Hidden')) {
$methods = get_class_methods( 'XmlForm_Field_Hidden');
$this->assertTrue( in_array( 'renderTable', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,37 @@
<?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_ImageTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Image::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Image')) {
$methods = get_class_methods( 'XmlForm_Field_Image');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Image::masktophp
* @todo Implement testmasktophp().
*/
public function testmasktophp()
{
if (class_exists('XmlForm_Field_Image')) {
$methods = get_class_methods( 'XmlForm_Field_Image');
$this->assertTrue( in_array( 'masktophp', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,61 @@
<?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_JavaScriptTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_JavaScript::XmlForm_Field_JavaScript
* @todo Implement testXmlForm_Field_JavaScript().
*/
public function testXmlForm_Field_JavaScript()
{
if (class_exists('XmlForm_Field_JavaScript')) {
$methods = get_class_methods( 'XmlForm_Field_JavaScript');
$this->assertTrue( in_array( 'XmlForm_Field_JavaScript', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_JavaScript::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_JavaScript')) {
$methods = get_class_methods( 'XmlForm_Field_JavaScript');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_JavaScript::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field_JavaScript')) {
$methods = get_class_methods( 'XmlForm_Field_JavaScript');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_JavaScript::validateValue
* @todo Implement testvalidateValue().
*/
public function testvalidateValue()
{
if (class_exists('XmlForm_Field_JavaScript')) {
$methods = get_class_methods( 'XmlForm_Field_JavaScript');
$this->assertTrue( in_array( 'validateValue', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,13 @@
<?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.xmlformExtension.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:58.
*/
class classXmlForm_Field_LabelTest extends PHPUnit_Framework_TestCase
{
}

View File

@@ -0,0 +1,49 @@
<?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_LinkTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Link::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Link')) {
$methods = get_class_methods( 'XmlForm_Field_Link');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Link::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field_Link')) {
$methods = get_class_methods( 'XmlForm_Field_Link');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Link::renderTable
* @todo Implement testrenderTable().
*/
public function testrenderTable()
{
if (class_exists('XmlForm_Field_Link')) {
$methods = get_class_methods( 'XmlForm_Field_Link');
$this->assertTrue( in_array( 'renderTable', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,49 @@
<?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_ListboxTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Listbox::validateValue
* @todo Implement testvalidateValue().
*/
public function testvalidateValue()
{
if (class_exists('XmlForm_Field_Listbox')) {
$methods = get_class_methods( 'XmlForm_Field_Listbox');
$this->assertTrue( in_array( 'validateValue', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Listbox::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Listbox')) {
$methods = get_class_methods( 'XmlForm_Field_Listbox');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Listbox::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field_Listbox')) {
$methods = get_class_methods( 'XmlForm_Field_Listbox');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,25 @@
<?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:56.
*/
class classXmlForm_Field_PasswordTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Password::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Password')) {
$methods = get_class_methods( 'XmlForm_Field_Password');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,25 @@
<?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_PercentageTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Percentage::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Percentage')) {
$methods = get_class_methods( 'XmlForm_Field_Percentage');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,25 @@
<?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:56.
*/
class classXmlForm_Field_PrintTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Print::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Print')) {
$methods = get_class_methods( 'XmlForm_Field_Print');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,37 @@
<?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_RadioGroupTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_RadioGroup::validateValue
* @todo Implement testvalidateValue().
*/
public function testvalidateValue()
{
if (class_exists('XmlForm_Field_RadioGroup')) {
$methods = get_class_methods( 'XmlForm_Field_RadioGroup');
$this->assertTrue( in_array( 'validateValue', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_RadioGroup::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_RadioGroup')) {
$methods = get_class_methods( 'XmlForm_Field_RadioGroup');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,25 @@
<?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_RadioGroupViewTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_RadioGroupView::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_RadioGroupView')) {
$methods = get_class_methods( 'XmlForm_Field_RadioGroupView');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,25 @@
<?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_ResetTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Reset::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Reset')) {
$methods = get_class_methods( 'XmlForm_Field_Reset');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,37 @@
<?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:56.
*/
class classXmlForm_Field_SimpleTextTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_SimpleText::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_SimpleText')) {
$methods = get_class_methods( 'XmlForm_Field_SimpleText');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_SimpleText::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field_SimpleText')) {
$methods = get_class_methods( 'XmlForm_Field_SimpleText');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,25 @@
<?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_SubmitTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Submit::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Submit')) {
$methods = get_class_methods( 'XmlForm_Field_Submit');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,37 @@
<?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:56.
*/
class classXmlForm_Field_SubtitleTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Subtitle::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Subtitle')) {
$methods = get_class_methods( 'XmlForm_Field_Subtitle');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Subtitle::validateValue
* @todo Implement testvalidateValue().
*/
public function testvalidateValue()
{
if (class_exists('XmlForm_Field_Subtitle')) {
$methods = get_class_methods( 'XmlForm_Field_Subtitle');
$this->assertTrue( in_array( 'validateValue', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,49 @@
<?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:56.
*/
class classXmlForm_Field_SuggestTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Suggest::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Suggest')) {
$methods = get_class_methods( 'XmlForm_Field_Suggest');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Suggest::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field_Suggest')) {
$methods = get_class_methods( 'XmlForm_Field_Suggest');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Suggest::renderTable
* @todo Implement testrenderTable().
*/
public function testrenderTable()
{
if (class_exists('XmlForm_Field_Suggest')) {
$methods = get_class_methods( 'XmlForm_Field_Suggest');
$this->assertTrue( in_array( 'renderTable', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,49 @@
<?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:56.
*/
class classXmlForm_Field_TextTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Text::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Text')) {
$methods = get_class_methods( 'XmlForm_Field_Text');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Text::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field_Text')) {
$methods = get_class_methods( 'XmlForm_Field_Text');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Text::renderTable
* @todo Implement testrenderTable().
*/
public function testrenderTable()
{
if (class_exists('XmlForm_Field_Text')) {
$methods = get_class_methods( 'XmlForm_Field_Text');
$this->assertTrue( in_array( 'renderTable', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,37 @@
<?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:56.
*/
class classXmlForm_Field_TextareaTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Textarea::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Textarea')) {
$methods = get_class_methods( 'XmlForm_Field_Textarea');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Textarea::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field_Textarea')) {
$methods = get_class_methods( 'XmlForm_Field_Textarea');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,37 @@
<?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:56.
*/
class classXmlForm_Field_TitleTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Title::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Title')) {
$methods = get_class_methods( 'XmlForm_Field_Title');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Title::validateValue
* @todo Implement testvalidateValue().
*/
public function testvalidateValue()
{
if (class_exists('XmlForm_Field_Title')) {
$methods = get_class_methods( 'XmlForm_Field_Title');
$this->assertTrue( in_array( 'validateValue', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,49 @@
<?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.xmlMenu.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:55.
*/
class classXmlForm_Field_XmlMenuTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_XmlMenu::XmlForm_Field_XmlMenu
* @todo Implement testXmlForm_Field_XmlMenu().
*/
public function testXmlForm_Field_XmlMenu()
{
if (class_exists('XmlForm_Field_XmlMenu')) {
$methods = get_class_methods( 'XmlForm_Field_XmlMenu');
$this->assertTrue( in_array( 'XmlForm_Field_XmlMenu', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_XmlMenu::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_XmlMenu')) {
$methods = get_class_methods( 'XmlForm_Field_XmlMenu');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_XmlMenu::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field_XmlMenu')) {
$methods = get_class_methods( 'XmlForm_Field_XmlMenu');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,49 @@
<?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_XmlformTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_Xmlform::XmlForm_Field_Xmlform
* @todo Implement testXmlForm_Field_Xmlform().
*/
public function testXmlForm_Field_Xmlform()
{
if (class_exists('XmlForm_Field_Xmlform')) {
$methods = get_class_methods( 'XmlForm_Field_Xmlform');
$this->assertTrue( in_array( 'XmlForm_Field_Xmlform', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Xmlform::parseFile
* @todo Implement testparseFile().
*/
public function testparseFile()
{
if (class_exists('XmlForm_Field_Xmlform')) {
$methods = get_class_methods( 'XmlForm_Field_Xmlform');
$this->assertTrue( in_array( 'parseFile', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_Xmlform::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_Xmlform')) {
$methods = get_class_methods( 'XmlForm_Field_Xmlform');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,37 @@
<?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_YesNoTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_YesNo::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_YesNo')) {
$methods = get_class_methods( 'XmlForm_Field_YesNo');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_YesNo::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field_YesNo')) {
$methods = get_class_methods( 'XmlForm_Field_YesNo');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,37 @@
<?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.xmlformExtension.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:58.
*/
class classXmlForm_Field_cellMarkTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_cellMark::tdStyle
* @todo Implement testtdStyle().
*/
public function testtdStyle()
{
if (class_exists('XmlForm_Field_cellMark')) {
$methods = get_class_methods( 'XmlForm_Field_cellMark');
$this->assertTrue( in_array( 'tdStyle', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_cellMark::tdClass
* @todo Implement testtdClass().
*/
public function testtdClass()
{
if (class_exists('XmlForm_Field_cellMark')) {
$methods = get_class_methods( 'XmlForm_Field_cellMark');
$this->assertTrue( in_array( 'tdClass', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,109 @@
<?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.xmlDocument.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:58.
*/
class classXml_NodeTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Xml_Node::Xml_Node
* @todo Implement testXml_Node().
*/
public function testXml_Node()
{
if (class_exists('Xml_Node')) {
$methods = get_class_methods( 'Xml_Node');
$this->assertTrue( in_array( 'Xml_Node', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xml_Node::addAttribute
* @todo Implement testaddAttribute().
*/
public function testaddAttribute()
{
if (class_exists('Xml_Node')) {
$methods = get_class_methods( 'Xml_Node');
$this->assertTrue( in_array( 'addAttribute', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xml_Node::addChildNode
* @todo Implement testaddChildNode().
*/
public function testaddChildNode()
{
if (class_exists('Xml_Node')) {
$methods = get_class_methods( 'Xml_Node');
$this->assertTrue( in_array( 'addChildNode', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xml_Node::toTree
* @todo Implement testtoTree().
*/
public function testtoTree()
{
if (class_exists('Xml_Node')) {
$methods = get_class_methods( 'Xml_Node');
$this->assertTrue( in_array( 'toTree', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xml_Node::toArray
* @todo Implement testtoArray().
*/
public function testtoArray()
{
if (class_exists('Xml_Node')) {
$methods = get_class_methods( 'Xml_Node');
$this->assertTrue( in_array( 'toArray', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xml_Node::findNode
* @todo Implement testfindNode().
*/
public function testfindNode()
{
if (class_exists('Xml_Node')) {
$methods = get_class_methods( 'Xml_Node');
$this->assertTrue( in_array( 'findNode', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xml_Node::getXML
* @todo Implement testgetXML().
*/
public function testgetXML()
{
if (class_exists('Xml_Node')) {
$methods = get_class_methods( 'Xml_Node');
$this->assertTrue( in_array( 'getXML', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xml_Node::getCDATAValue
* @todo Implement testgetCDATAValue().
*/
public function testgetCDATAValue()
{
if (class_exists('Xml_Node')) {
$methods = get_class_methods( 'Xml_Node');
$this->assertTrue( in_array( 'getCDATAValue', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,73 @@
<?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.xmlDocument.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:58.
*/
class classXml_documentTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Xml_document::Xml_document
* @todo Implement testXml_document().
*/
public function testXml_document()
{
if (class_exists('Xml_document')) {
$methods = get_class_methods( 'Xml_document');
$this->assertTrue( in_array( 'Xml_document', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xml_document::parseXmlFile
* @todo Implement testparseXmlFile().
*/
public function testparseXmlFile()
{
if (class_exists('Xml_document')) {
$methods = get_class_methods( 'Xml_document');
$this->assertTrue( in_array( 'parseXmlFile', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xml_document::findNode
* @todo Implement testfindNode().
*/
public function testfindNode()
{
if (class_exists('Xml_document')) {
$methods = get_class_methods( 'Xml_document');
$this->assertTrue( in_array( 'findNode', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xml_document::getXML
* @todo Implement testgetXML().
*/
public function testgetXML()
{
if (class_exists('Xml_document')) {
$methods = get_class_methods( 'Xml_document');
$this->assertTrue( in_array( 'getXML', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xml_document::save
* @todo Implement testsave().
*/
public function testsave()
{
if (class_exists('Xml_document')) {
$methods = get_class_methods( 'Xml_document');
$this->assertTrue( in_array( 'save', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,505 @@
<?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.database_mysql.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:54.
*/
class classdatabaseTest extends PHPUnit_Framework_TestCase
{
/**
* @covers database::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::generateCreateTableSQL
* @todo Implement testgenerateCreateTableSQL().
*/
public function testgenerateCreateTableSQL()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'generateCreateTableSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::generateDropTableSQL
* @todo Implement testgenerateDropTableSQL().
*/
public function testgenerateDropTableSQL()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'generateDropTableSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::generateDropColumnSQL
* @todo Implement testgenerateDropColumnSQL().
*/
public function testgenerateDropColumnSQL()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'generateDropColumnSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::generateAddColumnSQL
* @todo Implement testgenerateAddColumnSQL().
*/
public function testgenerateAddColumnSQL()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'generateAddColumnSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::generateChangeColumnSQL
* @todo Implement testgenerateChangeColumnSQL().
*/
public function testgenerateChangeColumnSQL()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'generateChangeColumnSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::generateGetPrimaryKeysSQL
* @todo Implement testgenerateGetPrimaryKeysSQL().
*/
public function testgenerateGetPrimaryKeysSQL()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'generateGetPrimaryKeysSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::generateDropPrimaryKeysSQL
* @todo Implement testgenerateDropPrimaryKeysSQL().
*/
public function testgenerateDropPrimaryKeysSQL()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'generateDropPrimaryKeysSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::generateAddPrimaryKeysSQL
* @todo Implement testgenerateAddPrimaryKeysSQL().
*/
public function testgenerateAddPrimaryKeysSQL()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'generateAddPrimaryKeysSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::generateDropKeySQL
* @todo Implement testgenerateDropKeySQL().
*/
public function testgenerateDropKeySQL()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'generateDropKeySQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::generateAddKeysSQL
* @todo Implement testgenerateAddKeysSQL().
*/
public function testgenerateAddKeysSQL()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'generateAddKeysSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::generateShowTablesSQL
* @todo Implement testgenerateShowTablesSQL().
*/
public function testgenerateShowTablesSQL()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'generateShowTablesSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::generateShowTablesLikeSQL
* @todo Implement testgenerateShowTablesLikeSQL().
*/
public function testgenerateShowTablesLikeSQL()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'generateShowTablesLikeSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::generateDescTableSQL
* @todo Implement testgenerateDescTableSQL().
*/
public function testgenerateDescTableSQL()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'generateDescTableSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::generateTableIndexSQL
* @todo Implement testgenerateTableIndexSQL().
*/
public function testgenerateTableIndexSQL()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'generateTableIndexSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::isConnected
* @todo Implement testisConnected().
*/
public function testisConnected()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'isConnected', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::logQuery
* @todo Implement testlogQuery().
*/
public function testlogQuery()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'logQuery', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::executeQuery
* @todo Implement testexecuteQuery().
*/
public function testexecuteQuery()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'executeQuery', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::countResults
* @todo Implement testcountResults().
*/
public function testcountResults()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'countResults', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::getRegistry
* @todo Implement testgetRegistry().
*/
public function testgetRegistry()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'getRegistry', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::close
* @todo Implement testclose().
*/
public function testclose()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'close', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::generateInsertSQL
* @todo Implement testgenerateInsertSQL().
*/
public function testgenerateInsertSQL()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'generateInsertSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::generateUpdateSQL
* @todo Implement testgenerateUpdateSQL().
*/
public function testgenerateUpdateSQL()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'generateUpdateSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::generateDeleteSQL
* @todo Implement testgenerateDeleteSQL().
*/
public function testgenerateDeleteSQL()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'generateDeleteSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::generateSelectSQL
* @todo Implement testgenerateSelectSQL().
*/
public function testgenerateSelectSQL()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'generateSelectSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::putQuotes
* @todo Implement testputQuotes().
*/
public function testputQuotes()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'putQuotes', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::concatString
* @todo Implement testconcatString().
*/
public function testconcatString()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'concatString', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::getCaseWhen
* @todo Implement testgetCaseWhen().
*/
public function testgetCaseWhen()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'getCaseWhen', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::createTableObjectPermission
* @todo Implement testcreateTableObjectPermission().
*/
public function testcreateTableObjectPermission()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'createTableObjectPermission', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::getSelectReport4
* @todo Implement testgetSelectReport4().
*/
public function testgetSelectReport4()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'getSelectReport4', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::getSelectReport4Filter
* @todo Implement testgetSelectReport4Filter().
*/
public function testgetSelectReport4Filter()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'getSelectReport4Filter', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::getSelectReport5
* @todo Implement testgetSelectReport5().
*/
public function testgetSelectReport5()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'getSelectReport5', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::getSelectReport5Filter
* @todo Implement testgetSelectReport5Filter().
*/
public function testgetSelectReport5Filter()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'getSelectReport5Filter', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::getServerVersion
* @todo Implement testgetServerVersion().
*/
public function testgetServerVersion()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'getServerVersion', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::getDropTable
* @todo Implement testgetDropTable().
*/
public function testgetDropTable()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'getDropTable', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::getTableDescription
* @todo Implement testgetTableDescription().
*/
public function testgetTableDescription()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'getTableDescription', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::getFieldNull
* @todo Implement testgetFieldNull().
*/
public function testgetFieldNull()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'getFieldNull', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::getValidate
* @todo Implement testgetValidate().
*/
public function testgetValidate()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'getValidate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::reportTableExist
* @todo Implement testreportTableExist().
*/
public function testreportTableExist()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'reportTableExist', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::getLimitRenderTable
* @todo Implement testgetLimitRenderTable().
*/
public function testgetLimitRenderTable()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'getLimitRenderTable', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database::tableExists
* @todo Implement testtableExists().
*/
public function testtableExists()
{
if (class_exists('database')) {
$methods = get_class_methods( 'database');
$this->assertTrue( in_array( 'tableExists', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,109 @@
<?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.database_base.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:55.
*/
class classdatabase_baseTest extends PHPUnit_Framework_TestCase
{
/**
* @covers database_base::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('database_base')) {
$methods = get_class_methods( 'database_base');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database_base::generateDropTableSQL
* @todo Implement testgenerateDropTableSQL().
*/
public function testgenerateDropTableSQL()
{
if (class_exists('database_base')) {
$methods = get_class_methods( 'database_base');
$this->assertTrue( in_array( 'generateDropTableSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database_base::generateCreateTableSQL
* @todo Implement testgenerateCreateTableSQL().
*/
public function testgenerateCreateTableSQL()
{
if (class_exists('database_base')) {
$methods = get_class_methods( 'database_base');
$this->assertTrue( in_array( 'generateCreateTableSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database_base::generateDropColumnSQL
* @todo Implement testgenerateDropColumnSQL().
*/
public function testgenerateDropColumnSQL()
{
if (class_exists('database_base')) {
$methods = get_class_methods( 'database_base');
$this->assertTrue( in_array( 'generateDropColumnSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database_base::generateAddColumnSQL
* @todo Implement testgenerateAddColumnSQL().
*/
public function testgenerateAddColumnSQL()
{
if (class_exists('database_base')) {
$methods = get_class_methods( 'database_base');
$this->assertTrue( in_array( 'generateAddColumnSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database_base::generateChangeColumnSQL
* @todo Implement testgenerateChangeColumnSQL().
*/
public function testgenerateChangeColumnSQL()
{
if (class_exists('database_base')) {
$methods = get_class_methods( 'database_base');
$this->assertTrue( in_array( 'generateChangeColumnSQL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database_base::executeQuery
* @todo Implement testexecuteQuery().
*/
public function testexecuteQuery()
{
if (class_exists('database_base')) {
$methods = get_class_methods( 'database_base');
$this->assertTrue( in_array( 'executeQuery', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers database_base::close
* @todo Implement testclose().
*/
public function testclose()
{
if (class_exists('database_base')) {
$methods = get_class_methods( 'database_base');
$this->assertTrue( in_array( 'close', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,289 @@
<?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.dynaformhandler.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:58.
*/
class classdynaFormHandlerTest extends PHPUnit_Framework_TestCase
{
/**
* @covers dynaFormHandler::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaFormHandler::load
* @todo Implement testload().
*/
public function testload()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( 'load', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaFormHandler::reload
* @todo Implement testreload().
*/
public function testreload()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( 'reload', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaFormHandler::__cloneEmpty
* @todo Implement test__cloneEmpty().
*/
public function test__cloneEmpty()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( '__cloneEmpty', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaFormHandler::toString
* @todo Implement testtoString().
*/
public function testtoString()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( 'toString', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaFormHandler::getNode
* @todo Implement testgetNode().
*/
public function testgetNode()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( 'getNode', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaFormHandler::setNode
* @todo Implement testsetNode().
*/
public function testsetNode()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( 'setNode', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaFormHandler::add
* @todo Implement testadd().
*/
public function testadd()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( 'add', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaFormHandler::replace
* @todo Implement testreplace().
*/
public function testreplace()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( 'replace', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaFormHandler::save
* @todo Implement testsave().
*/
public function testsave()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( 'save', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaFormHandler::fixXmlFile
* @todo Implement testfixXmlFile().
*/
public function testfixXmlFile()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( 'fixXmlFile', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaFormHandler::setHeaderAttribute
* @todo Implement testsetHeaderAttribute().
*/
public function testsetHeaderAttribute()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( 'setHeaderAttribute', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaFormHandler::modifyHeaderAttribute
* @todo Implement testmodifyHeaderAttribute().
*/
public function testmodifyHeaderAttribute()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( 'modifyHeaderAttribute', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaFormHandler::updateAttribute
* @todo Implement testupdateAttribute().
*/
public function testupdateAttribute()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( 'updateAttribute', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaFormHandler::remove
* @todo Implement testremove().
*/
public function testremove()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( 'remove', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaFormHandler::nodeExists
* @todo Implement testnodeExists().
*/
public function testnodeExists()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( 'nodeExists', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaFormHandler::moveUp
* @todo Implement testmoveUp().
*/
public function testmoveUp()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( 'moveUp', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaFormHandler::moveDown
* @todo Implement testmoveDown().
*/
public function testmoveDown()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( 'moveDown', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaFormHandler::getFields
* @todo Implement testgetFields().
*/
public function testgetFields()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( 'getFields', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaFormHandler::getFieldNames
* @todo Implement testgetFieldNames().
*/
public function testgetFieldNames()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( 'getFieldNames', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaFormHandler::addChilds
* @todo Implement testaddChilds().
*/
public function testaddChilds()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( 'addChilds', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaFormHandler::addOrUpdateChild
* @todo Implement testaddOrUpdateChild().
*/
public function testaddOrUpdateChild()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( 'addOrUpdateChild', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaFormHandler::getArray
* @todo Implement testgetArray().
*/
public function testgetArray()
{
if (class_exists('dynaFormHandler')) {
$methods = get_class_methods( 'dynaFormHandler');
$this->assertTrue( in_array( 'getArray', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,25 @@
<?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.filterForm.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:58.
*/
class classfilterFormTest extends PHPUnit_Framework_TestCase
{
/**
* @covers filterForm::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('filterForm')) {
$methods = get_class_methods( 'filterForm');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,37 @@
<?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.functionTest.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:54.
*/
class classfunctionTestTest extends PHPUnit_Framework_TestCase
{
/**
* @covers functionTest::functionTest
* @todo Implement testfunctionTest().
*/
public function testfunctionTest()
{
if (class_exists('functionTest')) {
$methods = get_class_methods( 'functionTest');
$this->assertTrue( in_array( 'functionTest', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers functionTest::sample
* @todo Implement testsample().
*/
public function testsample()
{
if (class_exists('functionTest')) {
$methods = get_class_methods( 'functionTest');
$this->assertTrue( in_array( 'sample', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,349 @@
<?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.headPublisher.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:54.
*/
class classheadPublisherTest extends PHPUnit_Framework_TestCase
{
/**
* @covers headPublisher::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::getSingleton
* @todo Implement testgetSingleton().
*/
public function testgetSingleton()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'getSingleton', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::setTitle
* @todo Implement testsetTitle().
*/
public function testsetTitle()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'setTitle', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::addMaborakFile
* @todo Implement testaddMaborakFile().
*/
public function testaddMaborakFile()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'addMaborakFile', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::addScriptFile
* @todo Implement testaddScriptFile().
*/
public function testaddScriptFile()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'addScriptFile', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::addInstanceModule
* @todo Implement testaddInstanceModule().
*/
public function testaddInstanceModule()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'addInstanceModule', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::addClassModule
* @todo Implement testaddClassModule().
*/
public function testaddClassModule()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'addClassModule', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::addScriptCode
* @todo Implement testaddScriptCode().
*/
public function testaddScriptCode()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'addScriptCode', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::printHeader
* @todo Implement testprintHeader().
*/
public function testprintHeader()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'printHeader', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::printRawHeader
* @todo Implement testprintRawHeader().
*/
public function testprintRawHeader()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'printRawHeader', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::clearScripts
* @todo Implement testclearScripts().
*/
public function testclearScripts()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'clearScripts', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::includeExtJs
* @todo Implement testincludeExtJs().
*/
public function testincludeExtJs()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'includeExtJs', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::getExtJsStylesheets
* @todo Implement testgetExtJsStylesheets().
*/
public function testgetExtJsStylesheets()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'getExtJsStylesheets', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::getExtJsScripts
* @todo Implement testgetExtJsScripts().
*/
public function testgetExtJsScripts()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'getExtJsScripts', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::getExtJsVariablesScript
* @todo Implement testgetExtJsVariablesScript().
*/
public function testgetExtJsVariablesScript()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'getExtJsVariablesScript', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::getExtJsLibraries
* @todo Implement testgetExtJsLibraries().
*/
public function testgetExtJsLibraries()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'getExtJsLibraries', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::usingExtJs
* @todo Implement testusingExtJs().
*/
public function testusingExtJs()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'usingExtJs', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::setExtSkin
* @todo Implement testsetExtSkin().
*/
public function testsetExtSkin()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'setExtSkin', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::addExtJsScript
* @todo Implement testaddExtJsScript().
*/
public function testaddExtJsScript()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'addExtJsScript', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::AddContent
* @todo Implement testAddContent().
*/
public function testAddContent()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'AddContent', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::getContent
* @todo Implement testgetContent().
*/
public function testgetContent()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'getContent', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::Assign
* @todo Implement testAssign().
*/
public function testAssign()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'Assign', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::AssignVar
* @todo Implement testAssignVar().
*/
public function testAssignVar()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'AssignVar', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::getVars
* @todo Implement testgetVars().
*/
public function testgetVars()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'getVars', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::AssignNumber
* @todo Implement testAssignNumber().
*/
public function testAssignNumber()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'AssignNumber', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::renderExtJs
* @todo Implement testrenderExtJs().
*/
public function testrenderExtJs()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'renderExtJs', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::stripCodeQuotes
* @todo Implement teststripCodeQuotes().
*/
public function teststripCodeQuotes()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'stripCodeQuotes', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers headPublisher::disableHeaderScripts
* @todo Implement testdisableHeaderScripts().
*/
public function testdisableHeaderScripts()
{
if (class_exists('headPublisher')) {
$methods = get_class_methods( 'headPublisher');
$this->assertTrue( in_array( 'disableHeaderScripts', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,241 @@
<?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.i18n_po.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:57.
*/
class classi18n_POTest extends PHPUnit_Framework_TestCase
{
/**
* @covers i18n_PO::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('i18n_PO')) {
$methods = get_class_methods( 'i18n_PO');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers i18n_PO::buildInit
* @todo Implement testbuildInit().
*/
public function testbuildInit()
{
if (class_exists('i18n_PO')) {
$methods = get_class_methods( 'i18n_PO');
$this->assertTrue( in_array( 'buildInit', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers i18n_PO::readInit
* @todo Implement testreadInit().
*/
public function testreadInit()
{
if (class_exists('i18n_PO')) {
$methods = get_class_methods( 'i18n_PO');
$this->assertTrue( in_array( 'readInit', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers i18n_PO::addHeader
* @todo Implement testaddHeader().
*/
public function testaddHeader()
{
if (class_exists('i18n_PO')) {
$methods = get_class_methods( 'i18n_PO');
$this->assertTrue( in_array( 'addHeader', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers i18n_PO::addTranslatorComment
* @todo Implement testaddTranslatorComment().
*/
public function testaddTranslatorComment()
{
if (class_exists('i18n_PO')) {
$methods = get_class_methods( 'i18n_PO');
$this->assertTrue( in_array( 'addTranslatorComment', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers i18n_PO::addExtractedComment
* @todo Implement testaddExtractedComment().
*/
public function testaddExtractedComment()
{
if (class_exists('i18n_PO')) {
$methods = get_class_methods( 'i18n_PO');
$this->assertTrue( in_array( 'addExtractedComment', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers i18n_PO::addReference
* @todo Implement testaddReference().
*/
public function testaddReference()
{
if (class_exists('i18n_PO')) {
$methods = get_class_methods( 'i18n_PO');
$this->assertTrue( in_array( 'addReference', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers i18n_PO::addFlag
* @todo Implement testaddFlag().
*/
public function testaddFlag()
{
if (class_exists('i18n_PO')) {
$methods = get_class_methods( 'i18n_PO');
$this->assertTrue( in_array( 'addFlag', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers i18n_PO::addPreviousUntranslatedString
* @todo Implement testaddPreviousUntranslatedString().
*/
public function testaddPreviousUntranslatedString()
{
if (class_exists('i18n_PO')) {
$methods = get_class_methods( 'i18n_PO');
$this->assertTrue( in_array( 'addPreviousUntranslatedString', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers i18n_PO::addTranslation
* @todo Implement testaddTranslation().
*/
public function testaddTranslation()
{
if (class_exists('i18n_PO')) {
$methods = get_class_methods( 'i18n_PO');
$this->assertTrue( in_array( 'addTranslation', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers i18n_PO::_writeLine
* @todo Implement test_writeLine().
*/
public function test_writeLine()
{
if (class_exists('i18n_PO')) {
$methods = get_class_methods( 'i18n_PO');
$this->assertTrue( in_array( '_writeLine', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers i18n_PO::_write
* @todo Implement test_write().
*/
public function test_write()
{
if (class_exists('i18n_PO')) {
$methods = get_class_methods( 'i18n_PO');
$this->assertTrue( in_array( '_write', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers i18n_PO::prepare
* @todo Implement testprepare().
*/
public function testprepare()
{
if (class_exists('i18n_PO')) {
$methods = get_class_methods( 'i18n_PO');
$this->assertTrue( in_array( 'prepare', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers i18n_PO::headerStroke
* @todo Implement testheaderStroke().
*/
public function testheaderStroke()
{
if (class_exists('i18n_PO')) {
$methods = get_class_methods( 'i18n_PO');
$this->assertTrue( in_array( 'headerStroke', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers i18n_PO::skipCommets
* @todo Implement testskipCommets().
*/
public function testskipCommets()
{
if (class_exists('i18n_PO')) {
$methods = get_class_methods( 'i18n_PO');
$this->assertTrue( in_array( 'skipCommets', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers i18n_PO::readHeaders
* @todo Implement testreadHeaders().
*/
public function testreadHeaders()
{
if (class_exists('i18n_PO')) {
$methods = get_class_methods( 'i18n_PO');
$this->assertTrue( in_array( 'readHeaders', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers i18n_PO::getHeaders
* @todo Implement testgetHeaders().
*/
public function testgetHeaders()
{
if (class_exists('i18n_PO')) {
$methods = get_class_methods( 'i18n_PO');
$this->assertTrue( in_array( 'getHeaders', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers i18n_PO::getTranslation
* @todo Implement testgetTranslation().
*/
public function testgetTranslation()
{
if (class_exists('i18n_PO')) {
$methods = get_class_methods( 'i18n_PO');
$this->assertTrue( in_array( 'getTranslation', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers i18n_PO::__destruct
* @todo Implement test__destruct().
*/
public function test__destruct()
{
if (class_exists('i18n_PO')) {
$methods = get_class_methods( 'i18n_PO');
$this->assertTrue( in_array( '__destruct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,97 @@
<?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.mailer.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:54.
*/
class classmailerTest extends PHPUnit_Framework_TestCase
{
/**
* @covers mailer::instanceMailer
* @todo Implement testinstanceMailer().
*/
public function testinstanceMailer()
{
if (class_exists('mailer')) {
$methods = get_class_methods( 'mailer');
$this->assertTrue( in_array( 'instanceMailer', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers mailer::arpaEMAIL
* @todo Implement testarpaEMAIL().
*/
public function testarpaEMAIL()
{
if (class_exists('mailer')) {
$methods = get_class_methods( 'mailer');
$this->assertTrue( in_array( 'arpaEMAIL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers mailer::sendTemplate
* @todo Implement testsendTemplate().
*/
public function testsendTemplate()
{
if (class_exists('mailer')) {
$methods = get_class_methods( 'mailer');
$this->assertTrue( in_array( 'sendTemplate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers mailer::sendHtml
* @todo Implement testsendHtml().
*/
public function testsendHtml()
{
if (class_exists('mailer')) {
$methods = get_class_methods( 'mailer');
$this->assertTrue( in_array( 'sendHtml', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers mailer::sendText
* @todo Implement testsendText().
*/
public function testsendText()
{
if (class_exists('mailer')) {
$methods = get_class_methods( 'mailer');
$this->assertTrue( in_array( 'sendText', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers mailer::replaceFields
* @todo Implement testreplaceFields().
*/
public function testreplaceFields()
{
if (class_exists('mailer')) {
$methods = get_class_methods( 'mailer');
$this->assertTrue( in_array( 'replaceFields', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers mailer::html2text
* @todo Implement testhtml2text().
*/
public function testhtml2text()
{
if (class_exists('mailer')) {
$methods = get_class_methods( 'mailer');
$this->assertTrue( in_array( 'html2text', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,37 @@
<?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.objectTemplate.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:55.
*/
class classobjectTemplateTest extends PHPUnit_Framework_TestCase
{
/**
* @covers objectTemplate::objectTemplate
* @todo Implement testobjectTemplate().
*/
public function testobjectTemplate()
{
if (class_exists('objectTemplate')) {
$methods = get_class_methods( 'objectTemplate');
$this->assertTrue( in_array( 'objectTemplate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers objectTemplate::printObject
* @todo Implement testprintObject().
*/
public function testprintObject()
{
if (class_exists('objectTemplate')) {
$methods = get_class_methods( 'objectTemplate');
$this->assertTrue( in_array( 'printObject', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,133 @@
<?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.pagedTable.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:55.
*/
class classpagedTableTest extends PHPUnit_Framework_TestCase
{
/**
* @covers pagedTable::analizeSql
* @todo Implement testanalizeSql().
*/
public function testanalizeSql()
{
if (class_exists('pagedTable')) {
$methods = get_class_methods( 'pagedTable');
$this->assertTrue( in_array( 'analizeSql', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers pagedTable::prepareQuery
* @todo Implement testprepareQuery().
*/
public function testprepareQuery()
{
if (class_exists('pagedTable')) {
$methods = get_class_methods( 'pagedTable');
$this->assertTrue( in_array( 'prepareQuery', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers pagedTable::setupFromXmlform
* @todo Implement testsetupFromXmlform().
*/
public function testsetupFromXmlform()
{
if (class_exists('pagedTable')) {
$methods = get_class_methods( 'pagedTable');
$this->assertTrue( in_array( 'setupFromXmlform', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers pagedTable::count
* @todo Implement testcount().
*/
public function testcount()
{
if (class_exists('pagedTable')) {
$methods = get_class_methods( 'pagedTable');
$this->assertTrue( in_array( 'count', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers pagedTable::renderTitle
* @todo Implement testrenderTitle().
*/
public function testrenderTitle()
{
if (class_exists('pagedTable')) {
$methods = get_class_methods( 'pagedTable');
$this->assertTrue( in_array( 'renderTitle', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers pagedTable::renderField
* @todo Implement testrenderField().
*/
public function testrenderField()
{
if (class_exists('pagedTable')) {
$methods = get_class_methods( 'pagedTable');
$this->assertTrue( in_array( 'renderField', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers pagedTable::defaultStyle
* @todo Implement testdefaultStyle().
*/
public function testdefaultStyle()
{
if (class_exists('pagedTable')) {
$methods = get_class_methods( 'pagedTable');
$this->assertTrue( in_array( 'defaultStyle', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers pagedTable::renderTable
* @todo Implement testrenderTable().
*/
public function testrenderTable()
{
if (class_exists('pagedTable')) {
$methods = get_class_methods( 'pagedTable');
$this->assertTrue( in_array( 'renderTable', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers pagedTable::printForm
* @todo Implement testprintForm().
*/
public function testprintForm()
{
if (class_exists('pagedTable')) {
$methods = get_class_methods( 'pagedTable');
$this->assertTrue( in_array( 'printForm', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers pagedTable::var_dump2
* @todo Implement testvar_dump2().
*/
public function testvar_dump2()
{
if (class_exists('pagedTable')) {
$methods = get_class_methods( 'pagedTable');
$this->assertTrue( in_array( 'var_dump2', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,157 @@
<?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.soapNtlm.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:55.
*/
class classsoapNtlmTest extends PHPUnit_Framework_TestCase
{
/**
* @covers soapNtlm::getuser
* @todo Implement testgetuser().
*/
public function testgetuser()
{
if (class_exists('soapNtlm')) {
$methods = get_class_methods( 'soapNtlm');
$this->assertTrue( in_array( 'getuser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers soapNtlm::getpassword
* @todo Implement testgetpassword().
*/
public function testgetpassword()
{
if (class_exists('soapNtlm')) {
$methods = get_class_methods( 'soapNtlm');
$this->assertTrue( in_array( 'getpassword', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers soapNtlm::stream_open
* @todo Implement teststream_open().
*/
public function teststream_open()
{
if (class_exists('soapNtlm')) {
$methods = get_class_methods( 'soapNtlm');
$this->assertTrue( in_array( 'stream_open', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers soapNtlm::stream_close
* @todo Implement teststream_close().
*/
public function teststream_close()
{
if (class_exists('soapNtlm')) {
$methods = get_class_methods( 'soapNtlm');
$this->assertTrue( in_array( 'stream_close', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers soapNtlm::stream_read
* @todo Implement teststream_read().
*/
public function teststream_read()
{
if (class_exists('soapNtlm')) {
$methods = get_class_methods( 'soapNtlm');
$this->assertTrue( in_array( 'stream_read', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers soapNtlm::stream_write
* @todo Implement teststream_write().
*/
public function teststream_write()
{
if (class_exists('soapNtlm')) {
$methods = get_class_methods( 'soapNtlm');
$this->assertTrue( in_array( 'stream_write', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers soapNtlm::stream_eof
* @todo Implement teststream_eof().
*/
public function teststream_eof()
{
if (class_exists('soapNtlm')) {
$methods = get_class_methods( 'soapNtlm');
$this->assertTrue( in_array( 'stream_eof', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers soapNtlm::stream_tell
* @todo Implement teststream_tell().
*/
public function teststream_tell()
{
if (class_exists('soapNtlm')) {
$methods = get_class_methods( 'soapNtlm');
$this->assertTrue( in_array( 'stream_tell', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers soapNtlm::stream_flush
* @todo Implement teststream_flush().
*/
public function teststream_flush()
{
if (class_exists('soapNtlm')) {
$methods = get_class_methods( 'soapNtlm');
$this->assertTrue( in_array( 'stream_flush', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers soapNtlm::stream_stat
* @todo Implement teststream_stat().
*/
public function teststream_stat()
{
if (class_exists('soapNtlm')) {
$methods = get_class_methods( 'soapNtlm');
$this->assertTrue( in_array( 'stream_stat', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers soapNtlm::url_stat
* @todo Implement testurl_stat().
*/
public function testurl_stat()
{
if (class_exists('soapNtlm')) {
$methods = get_class_methods( 'soapNtlm');
$this->assertTrue( in_array( 'url_stat', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers soapNtlm::createBuffer
* @todo Implement testcreateBuffer().
*/
public function testcreateBuffer()
{
if (class_exists('soapNtlm')) {
$methods = get_class_methods( 'soapNtlm');
$this->assertTrue( in_array( 'createBuffer', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,109 @@
<?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.testTools.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:58.
*/
class classtestToolsTest extends PHPUnit_Framework_TestCase
{
/**
* @covers testTools::importDB
* @todo Implement testimportDB().
*/
public function testimportDB()
{
if (class_exists('testTools')) {
$methods = get_class_methods( 'testTools');
$this->assertTrue( in_array( 'importDB', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers testTools::importLocalDB
* @todo Implement testimportLocalDB().
*/
public function testimportLocalDB()
{
if (class_exists('testTools')) {
$methods = get_class_methods( 'testTools');
$this->assertTrue( in_array( 'importLocalDB', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers testTools::callMethod
* @todo Implement testcallMethod().
*/
public function testcallMethod()
{
if (class_exists('testTools')) {
$methods = get_class_methods( 'testTools');
$this->assertTrue( in_array( 'callMethod', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers testTools::arrayAppend
* @todo Implement testarrayAppend().
*/
public function testarrayAppend()
{
if (class_exists('testTools')) {
$methods = get_class_methods( 'testTools');
$this->assertTrue( in_array( 'arrayAppend', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers testTools::arrayDelete
* @todo Implement testarrayDelete().
*/
public function testarrayDelete()
{
if (class_exists('testTools')) {
$methods = get_class_methods( 'testTools');
$this->assertTrue( in_array( 'arrayDelete', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers testTools::replaceVariables
* @todo Implement testreplaceVariables().
*/
public function testreplaceVariables()
{
if (class_exists('testTools')) {
$methods = get_class_methods( 'testTools');
$this->assertTrue( in_array( 'replaceVariables', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers testTools::findValue
* @todo Implement testfindValue().
*/
public function testfindValue()
{
if (class_exists('testTools')) {
$methods = get_class_methods( 'testTools');
$this->assertTrue( in_array( 'findValue', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers testTools::domain
* @todo Implement testdomain().
*/
public function testdomain()
{
if (class_exists('testTools')) {
$methods = get_class_methods( 'testTools');
$this->assertTrue( in_array( 'domain', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,85 @@
<?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.unitTest.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:58.
*/
class classunitTestTest extends PHPUnit_Framework_TestCase
{
/**
* @covers unitTest::unitTest
* @todo Implement testunitTest().
*/
public function testunitTest()
{
if (class_exists('unitTest')) {
$methods = get_class_methods( 'unitTest');
$this->assertTrue( in_array( 'unitTest', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers unitTest::load
* @todo Implement testload().
*/
public function testload()
{
if (class_exists('unitTest')) {
$methods = get_class_methods( 'unitTest');
$this->assertTrue( in_array( 'load', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers unitTest::runSingle
* @todo Implement testrunSingle().
*/
public function testrunSingle()
{
if (class_exists('unitTest')) {
$methods = get_class_methods( 'unitTest');
$this->assertTrue( in_array( 'runSingle', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers unitTest::runMultiple
* @todo Implement testrunMultiple().
*/
public function testrunMultiple()
{
if (class_exists('unitTest')) {
$methods = get_class_methods( 'unitTest');
$this->assertTrue( in_array( 'runMultiple', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers unitTest::runAll
* @todo Implement testrunAll().
*/
public function testrunAll()
{
if (class_exists('unitTest')) {
$methods = get_class_methods( 'unitTest');
$this->assertTrue( in_array( 'runAll', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers unitTest::sampleTestFunction
* @todo Implement testsampleTestFunction().
*/
public function testsampleTestFunction()
{
if (class_exists('unitTest')) {
$methods = get_class_methods( 'unitTest');
$this->assertTrue( in_array( 'sampleTestFunction', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,13 @@
<?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.xmlMenu.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:55.
*/
class classxmlMenuTest extends PHPUnit_Framework_TestCase
{
}

View File

@@ -0,0 +1,133 @@
<?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 classxmlformTemplateTest extends PHPUnit_Framework_TestCase
{
/**
* @covers xmlformTemplate::xmlformTemplate
* @todo Implement testxmlformTemplate().
*/
public function testxmlformTemplate()
{
if (class_exists('xmlformTemplate')) {
$methods = get_class_methods( 'xmlformTemplate');
$this->assertTrue( in_array( 'xmlformTemplate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers xmlformTemplate::printTemplate
* @todo Implement testprintTemplate().
*/
public function testprintTemplate()
{
if (class_exists('xmlformTemplate')) {
$methods = get_class_methods( 'xmlformTemplate');
$this->assertTrue( in_array( 'printTemplate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers xmlformTemplate::printJavaScript
* @todo Implement testprintJavaScript().
*/
public function testprintJavaScript()
{
if (class_exists('xmlformTemplate')) {
$methods = get_class_methods( 'xmlformTemplate');
$this->assertTrue( in_array( 'printJavaScript', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers xmlformTemplate::printJSFile
* @todo Implement testprintJSFile().
*/
public function testprintJSFile()
{
if (class_exists('xmlformTemplate')) {
$methods = get_class_methods( 'xmlformTemplate');
$this->assertTrue( in_array( 'printJSFile', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers xmlformTemplate::getFields
* @todo Implement testgetFields().
*/
public function testgetFields()
{
if (class_exists('xmlformTemplate')) {
$methods = get_class_methods( 'xmlformTemplate');
$this->assertTrue( in_array( 'getFields', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers xmlformTemplate::printObject
* @todo Implement testprintObject().
*/
public function testprintObject()
{
if (class_exists('xmlformTemplate')) {
$methods = get_class_methods( 'xmlformTemplate');
$this->assertTrue( in_array( 'printObject', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers xmlformTemplate::_get_template
* @todo Implement test_get_template().
*/
public function test_get_template()
{
if (class_exists('xmlformTemplate')) {
$methods = get_class_methods( 'xmlformTemplate');
$this->assertTrue( in_array( '_get_template', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers xmlformTemplate::_get_timestamp
* @todo Implement test_get_timestamp().
*/
public function test_get_timestamp()
{
if (class_exists('xmlformTemplate')) {
$methods = get_class_methods( 'xmlformTemplate');
$this->assertTrue( in_array( '_get_timestamp', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers xmlformTemplate::_get_secure
* @todo Implement test_get_secure().
*/
public function test_get_secure()
{
if (class_exists('xmlformTemplate')) {
$methods = get_class_methods( 'xmlformTemplate');
$this->assertTrue( in_array( '_get_secure', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers xmlformTemplate::_get_trusted
* @todo Implement test_get_trusted().
*/
public function test_get_trusted()
{
if (class_exists('xmlformTemplate')) {
$methods = get_class_methods( 'xmlformTemplate');
$this->assertTrue( in_array( '_get_trusted', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,145 @@
<?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.ymlDomain.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:57.
*/
class classymlDomainTest extends PHPUnit_Framework_TestCase
{
/**
* @covers ymlDomain::ymlDomain
* @todo Implement testymlDomain().
*/
public function testymlDomain()
{
if (class_exists('ymlDomain')) {
$methods = get_class_methods( 'ymlDomain');
$this->assertTrue( in_array( 'ymlDomain', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ymlDomain::addDomain
* @todo Implement testaddDomain().
*/
public function testaddDomain()
{
if (class_exists('ymlDomain')) {
$methods = get_class_methods( 'ymlDomain');
$this->assertTrue( in_array( 'addDomain', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ymlDomain::addDomainValue
* @todo Implement testaddDomainValue().
*/
public function testaddDomainValue()
{
if (class_exists('ymlDomain')) {
$methods = get_class_methods( 'ymlDomain');
$this->assertTrue( in_array( 'addDomainValue', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ymlDomain::exists
* @todo Implement testexists().
*/
public function testexists()
{
if (class_exists('ymlDomain')) {
$methods = get_class_methods( 'ymlDomain');
$this->assertTrue( in_array( 'exists', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ymlDomain::get
* @todo Implement testget().
*/
public function testget()
{
if (class_exists('ymlDomain')) {
$methods = get_class_methods( 'ymlDomain');
$this->assertTrue( in_array( 'get', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ymlDomain::name2keys
* @todo Implement testname2keys().
*/
public function testname2keys()
{
if (class_exists('ymlDomain')) {
$methods = get_class_methods( 'ymlDomain');
$this->assertTrue( in_array( 'name2keys', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ymlDomain::load
* @todo Implement testload().
*/
public function testload()
{
if (class_exists('ymlDomain')) {
$methods = get_class_methods( 'ymlDomain');
$this->assertTrue( in_array( 'load', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ymlDomain::find
* @todo Implement testfind().
*/
public function testfind()
{
if (class_exists('ymlDomain')) {
$methods = get_class_methods( 'ymlDomain');
$this->assertTrue( in_array( 'find', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ymlDomain::getNode
* @todo Implement testgetNode().
*/
public function testgetNode()
{
if (class_exists('ymlDomain')) {
$methods = get_class_methods( 'ymlDomain');
$this->assertTrue( in_array( 'getNode', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ymlDomain::plainArray
* @todo Implement testplainArray().
*/
public function testplainArray()
{
if (class_exists('ymlDomain')) {
$methods = get_class_methods( 'ymlDomain');
$this->assertTrue( in_array( 'plainArray', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ymlDomain::arrayAppend
* @todo Implement testarrayAppend().
*/
public function testarrayAppend()
{
if (class_exists('ymlDomain')) {
$methods = get_class_methods( 'ymlDomain');
$this->assertTrue( in_array( 'arrayAppend', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,85 @@
<?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.ymlTestCases.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:39:57.
*/
class classymlTestCasesTest extends PHPUnit_Framework_TestCase
{
/**
* @covers ymlTestCases::ymlTestCases
* @todo Implement testymlTestCases().
*/
public function testymlTestCases()
{
if (class_exists('ymlTestCases')) {
$methods = get_class_methods( 'ymlTestCases');
$this->assertTrue( in_array( 'ymlTestCases', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ymlTestCases::load
* @todo Implement testload().
*/
public function testload()
{
if (class_exists('ymlTestCases')) {
$methods = get_class_methods( 'ymlTestCases');
$this->assertTrue( in_array( 'load', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ymlTestCases::addToPlan
* @todo Implement testaddToPlan().
*/
public function testaddToPlan()
{
if (class_exists('ymlTestCases')) {
$methods = get_class_methods( 'ymlTestCases');
$this->assertTrue( in_array( 'addToPlan', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ymlTestCases::run
* @todo Implement testrun().
*/
public function testrun()
{
if (class_exists('ymlTestCases')) {
$methods = get_class_methods( 'ymlTestCases');
$this->assertTrue( in_array( 'run', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ymlTestCases::runSingle
* @todo Implement testrunSingle().
*/
public function testrunSingle()
{
if (class_exists('ymlTestCases')) {
$methods = get_class_methods( 'ymlTestCases');
$this->assertTrue( in_array( 'runSingle', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ymlTestCases::runMultiple
* @todo Implement testrunMultiple().
*/
public function testrunMultiple()
{
if (class_exists('ymlTestCases')) {
$methods = get_class_methods( 'ymlTestCases');
$this->assertTrue( in_array( 'runMultiple', $methods ), 'seems like this function is outside this class' );
}
}
}