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' );
}
}
}

File diff suppressed because it is too large Load Diff

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' );
}
}
}

File diff suppressed because it is too large Load Diff

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' );
}
}
}

File diff suppressed because it is too large Load Diff

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' );
}
}
}

Some files were not shown because too many files have changed in this diff Show More