BUG 0000 Test Units for workflow.engine.classes

This commit is contained in:
Fernando Ontiveros
2012-05-10 20:57:25 -04:00
parent 31ae1e1d36
commit 871ba8c173
89 changed files with 14729 additions and 1 deletions

View File

@@ -15,7 +15,8 @@
// $fp = fopen( $dispatchIniFile , 'w'); // $fp = fopen( $dispatchIniFile , 'w');
//parsingFolder('gulliver/system', 'class.form.php class.objectTemplate.php class.tree.php class.xmlform.php class.filterForm.php'); //parsingFolder('gulliver/system', 'class.form.php class.objectTemplate.php class.tree.php class.xmlform.php class.filterForm.php');
parsingFolder('gulliver/system', ''); //parsingFolder('gulliver/system', '');
parsingFolder('workflow/engine/classes', '');
function parsingFolder ( $folder, $exceptionsText ) { function parsingFolder ( $folder, $exceptionsText ) {
$baseDir = ROOT_PATH; $baseDir = ROOT_PATH;
@@ -86,6 +87,9 @@
fprintf ( $fp, " require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php'; \n" ); fprintf ( $fp, " require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php'; \n" );
fprintf ( $fp, " require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; \n" ); fprintf ( $fp, " require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php'; \n" );
fprintf ( $fp, " require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php'; \n" ); fprintf ( $fp, " require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php'; \n" );
// setup propel definitions and logging
fprintf ( $fp, " require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;\n" );
fprintf ( $fp, " require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;\n" );
fprintf ( $fp, " require_once PATH_TRUNK . '%s/%s'; \n\n", $folder, $entry ); fprintf ( $fp, " require_once PATH_TRUNK . '%s/%s'; \n\n", $folder, $entry );
fprintf ( $fp, " /** \n" ); fprintf ( $fp, " /** \n" );
fprintf ( $fp, " * Generated by ProcessMaker Test Unit Generator on %s at %s.\n", date('Y-m-d'), date('H:i:s') ); fprintf ( $fp, " * Generated by ProcessMaker Test Unit Generator on %s at %s.\n", date('Y-m-d'), date('H:i:s') );

View File

@@ -0,0 +1,75 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.applications.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:11.
*/
class classApplicationsTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Applications::getAll
* @todo Implement testgetAll().
*/
public function testgetAll()
{
if (class_exists('Applications')) {
$methods = get_class_methods( 'Applications');
$this->assertTrue( in_array( 'getAll', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Applications::setDefaultFields
* @todo Implement testsetDefaultFields().
*/
public function testsetDefaultFields()
{
if (class_exists('Applications')) {
$methods = get_class_methods( 'Applications');
$this->assertTrue( in_array( 'setDefaultFields', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Applications::getDefaultFields
* @todo Implement testgetDefaultFields().
*/
public function testgetDefaultFields()
{
if (class_exists('Applications')) {
$methods = get_class_methods( 'Applications');
$this->assertTrue( in_array( 'getDefaultFields', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Applications::genericJsonResponse
* @todo Implement testgenericJsonResponse().
*/
public function testgenericJsonResponse()
{
if (class_exists('Applications')) {
$methods = get_class_methods( 'Applications');
$this->assertTrue( in_array( 'genericJsonResponse', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Applications::getSteps
* @todo Implement testgetSteps().
*/
public function testgetSteps()
{
if (class_exists('Applications')) {
$methods = get_class_methods( 'Applications');
$this->assertTrue( in_array( 'getSteps', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,267 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.ArrayPeer.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classArrayBasePeerTest extends PHPUnit_Framework_TestCase
{
/**
* @covers ArrayBasePeer::getMapBuilder
* @todo Implement testgetMapBuilder().
*/
public function testgetMapBuilder()
{
if (class_exists('ArrayBasePeer')) {
$methods = get_class_methods( 'ArrayBasePeer');
$this->assertTrue( in_array( 'getMapBuilder', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ArrayBasePeer::getPhpNameMap
* @todo Implement testgetPhpNameMap().
*/
public function testgetPhpNameMap()
{
if (class_exists('ArrayBasePeer')) {
$methods = get_class_methods( 'ArrayBasePeer');
$this->assertTrue( in_array( 'getPhpNameMap', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ArrayBasePeer::translateFieldName
* @todo Implement testtranslateFieldName().
*/
public function testtranslateFieldName()
{
if (class_exists('ArrayBasePeer')) {
$methods = get_class_methods( 'ArrayBasePeer');
$this->assertTrue( in_array( 'translateFieldName', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ArrayBasePeer::getFieldNames
* @todo Implement testgetFieldNames().
*/
public function testgetFieldNames()
{
if (class_exists('ArrayBasePeer')) {
$methods = get_class_methods( 'ArrayBasePeer');
$this->assertTrue( in_array( 'getFieldNames', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ArrayBasePeer::alias
* @todo Implement testalias().
*/
public function testalias()
{
if (class_exists('ArrayBasePeer')) {
$methods = get_class_methods( 'ArrayBasePeer');
$this->assertTrue( in_array( 'alias', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ArrayBasePeer::addSelectColumns
* @todo Implement testaddSelectColumns().
*/
public function testaddSelectColumns()
{
if (class_exists('ArrayBasePeer')) {
$methods = get_class_methods( 'ArrayBasePeer');
$this->assertTrue( in_array( 'addSelectColumns', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ArrayBasePeer::doCount
* @todo Implement testdoCount().
*/
public function testdoCount()
{
if (class_exists('ArrayBasePeer')) {
$methods = get_class_methods( 'ArrayBasePeer');
$this->assertTrue( in_array( 'doCount', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ArrayBasePeer::doSelectOne
* @todo Implement testdoSelectOne().
*/
public function testdoSelectOne()
{
if (class_exists('ArrayBasePeer')) {
$methods = get_class_methods( 'ArrayBasePeer');
$this->assertTrue( in_array( 'doSelectOne', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ArrayBasePeer::createSelectSql
* @todo Implement testcreateSelectSql().
*/
public function testcreateSelectSql()
{
if (class_exists('ArrayBasePeer')) {
$methods = get_class_methods( 'ArrayBasePeer');
$this->assertTrue( in_array( 'createSelectSql', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ArrayBasePeer::doSelect
* @todo Implement testdoSelect().
*/
public function testdoSelect()
{
if (class_exists('ArrayBasePeer')) {
$methods = get_class_methods( 'ArrayBasePeer');
$this->assertTrue( in_array( 'doSelect', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ArrayBasePeer::doSelectRS
* @todo Implement testdoSelectRS().
*/
public function testdoSelectRS()
{
if (class_exists('ArrayBasePeer')) {
$methods = get_class_methods( 'ArrayBasePeer');
$this->assertTrue( in_array( 'doSelectRS', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ArrayBasePeer::populateObjects
* @todo Implement testpopulateObjects().
*/
public function testpopulateObjects()
{
if (class_exists('ArrayBasePeer')) {
$methods = get_class_methods( 'ArrayBasePeer');
$this->assertTrue( in_array( 'populateObjects', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ArrayBasePeer::getTableMap
* @todo Implement testgetTableMap().
*/
public function testgetTableMap()
{
if (class_exists('ArrayBasePeer')) {
$methods = get_class_methods( 'ArrayBasePeer');
$this->assertTrue( in_array( 'getTableMap', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ArrayBasePeer::getOMClass
* @todo Implement testgetOMClass().
*/
public function testgetOMClass()
{
if (class_exists('ArrayBasePeer')) {
$methods = get_class_methods( 'ArrayBasePeer');
$this->assertTrue( in_array( 'getOMClass', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ArrayBasePeer::doInsert
* @todo Implement testdoInsert().
*/
public function testdoInsert()
{
if (class_exists('ArrayBasePeer')) {
$methods = get_class_methods( 'ArrayBasePeer');
$this->assertTrue( in_array( 'doInsert', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ArrayBasePeer::doUpdate
* @todo Implement testdoUpdate().
*/
public function testdoUpdate()
{
if (class_exists('ArrayBasePeer')) {
$methods = get_class_methods( 'ArrayBasePeer');
$this->assertTrue( in_array( 'doUpdate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ArrayBasePeer::doDeleteAll
* @todo Implement testdoDeleteAll().
*/
public function testdoDeleteAll()
{
if (class_exists('ArrayBasePeer')) {
$methods = get_class_methods( 'ArrayBasePeer');
$this->assertTrue( in_array( 'doDeleteAll', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ArrayBasePeer::doDelete
* @todo Implement testdoDelete().
*/
public function testdoDelete()
{
if (class_exists('ArrayBasePeer')) {
$methods = get_class_methods( 'ArrayBasePeer');
$this->assertTrue( in_array( 'doDelete', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ArrayBasePeer::doValidate
* @todo Implement testdoValidate().
*/
public function testdoValidate()
{
if (class_exists('ArrayBasePeer')) {
$methods = get_class_methods( 'ArrayBasePeer');
$this->assertTrue( in_array( 'doValidate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ArrayBasePeer::retrieveByPK
* @todo Implement testretrieveByPK().
*/
public function testretrieveByPK()
{
if (class_exists('ArrayBasePeer')) {
$methods = get_class_methods( 'ArrayBasePeer');
$this->assertTrue( in_array( 'retrieveByPK', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ArrayBasePeer::retrieveByPKs
* @todo Implement testretrieveByPKs().
*/
public function testretrieveByPKs()
{
if (class_exists('ArrayBasePeer')) {
$methods = get_class_methods( 'ArrayBasePeer');
$this->assertTrue( in_array( 'retrieveByPKs', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,171 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.cli.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classCLITest extends PHPUnit_Framework_TestCase
{
/**
* @covers CLI::taskName
* @todo Implement testtaskName().
*/
public function testtaskName()
{
if (class_exists('CLI')) {
$methods = get_class_methods( 'CLI');
$this->assertTrue( in_array( 'taskName', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers CLI::taskDescription
* @todo Implement testtaskDescription().
*/
public function testtaskDescription()
{
if (class_exists('CLI')) {
$methods = get_class_methods( 'CLI');
$this->assertTrue( in_array( 'taskDescription', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers CLI::taskArg
* @todo Implement testtaskArg().
*/
public function testtaskArg()
{
if (class_exists('CLI')) {
$methods = get_class_methods( 'CLI');
$this->assertTrue( in_array( 'taskArg', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers CLI::taskOpt
* @todo Implement testtaskOpt().
*/
public function testtaskOpt()
{
if (class_exists('CLI')) {
$methods = get_class_methods( 'CLI');
$this->assertTrue( in_array( 'taskOpt', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers CLI::taskRun
* @todo Implement testtaskRun().
*/
public function testtaskRun()
{
if (class_exists('CLI')) {
$methods = get_class_methods( 'CLI');
$this->assertTrue( in_array( 'taskRun', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers CLI::help
* @todo Implement testhelp().
*/
public function testhelp()
{
if (class_exists('CLI')) {
$methods = get_class_methods( 'CLI');
$this->assertTrue( in_array( 'help', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers CLI::run
* @todo Implement testrun().
*/
public function testrun()
{
if (class_exists('CLI')) {
$methods = get_class_methods( 'CLI');
$this->assertTrue( in_array( 'run', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers CLI::info
* @todo Implement testinfo().
*/
public function testinfo()
{
if (class_exists('CLI')) {
$methods = get_class_methods( 'CLI');
$this->assertTrue( in_array( 'info', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers CLI::warning
* @todo Implement testwarning().
*/
public function testwarning()
{
if (class_exists('CLI')) {
$methods = get_class_methods( 'CLI');
$this->assertTrue( in_array( 'warning', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers CLI::error
* @todo Implement testerror().
*/
public function testerror()
{
if (class_exists('CLI')) {
$methods = get_class_methods( 'CLI');
$this->assertTrue( in_array( 'error', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers CLI::prompt
* @todo Implement testprompt().
*/
public function testprompt()
{
if (class_exists('CLI')) {
$methods = get_class_methods( 'CLI');
$this->assertTrue( in_array( 'prompt', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers CLI::question
* @todo Implement testquestion().
*/
public function testquestion()
{
if (class_exists('CLI')) {
$methods = get_class_methods( 'CLI');
$this->assertTrue( in_array( 'question', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers CLI::logging
* @todo Implement testlogging().
*/
public function testlogging()
{
if (class_exists('CLI')) {
$methods = get_class_methods( 'CLI');
$this->assertTrue( in_array( 'logging', $methods ), 'seems like this function is outside this class' );
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,207 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.configuration.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classConfigurationsTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Configurations::Configurations
* @todo Implement testConfigurations().
*/
public function testConfigurations()
{
if (class_exists('Configurations')) {
$methods = get_class_methods( 'Configurations');
$this->assertTrue( in_array( 'Configurations', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Configurations::arrayClone
* @todo Implement testarrayClone().
*/
public function testarrayClone()
{
if (class_exists('Configurations')) {
$methods = get_class_methods( 'Configurations');
$this->assertTrue( in_array( 'arrayClone', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Configurations::configObject
* @todo Implement testconfigObject().
*/
public function testconfigObject()
{
if (class_exists('Configurations')) {
$methods = get_class_methods( 'Configurations');
$this->assertTrue( in_array( 'configObject', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Configurations::loadConfig
* @todo Implement testloadConfig().
*/
public function testloadConfig()
{
if (class_exists('Configurations')) {
$methods = get_class_methods( 'Configurations');
$this->assertTrue( in_array( 'loadConfig', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Configurations::load
* @todo Implement testload().
*/
public function testload()
{
if (class_exists('Configurations')) {
$methods = get_class_methods( 'Configurations');
$this->assertTrue( in_array( 'load', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Configurations::saveConfig
* @todo Implement testsaveConfig().
*/
public function testsaveConfig()
{
if (class_exists('Configurations')) {
$methods = get_class_methods( 'Configurations');
$this->assertTrue( in_array( 'saveConfig', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Configurations::saveObject
* @todo Implement testsaveObject().
*/
public function testsaveObject()
{
if (class_exists('Configurations')) {
$methods = get_class_methods( 'Configurations');
$this->assertTrue( in_array( 'saveObject', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Configurations::loadObject
* @todo Implement testloadObject().
*/
public function testloadObject()
{
if (class_exists('Configurations')) {
$methods = get_class_methods( 'Configurations');
$this->assertTrue( in_array( 'loadObject', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Configurations::getConfiguration
* @todo Implement testgetConfiguration().
*/
public function testgetConfiguration()
{
if (class_exists('Configurations')) {
$methods = get_class_methods( 'Configurations');
$this->assertTrue( in_array( 'getConfiguration', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Configurations::usersNameFormat
* @todo Implement testusersNameFormat().
*/
public function testusersNameFormat()
{
if (class_exists('Configurations')) {
$methods = get_class_methods( 'Configurations');
$this->assertTrue( in_array( 'usersNameFormat', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Configurations::getFormats
* @todo Implement testgetFormats().
*/
public function testgetFormats()
{
if (class_exists('Configurations')) {
$methods = get_class_methods( 'Configurations');
$this->assertTrue( in_array( 'getFormats', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Configurations::setConfig
* @todo Implement testsetConfig().
*/
public function testsetConfig()
{
if (class_exists('Configurations')) {
$methods = get_class_methods( 'Configurations');
$this->assertTrue( in_array( 'setConfig', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Configurations::getDateFormats
* @todo Implement testgetDateFormats().
*/
public function testgetDateFormats()
{
if (class_exists('Configurations')) {
$methods = get_class_methods( 'Configurations');
$this->assertTrue( in_array( 'getDateFormats', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Configurations::getUserNameFormats
* @todo Implement testgetUserNameFormats().
*/
public function testgetUserNameFormats()
{
if (class_exists('Configurations')) {
$methods = get_class_methods( 'Configurations');
$this->assertTrue( in_array( 'getUserNameFormats', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Configurations::getSystemDate
* @todo Implement testgetSystemDate().
*/
public function testgetSystemDate()
{
if (class_exists('Configurations')) {
$methods = get_class_methods( 'Configurations');
$this->assertTrue( in_array( 'getSystemDate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Configurations::getEnvSetting
* @todo Implement testgetEnvSetting().
*/
public function testgetEnvSetting()
{
if (class_exists('Configurations')) {
$methods = get_class_methods( 'Configurations');
$this->assertTrue( in_array( 'getEnvSetting', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,171 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.derivation.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:12.
*/
class classDerivationTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Derivation::prepareInformation
* @todo Implement testprepareInformation().
*/
public function testprepareInformation()
{
if (class_exists('Derivation')) {
$methods = get_class_methods( 'Derivation');
$this->assertTrue( in_array( 'prepareInformation', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Derivation::getRouteCondition
* @todo Implement testgetRouteCondition().
*/
public function testgetRouteCondition()
{
if (class_exists('Derivation')) {
$methods = get_class_methods( 'Derivation');
$this->assertTrue( in_array( 'getRouteCondition', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Derivation::GetAppParentIndex
* @todo Implement testGetAppParentIndex().
*/
public function testGetAppParentIndex()
{
if (class_exists('Derivation')) {
$methods = get_class_methods( 'Derivation');
$this->assertTrue( in_array( 'GetAppParentIndex', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Derivation::getAllUsersFromAnyTask
* @todo Implement testgetAllUsersFromAnyTask().
*/
public function testgetAllUsersFromAnyTask()
{
if (class_exists('Derivation')) {
$methods = get_class_methods( 'Derivation');
$this->assertTrue( in_array( 'getAllUsersFromAnyTask', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Derivation::getUsersFullNameFromArray
* @todo Implement testgetUsersFullNameFromArray().
*/
public function testgetUsersFullNameFromArray()
{
if (class_exists('Derivation')) {
$methods = get_class_methods( 'Derivation');
$this->assertTrue( in_array( 'getUsersFullNameFromArray', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Derivation::getNextAssignedUser
* @todo Implement testgetNextAssignedUser().
*/
public function testgetNextAssignedUser()
{
if (class_exists('Derivation')) {
$methods = get_class_methods( 'Derivation');
$this->assertTrue( in_array( 'getNextAssignedUser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Derivation::getDenpendentUser
* @todo Implement testgetDenpendentUser().
*/
public function testgetDenpendentUser()
{
if (class_exists('Derivation')) {
$methods = get_class_methods( 'Derivation');
$this->assertTrue( in_array( 'getDenpendentUser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Derivation::setTasLastAssigned
* @todo Implement testsetTasLastAssigned().
*/
public function testsetTasLastAssigned()
{
if (class_exists('Derivation')) {
$methods = get_class_methods( 'Derivation');
$this->assertTrue( in_array( 'setTasLastAssigned', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Derivation::derivate
* @todo Implement testderivate().
*/
public function testderivate()
{
if (class_exists('Derivation')) {
$methods = get_class_methods( 'Derivation');
$this->assertTrue( in_array( 'derivate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Derivation::doDerivation
* @todo Implement testdoDerivation().
*/
public function testdoDerivation()
{
if (class_exists('Derivation')) {
$methods = get_class_methods( 'Derivation');
$this->assertTrue( in_array( 'doDerivation', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Derivation::verifyIsCaseChild
* @todo Implement testverifyIsCaseChild().
*/
public function testverifyIsCaseChild()
{
if (class_exists('Derivation')) {
$methods = get_class_methods( 'Derivation');
$this->assertTrue( in_array( 'verifyIsCaseChild', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Derivation::getDerivatedCases
* @todo Implement testgetDerivatedCases().
*/
public function testgetDerivatedCases()
{
if (class_exists('Derivation')) {
$methods = get_class_methods( 'Derivation');
$this->assertTrue( in_array( 'getDerivatedCases', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Derivation::getGrpUser
* @todo Implement testgetGrpUser().
*/
public function testgetGrpUser()
{
if (class_exists('Derivation')) {
$methods = get_class_methods( 'Derivation');
$this->assertTrue( in_array( 'getGrpUser', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,75 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.dynaFormField.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classDynaFormFieldTest extends PHPUnit_Framework_TestCase
{
/**
* @covers DynaFormField::SetTo
* @todo Implement testSetTo().
*/
public function testSetTo()
{
if (class_exists('DynaFormField')) {
$methods = get_class_methods( 'DynaFormField');
$this->assertTrue( in_array( 'SetTo', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DynaFormField::Load
* @todo Implement testLoad().
*/
public function testLoad()
{
if (class_exists('DynaFormField')) {
$methods = get_class_methods( 'DynaFormField');
$this->assertTrue( in_array( 'Load', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DynaFormField::Delete
* @todo Implement testDelete().
*/
public function testDelete()
{
if (class_exists('DynaFormField')) {
$methods = get_class_methods( 'DynaFormField');
$this->assertTrue( in_array( 'Delete', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DynaFormField::Save
* @todo Implement testSave().
*/
public function testSave()
{
if (class_exists('DynaFormField')) {
$methods = get_class_methods( 'DynaFormField');
$this->assertTrue( in_array( 'Save', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers DynaFormField::isNew
* @todo Implement testisNew().
*/
public function testisNew()
{
if (class_exists('DynaFormField')) {
$methods = get_class_methods( 'DynaFormField');
$this->assertTrue( in_array( 'isNew', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,51 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.groupUser.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classGroupUserTest extends PHPUnit_Framework_TestCase
{
/**
* @covers GroupUser::GroupUser
* @todo Implement testGroupUser().
*/
public function testGroupUser()
{
if (class_exists('GroupUser')) {
$methods = get_class_methods( 'GroupUser');
$this->assertTrue( in_array( 'GroupUser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers GroupUser::setTo
* @todo Implement testsetTo().
*/
public function testsetTo()
{
if (class_exists('GroupUser')) {
$methods = get_class_methods( 'GroupUser');
$this->assertTrue( in_array( 'setTo', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers GroupUser::ofToAssignUser
* @todo Implement testofToAssignUser().
*/
public function testofToAssignUser()
{
if (class_exists('GroupUser')) {
$methods = get_class_methods( 'GroupUser');
$this->assertTrue( in_array( 'ofToAssignUser', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,219 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.groups.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:12.
*/
class classGroupsTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Groups::getUsersOfGroup
* @todo Implement testgetUsersOfGroup().
*/
public function testgetUsersOfGroup()
{
if (class_exists('Groups')) {
$methods = get_class_methods( 'Groups');
$this->assertTrue( in_array( 'getUsersOfGroup', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Groups::getActiveGroupsForAnUser
* @todo Implement testgetActiveGroupsForAnUser().
*/
public function testgetActiveGroupsForAnUser()
{
if (class_exists('Groups')) {
$methods = get_class_methods( 'Groups');
$this->assertTrue( in_array( 'getActiveGroupsForAnUser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Groups::addUserToGroup
* @todo Implement testaddUserToGroup().
*/
public function testaddUserToGroup()
{
if (class_exists('Groups')) {
$methods = get_class_methods( 'Groups');
$this->assertTrue( in_array( 'addUserToGroup', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Groups::removeUserOfGroup
* @todo Implement testremoveUserOfGroup().
*/
public function testremoveUserOfGroup()
{
if (class_exists('Groups')) {
$methods = get_class_methods( 'Groups');
$this->assertTrue( in_array( 'removeUserOfGroup', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Groups::getAllGroups
* @todo Implement testgetAllGroups().
*/
public function testgetAllGroups()
{
if (class_exists('Groups')) {
$methods = get_class_methods( 'Groups');
$this->assertTrue( in_array( 'getAllGroups', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Groups::getUserGroups
* @todo Implement testgetUserGroups().
*/
public function testgetUserGroups()
{
if (class_exists('Groups')) {
$methods = get_class_methods( 'Groups');
$this->assertTrue( in_array( 'getUserGroups', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Groups::getAvailableGroupsCriteria
* @todo Implement testgetAvailableGroupsCriteria().
*/
public function testgetAvailableGroupsCriteria()
{
if (class_exists('Groups')) {
$methods = get_class_methods( 'Groups');
$this->assertTrue( in_array( 'getAvailableGroupsCriteria', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Groups::getAssignedGroupsCriteria
* @todo Implement testgetAssignedGroupsCriteria().
*/
public function testgetAssignedGroupsCriteria()
{
if (class_exists('Groups')) {
$methods = get_class_methods( 'Groups');
$this->assertTrue( in_array( 'getAssignedGroupsCriteria', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Groups::getGroupsForUser
* @todo Implement testgetGroupsForUser().
*/
public function testgetGroupsForUser()
{
if (class_exists('Groups')) {
$methods = get_class_methods( 'Groups');
$this->assertTrue( in_array( 'getGroupsForUser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Groups::removeUserOfAllGroups
* @todo Implement testremoveUserOfAllGroups().
*/
public function testremoveUserOfAllGroups()
{
if (class_exists('Groups')) {
$methods = get_class_methods( 'Groups');
$this->assertTrue( in_array( 'removeUserOfAllGroups', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Groups::getUsersGroupCriteria
* @todo Implement testgetUsersGroupCriteria().
*/
public function testgetUsersGroupCriteria()
{
if (class_exists('Groups')) {
$methods = get_class_methods( 'Groups');
$this->assertTrue( in_array( 'getUsersGroupCriteria', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Groups::getUserGroupsCriteria
* @todo Implement testgetUserGroupsCriteria().
*/
public function testgetUserGroupsCriteria()
{
if (class_exists('Groups')) {
$methods = get_class_methods( 'Groups');
$this->assertTrue( in_array( 'getUserGroupsCriteria', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Groups::getNumberGroups
* @todo Implement testgetNumberGroups().
*/
public function testgetNumberGroups()
{
if (class_exists('Groups')) {
$methods = get_class_methods( 'Groups');
$this->assertTrue( in_array( 'getNumberGroups', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Groups::getAvailableUsersCriteria
* @todo Implement testgetAvailableUsersCriteria().
*/
public function testgetAvailableUsersCriteria()
{
if (class_exists('Groups')) {
$methods = get_class_methods( 'Groups');
$this->assertTrue( in_array( 'getAvailableUsersCriteria', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Groups::verifyUsertoGroup
* @todo Implement testverifyUsertoGroup().
*/
public function testverifyUsertoGroup()
{
if (class_exists('Groups')) {
$methods = get_class_methods( 'Groups');
$this->assertTrue( in_array( 'verifyUsertoGroup', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Groups::verifyGroup
* @todo Implement testverifyGroup().
*/
public function testverifyGroup()
{
if (class_exists('Groups')) {
$methods = get_class_methods( 'Groups');
$this->assertTrue( in_array( 'verifyGroup', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Groups::load
* @todo Implement testload().
*/
public function testload()
{
if (class_exists('Groups')) {
$methods = get_class_methods( 'Groups');
$this->assertTrue( in_array( 'load', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,255 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.BasePeer.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:11.
*/
class classGulliverBasePeerTest extends PHPUnit_Framework_TestCase
{
/**
* @covers GulliverBasePeer::getMapBuilder
* @todo Implement testgetMapBuilder().
*/
public function testgetMapBuilder()
{
if (class_exists('GulliverBasePeer')) {
$methods = get_class_methods( 'GulliverBasePeer');
$this->assertTrue( in_array( 'getMapBuilder', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers GulliverBasePeer::getPhpNameMap
* @todo Implement testgetPhpNameMap().
*/
public function testgetPhpNameMap()
{
if (class_exists('GulliverBasePeer')) {
$methods = get_class_methods( 'GulliverBasePeer');
$this->assertTrue( in_array( 'getPhpNameMap', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers GulliverBasePeer::translateFieldName
* @todo Implement testtranslateFieldName().
*/
public function testtranslateFieldName()
{
if (class_exists('GulliverBasePeer')) {
$methods = get_class_methods( 'GulliverBasePeer');
$this->assertTrue( in_array( 'translateFieldName', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers GulliverBasePeer::getFieldNames
* @todo Implement testgetFieldNames().
*/
public function testgetFieldNames()
{
if (class_exists('GulliverBasePeer')) {
$methods = get_class_methods( 'GulliverBasePeer');
$this->assertTrue( in_array( 'getFieldNames', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers GulliverBasePeer::alias
* @todo Implement testalias().
*/
public function testalias()
{
if (class_exists('GulliverBasePeer')) {
$methods = get_class_methods( 'GulliverBasePeer');
$this->assertTrue( in_array( 'alias', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers GulliverBasePeer::addSelectColumns
* @todo Implement testaddSelectColumns().
*/
public function testaddSelectColumns()
{
if (class_exists('GulliverBasePeer')) {
$methods = get_class_methods( 'GulliverBasePeer');
$this->assertTrue( in_array( 'addSelectColumns', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers GulliverBasePeer::doCount
* @todo Implement testdoCount().
*/
public function testdoCount()
{
if (class_exists('GulliverBasePeer')) {
$methods = get_class_methods( 'GulliverBasePeer');
$this->assertTrue( in_array( 'doCount', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers GulliverBasePeer::doSelectOne
* @todo Implement testdoSelectOne().
*/
public function testdoSelectOne()
{
if (class_exists('GulliverBasePeer')) {
$methods = get_class_methods( 'GulliverBasePeer');
$this->assertTrue( in_array( 'doSelectOne', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers GulliverBasePeer::doSelect
* @todo Implement testdoSelect().
*/
public function testdoSelect()
{
if (class_exists('GulliverBasePeer')) {
$methods = get_class_methods( 'GulliverBasePeer');
$this->assertTrue( in_array( 'doSelect', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers GulliverBasePeer::doSelectRS
* @todo Implement testdoSelectRS().
*/
public function testdoSelectRS()
{
if (class_exists('GulliverBasePeer')) {
$methods = get_class_methods( 'GulliverBasePeer');
$this->assertTrue( in_array( 'doSelectRS', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers GulliverBasePeer::populateObjects
* @todo Implement testpopulateObjects().
*/
public function testpopulateObjects()
{
if (class_exists('GulliverBasePeer')) {
$methods = get_class_methods( 'GulliverBasePeer');
$this->assertTrue( in_array( 'populateObjects', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers GulliverBasePeer::getTableMap
* @todo Implement testgetTableMap().
*/
public function testgetTableMap()
{
if (class_exists('GulliverBasePeer')) {
$methods = get_class_methods( 'GulliverBasePeer');
$this->assertTrue( in_array( 'getTableMap', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers GulliverBasePeer::getOMClass
* @todo Implement testgetOMClass().
*/
public function testgetOMClass()
{
if (class_exists('GulliverBasePeer')) {
$methods = get_class_methods( 'GulliverBasePeer');
$this->assertTrue( in_array( 'getOMClass', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers GulliverBasePeer::doInsert
* @todo Implement testdoInsert().
*/
public function testdoInsert()
{
if (class_exists('GulliverBasePeer')) {
$methods = get_class_methods( 'GulliverBasePeer');
$this->assertTrue( in_array( 'doInsert', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers GulliverBasePeer::doUpdate
* @todo Implement testdoUpdate().
*/
public function testdoUpdate()
{
if (class_exists('GulliverBasePeer')) {
$methods = get_class_methods( 'GulliverBasePeer');
$this->assertTrue( in_array( 'doUpdate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers GulliverBasePeer::doDeleteAll
* @todo Implement testdoDeleteAll().
*/
public function testdoDeleteAll()
{
if (class_exists('GulliverBasePeer')) {
$methods = get_class_methods( 'GulliverBasePeer');
$this->assertTrue( in_array( 'doDeleteAll', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers GulliverBasePeer::doDelete
* @todo Implement testdoDelete().
*/
public function testdoDelete()
{
if (class_exists('GulliverBasePeer')) {
$methods = get_class_methods( 'GulliverBasePeer');
$this->assertTrue( in_array( 'doDelete', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers GulliverBasePeer::doValidate
* @todo Implement testdoValidate().
*/
public function testdoValidate()
{
if (class_exists('GulliverBasePeer')) {
$methods = get_class_methods( 'GulliverBasePeer');
$this->assertTrue( in_array( 'doValidate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers GulliverBasePeer::retrieveByPK
* @todo Implement testretrieveByPK().
*/
public function testretrieveByPK()
{
if (class_exists('GulliverBasePeer')) {
$methods = get_class_methods( 'GulliverBasePeer');
$this->assertTrue( in_array( 'retrieveByPK', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers GulliverBasePeer::retrieveByPKs
* @todo Implement testretrieveByPKs().
*/
public function testretrieveByPKs()
{
if (class_exists('GulliverBasePeer')) {
$methods = get_class_methods( 'GulliverBasePeer');
$this->assertTrue( in_array( 'retrieveByPKs', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,219 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.Installer.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classInstallerTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Installer::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('Installer')) {
$methods = get_class_methods( 'Installer');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Installer::create_site
* @todo Implement testcreate_site().
*/
public function testcreate_site()
{
if (class_exists('Installer')) {
$methods = get_class_methods( 'Installer');
$this->assertTrue( in_array( 'create_site', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Installer::isset_site
* @todo Implement testisset_site().
*/
public function testisset_site()
{
if (class_exists('Installer')) {
$methods = get_class_methods( 'Installer');
$this->assertTrue( in_array( 'isset_site', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Installer::create_site_test
* @todo Implement testcreate_site_test().
*/
public function testcreate_site_test()
{
if (class_exists('Installer')) {
$methods = get_class_methods( 'Installer');
$this->assertTrue( in_array( 'create_site_test', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Installer::make_site
* @todo Implement testmake_site().
*/
public function testmake_site()
{
if (class_exists('Installer')) {
$methods = get_class_methods( 'Installer');
$this->assertTrue( in_array( 'make_site', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Installer::set_admin
* @todo Implement testset_admin().
*/
public function testset_admin()
{
if (class_exists('Installer')) {
$methods = get_class_methods( 'Installer');
$this->assertTrue( in_array( 'set_admin', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Installer::run_query
* @todo Implement testrun_query().
*/
public function testrun_query()
{
if (class_exists('Installer')) {
$methods = get_class_methods( 'Installer');
$this->assertTrue( in_array( 'run_query', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Installer::query_sql_file
* @todo Implement testquery_sql_file().
*/
public function testquery_sql_file()
{
if (class_exists('Installer')) {
$methods = get_class_methods( 'Installer');
$this->assertTrue( in_array( 'query_sql_file', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Installer::check_path
* @todo Implement testcheck_path().
*/
public function testcheck_path()
{
if (class_exists('Installer')) {
$methods = get_class_methods( 'Installer');
$this->assertTrue( in_array( 'check_path', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Installer::find_root_path
* @todo Implement testfind_root_path().
*/
public function testfind_root_path()
{
if (class_exists('Installer')) {
$methods = get_class_methods( 'Installer');
$this->assertTrue( in_array( 'find_root_path', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Installer::file_permisions
* @todo Implement testfile_permisions().
*/
public function testfile_permisions()
{
if (class_exists('Installer')) {
$methods = get_class_methods( 'Installer');
$this->assertTrue( in_array( 'file_permisions', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Installer::is_dir_writable
* @todo Implement testis_dir_writable().
*/
public function testis_dir_writable()
{
if (class_exists('Installer')) {
$methods = get_class_methods( 'Installer');
$this->assertTrue( in_array( 'is_dir_writable', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Installer::getDirectoryFiles
* @todo Implement testgetDirectoryFiles().
*/
public function testgetDirectoryFiles()
{
if (class_exists('Installer')) {
$methods = get_class_methods( 'Installer');
$this->assertTrue( in_array( 'getDirectoryFiles', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Installer::check_db_empty
* @todo Implement testcheck_db_empty().
*/
public function testcheck_db_empty()
{
if (class_exists('Installer')) {
$methods = get_class_methods( 'Installer');
$this->assertTrue( in_array( 'check_db_empty', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Installer::check_db
* @todo Implement testcheck_db().
*/
public function testcheck_db()
{
if (class_exists('Installer')) {
$methods = get_class_methods( 'Installer');
$this->assertTrue( in_array( 'check_db', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Installer::check_connection
* @todo Implement testcheck_connection().
*/
public function testcheck_connection()
{
if (class_exists('Installer')) {
$methods = get_class_methods( 'Installer');
$this->assertTrue( in_array( 'check_connection', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Installer::log
* @todo Implement testlog().
*/
public function testlog()
{
if (class_exists('Installer')) {
$methods = get_class_methods( 'Installer');
$this->assertTrue( in_array( 'log', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,51 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.javaBridgePM.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classJavaBridgePMTest extends PHPUnit_Framework_TestCase
{
/**
* @covers JavaBridgePM::checkJavaExtension
* @todo Implement testcheckJavaExtension().
*/
public function testcheckJavaExtension()
{
if (class_exists('JavaBridgePM')) {
$methods = get_class_methods( 'JavaBridgePM');
$this->assertTrue( in_array( 'checkJavaExtension', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers JavaBridgePM::convertValue
* @todo Implement testconvertValue().
*/
public function testconvertValue()
{
if (class_exists('JavaBridgePM')) {
$methods = get_class_methods( 'JavaBridgePM');
$this->assertTrue( in_array( 'convertValue', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers JavaBridgePM::generateJrxmlFromDynaform
* @todo Implement testgenerateJrxmlFromDynaform().
*/
public function testgenerateJrxmlFromDynaform()
{
if (class_exists('JavaBridgePM')) {
$methods = get_class_methods( 'JavaBridgePM');
$this->assertTrue( in_array( 'generateJrxmlFromDynaform', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,111 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.jrml.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:12.
*/
class classJrmlTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Jrml::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('Jrml')) {
$methods = get_class_methods( 'Jrml');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Jrml::get_rows
* @todo Implement testget_rows().
*/
public function testget_rows()
{
if (class_exists('Jrml')) {
$methods = get_class_methods( 'Jrml');
$this->assertTrue( in_array( 'get_rows', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Jrml::get_md
* @todo Implement testget_md().
*/
public function testget_md()
{
if (class_exists('Jrml')) {
$methods = get_class_methods( 'Jrml');
$this->assertTrue( in_array( 'get_md', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Jrml::get_header
* @todo Implement testget_header().
*/
public function testget_header()
{
if (class_exists('Jrml')) {
$methods = get_class_methods( 'Jrml');
$this->assertTrue( in_array( 'get_header', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Jrml::get_column_header
* @todo Implement testget_column_header().
*/
public function testget_column_header()
{
if (class_exists('Jrml')) {
$methods = get_class_methods( 'Jrml');
$this->assertTrue( in_array( 'get_column_header', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Jrml::get_detail
* @todo Implement testget_detail().
*/
public function testget_detail()
{
if (class_exists('Jrml')) {
$methods = get_class_methods( 'Jrml');
$this->assertTrue( in_array( 'get_detail', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Jrml::get_footer
* @todo Implement testget_footer().
*/
public function testget_footer()
{
if (class_exists('Jrml')) {
$methods = get_class_methods( 'Jrml');
$this->assertTrue( in_array( 'get_footer', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Jrml::export
* @todo Implement testexport().
*/
public function testexport()
{
if (class_exists('Jrml')) {
$methods = get_class_methods( 'Jrml');
$this->assertTrue( in_array( 'export', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,183 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.net.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classNETTest extends PHPUnit_Framework_TestCase
{
/**
* @covers NET::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('NET')) {
$methods = get_class_methods( 'NET');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers NET::resolv
* @todo Implement testresolv().
*/
public function testresolv()
{
if (class_exists('NET')) {
$methods = get_class_methods( 'NET');
$this->assertTrue( in_array( 'resolv', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers NET::scannPort
* @todo Implement testscannPort().
*/
public function testscannPort()
{
if (class_exists('NET')) {
$methods = get_class_methods( 'NET');
$this->assertTrue( in_array( 'scannPort', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers NET::is_ipaddress
* @todo Implement testis_ipaddress().
*/
public function testis_ipaddress()
{
if (class_exists('NET')) {
$methods = get_class_methods( 'NET');
$this->assertTrue( in_array( 'is_ipaddress', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers NET::ping
* @todo Implement testping().
*/
public function testping()
{
if (class_exists('NET')) {
$methods = get_class_methods( 'NET');
$this->assertTrue( in_array( 'ping', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers NET::loginDbServer
* @todo Implement testloginDbServer().
*/
public function testloginDbServer()
{
if (class_exists('NET')) {
$methods = get_class_methods( 'NET');
$this->assertTrue( in_array( 'loginDbServer', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers NET::setDataBase
* @todo Implement testsetDataBase().
*/
public function testsetDataBase()
{
if (class_exists('NET')) {
$methods = get_class_methods( 'NET');
$this->assertTrue( in_array( 'setDataBase', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers NET::tryConnectServer
* @todo Implement testtryConnectServer().
*/
public function testtryConnectServer()
{
if (class_exists('NET')) {
$methods = get_class_methods( 'NET');
$this->assertTrue( in_array( 'tryConnectServer', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers NET::tryOpenDataBase
* @todo Implement testtryOpenDataBase().
*/
public function testtryOpenDataBase()
{
if (class_exists('NET')) {
$methods = get_class_methods( 'NET');
$this->assertTrue( in_array( 'tryOpenDataBase', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers NET::getDbServerVersion
* @todo Implement testgetDbServerVersion().
*/
public function testgetDbServerVersion()
{
if (class_exists('NET')) {
$methods = get_class_methods( 'NET');
$this->assertTrue( in_array( 'getDbServerVersion', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers NET::dbName
* @todo Implement testdbName().
*/
public function testdbName()
{
if (class_exists('NET')) {
$methods = get_class_methods( 'NET');
$this->assertTrue( in_array( 'dbName', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers NET::showMsg
* @todo Implement testshowMsg().
*/
public function testshowMsg()
{
if (class_exists('NET')) {
$methods = get_class_methods( 'NET');
$this->assertTrue( in_array( 'showMsg', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers NET::getErrno
* @todo Implement testgetErrno().
*/
public function testgetErrno()
{
if (class_exists('NET')) {
$methods = get_class_methods( 'NET');
$this->assertTrue( in_array( 'getErrno', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers NET::getErrmsg
* @todo Implement testgetErrmsg().
*/
public function testgetErrmsg()
{
if (class_exists('NET')) {
$methods = get_class_methods( 'NET');
$this->assertTrue( in_array( 'getErrmsg', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,51 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.processes.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:12.
*/
class classObjectCellectionTest extends PHPUnit_Framework_TestCase
{
/**
* @covers ObjectCellection::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('ObjectCellection')) {
$methods = get_class_methods( 'ObjectCellection');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ObjectCellection::add
* @todo Implement testadd().
*/
public function testadd()
{
if (class_exists('ObjectCellection')) {
$methods = get_class_methods( 'ObjectCellection');
$this->assertTrue( in_array( 'add', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ObjectCellection::get
* @todo Implement testget().
*/
public function testget()
{
if (class_exists('ObjectCellection')) {
$methods = get_class_methods( 'ObjectCellection');
$this->assertTrue( in_array( 'get', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.processes.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:12.
*/
class classObjectDocumentTest extends PHPUnit_Framework_TestCase
{
/**
* @covers ObjectDocument::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('ObjectDocument')) {
$methods = get_class_methods( 'ObjectDocument');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,171 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.pmDashlet.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classPMDashletTest extends PHPUnit_Framework_TestCase
{
/**
* @covers PMDashlet::getAdditionalFields
* @todo Implement testgetAdditionalFields().
*/
public function testgetAdditionalFields()
{
if (class_exists('PMDashlet')) {
$methods = get_class_methods( 'PMDashlet');
$this->assertTrue( in_array( 'getAdditionalFields', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMDashlet::setup
* @todo Implement testsetup().
*/
public function testsetup()
{
if (class_exists('PMDashlet')) {
$methods = get_class_methods( 'PMDashlet');
$this->assertTrue( in_array( 'setup', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMDashlet::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('PMDashlet')) {
$methods = get_class_methods( 'PMDashlet');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMDashlet::getDashletInstance
* @todo Implement testgetDashletInstance().
*/
public function testgetDashletInstance()
{
if (class_exists('PMDashlet')) {
$methods = get_class_methods( 'PMDashlet');
$this->assertTrue( in_array( 'getDashletInstance', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMDashlet::getDashletObject
* @todo Implement testgetDashletObject().
*/
public function testgetDashletObject()
{
if (class_exists('PMDashlet')) {
$methods = get_class_methods( 'PMDashlet');
$this->assertTrue( in_array( 'getDashletObject', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMDashlet::getDashletsInstances
* @todo Implement testgetDashletsInstances().
*/
public function testgetDashletsInstances()
{
if (class_exists('PMDashlet')) {
$methods = get_class_methods( 'PMDashlet');
$this->assertTrue( in_array( 'getDashletsInstances', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMDashlet::getDashletsInstancesQuantity
* @todo Implement testgetDashletsInstancesQuantity().
*/
public function testgetDashletsInstancesQuantity()
{
if (class_exists('PMDashlet')) {
$methods = get_class_methods( 'PMDashlet');
$this->assertTrue( in_array( 'getDashletsInstancesQuantity', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMDashlet::loadDashletInstance
* @todo Implement testloadDashletInstance().
*/
public function testloadDashletInstance()
{
if (class_exists('PMDashlet')) {
$methods = get_class_methods( 'PMDashlet');
$this->assertTrue( in_array( 'loadDashletInstance', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMDashlet::saveDashletInstance
* @todo Implement testsaveDashletInstance().
*/
public function testsaveDashletInstance()
{
if (class_exists('PMDashlet')) {
$methods = get_class_methods( 'PMDashlet');
$this->assertTrue( in_array( 'saveDashletInstance', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMDashlet::deleteDashletInstance
* @todo Implement testdeleteDashletInstance().
*/
public function testdeleteDashletInstance()
{
if (class_exists('PMDashlet')) {
$methods = get_class_methods( 'PMDashlet');
$this->assertTrue( in_array( 'deleteDashletInstance', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMDashlet::getDashletsInstancesForUser
* @todo Implement testgetDashletsInstancesForUser().
*/
public function testgetDashletsInstancesForUser()
{
if (class_exists('PMDashlet')) {
$methods = get_class_methods( 'PMDashlet');
$this->assertTrue( in_array( 'getDashletsInstancesForUser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMDashlet::getXTemplate
* @todo Implement testgetXTemplate().
*/
public function testgetXTemplate()
{
if (class_exists('PMDashlet')) {
$methods = get_class_methods( 'PMDashlet');
$this->assertTrue( in_array( 'getXTemplate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMDashlet::setIncludePath
* @todo Implement testsetIncludePath().
*/
public function testsetIncludePath()
{
if (class_exists('PMDashlet')) {
$methods = get_class_methods( 'PMDashlet');
$this->assertTrue( in_array( 'setIncludePath', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,687 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.pluginRegistry.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classPMPluginRegistryTest extends PHPUnit_Framework_TestCase
{
/**
* @covers PMPluginRegistry::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::getSingleton
* @todo Implement testgetSingleton().
*/
public function testgetSingleton()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'getSingleton', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::serializeInstance
* @todo Implement testserializeInstance().
*/
public function testserializeInstance()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'serializeInstance', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::unSerializeInstance
* @todo Implement testunSerializeInstance().
*/
public function testunSerializeInstance()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'unSerializeInstance', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::save
* @todo Implement testsave().
*/
public function testsave()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'save', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::registerPlugin
* @todo Implement testregisterPlugin().
*/
public function testregisterPlugin()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'registerPlugin', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::getPluginDetails
* @todo Implement testgetPluginDetails().
*/
public function testgetPluginDetails()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'getPluginDetails', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::enablePlugin
* @todo Implement testenablePlugin().
*/
public function testenablePlugin()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'enablePlugin', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::disablePlugin
* @todo Implement testdisablePlugin().
*/
public function testdisablePlugin()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'disablePlugin', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::getStatusPlugin
* @todo Implement testgetStatusPlugin().
*/
public function testgetStatusPlugin()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'getStatusPlugin', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::installPluginArchive
* @todo Implement testinstallPluginArchive().
*/
public function testinstallPluginArchive()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'installPluginArchive', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::uninstallPlugin
* @todo Implement testuninstallPlugin().
*/
public function testuninstallPlugin()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'uninstallPlugin', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::uninstallPluginWorkspaces
* @todo Implement testuninstallPluginWorkspaces().
*/
public function testuninstallPluginWorkspaces()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'uninstallPluginWorkspaces', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::installPlugin
* @todo Implement testinstallPlugin().
*/
public function testinstallPlugin()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'installPlugin', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::registerMenu
* @todo Implement testregisterMenu().
*/
public function testregisterMenu()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'registerMenu', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::registerDashlets
* @todo Implement testregisterDashlets().
*/
public function testregisterDashlets()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'registerDashlets', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::registerCss
* @todo Implement testregisterCss().
*/
public function testregisterCss()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'registerCss', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::getRegisteredCss
* @todo Implement testgetRegisteredCss().
*/
public function testgetRegisteredCss()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'getRegisteredCss', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::registerJavascript
* @todo Implement testregisterJavascript().
*/
public function testregisterJavascript()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'registerJavascript', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::getRegisteredJavascript
* @todo Implement testgetRegisteredJavascript().
*/
public function testgetRegisteredJavascript()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'getRegisteredJavascript', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::getRegisteredJavascriptBy
* @todo Implement testgetRegisteredJavascriptBy().
*/
public function testgetRegisteredJavascriptBy()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'getRegisteredJavascriptBy', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::unregisterJavascripts
* @todo Implement testunregisterJavascripts().
*/
public function testunregisterJavascripts()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'unregisterJavascripts', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::registerReport
* @todo Implement testregisterReport().
*/
public function testregisterReport()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'registerReport', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::registerPmFunction
* @todo Implement testregisterPmFunction().
*/
public function testregisterPmFunction()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'registerPmFunction', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::registerRedirectLogin
* @todo Implement testregisterRedirectLogin().
*/
public function testregisterRedirectLogin()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'registerRedirectLogin', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::registerFolder
* @todo Implement testregisterFolder().
*/
public function testregisterFolder()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'registerFolder', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::registerStep
* @todo Implement testregisterStep().
*/
public function testregisterStep()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'registerStep', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::isRegisteredFolder
* @todo Implement testisRegisteredFolder().
*/
public function testisRegisteredFolder()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'isRegisteredFolder', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::getMenus
* @todo Implement testgetMenus().
*/
public function testgetMenus()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'getMenus', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::getDashlets
* @todo Implement testgetDashlets().
*/
public function testgetDashlets()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'getDashlets', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::getReports
* @todo Implement testgetReports().
*/
public function testgetReports()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'getReports', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::getPmFunctions
* @todo Implement testgetPmFunctions().
*/
public function testgetPmFunctions()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'getPmFunctions', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::getSteps
* @todo Implement testgetSteps().
*/
public function testgetSteps()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'getSteps', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::getRedirectLogins
* @todo Implement testgetRedirectLogins().
*/
public function testgetRedirectLogins()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'getRedirectLogins', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::executeTriggers
* @todo Implement testexecuteTriggers().
*/
public function testexecuteTriggers()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'executeTriggers', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::existsTrigger
* @todo Implement testexistsTrigger().
*/
public function testexistsTrigger()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'existsTrigger', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::getTriggerInfo
* @todo Implement testgetTriggerInfo().
*/
public function testgetTriggerInfo()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'getTriggerInfo', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::registerTrigger
* @todo Implement testregisterTrigger().
*/
public function testregisterTrigger()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'registerTrigger', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::getPlugin
* @todo Implement testgetPlugin().
*/
public function testgetPlugin()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'getPlugin', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::setCompanyLogo
* @todo Implement testsetCompanyLogo().
*/
public function testsetCompanyLogo()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'setCompanyLogo', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::getCompanyLogo
* @todo Implement testgetCompanyLogo().
*/
public function testgetCompanyLogo()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'getCompanyLogo', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::setupPlugins
* @todo Implement testsetupPlugins().
*/
public function testsetupPlugins()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'setupPlugins', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::executeMethod
* @todo Implement testexecuteMethod().
*/
public function testexecuteMethod()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'executeMethod', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::getFieldsForPageSetup
* @todo Implement testgetFieldsForPageSetup().
*/
public function testgetFieldsForPageSetup()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'getFieldsForPageSetup', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::updateFieldsForPageSetup
* @todo Implement testupdateFieldsForPageSetup().
*/
public function testupdateFieldsForPageSetup()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'updateFieldsForPageSetup', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::eevalidate
* @todo Implement testeevalidate().
*/
public function testeevalidate()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'eevalidate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::registerToolbarFile
* @todo Implement testregisterToolbarFile().
*/
public function testregisterToolbarFile()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'registerToolbarFile', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::getToolbarOptions
* @todo Implement testgetToolbarOptions().
*/
public function testgetToolbarOptions()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'getToolbarOptions', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::registerCaseSchedulerPlugin
* @todo Implement testregisterCaseSchedulerPlugin().
*/
public function testregisterCaseSchedulerPlugin()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'registerCaseSchedulerPlugin', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::getCaseSchedulerPlugins
* @todo Implement testgetCaseSchedulerPlugins().
*/
public function testgetCaseSchedulerPlugins()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'getCaseSchedulerPlugins', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::registerTaskExtendedProperty
* @todo Implement testregisterTaskExtendedProperty().
*/
public function testregisterTaskExtendedProperty()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'registerTaskExtendedProperty', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::registerDashboardPage
* @todo Implement testregisterDashboardPage().
*/
public function testregisterDashboardPage()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'registerDashboardPage', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::getDashboardPages
* @todo Implement testgetDashboardPages().
*/
public function testgetDashboardPages()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'getDashboardPages', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::getTaskExtendedProperties
* @todo Implement testgetTaskExtendedProperties().
*/
public function testgetTaskExtendedProperties()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'getTaskExtendedProperties', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::registerDashboard
* @todo Implement testregisterDashboard().
*/
public function testregisterDashboard()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'registerDashboard', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPluginRegistry::getAttributes
* @todo Implement testgetAttributes().
*/
public function testgetAttributes()
{
if (class_exists('PMPluginRegistry')) {
$methods = get_class_methods( 'PMPluginRegistry');
$this->assertTrue( in_array( 'getAttributes', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,279 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classPMPluginTest extends PHPUnit_Framework_TestCase
{
/**
* @covers PMPlugin::PMPlugin
* @todo Implement testPMPlugin().
*/
public function testPMPlugin()
{
if (class_exists('PMPlugin')) {
$methods = get_class_methods( 'PMPlugin');
$this->assertTrue( in_array( 'PMPlugin', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPlugin::registerMenu
* @todo Implement testregisterMenu().
*/
public function testregisterMenu()
{
if (class_exists('PMPlugin')) {
$methods = get_class_methods( 'PMPlugin');
$this->assertTrue( in_array( 'registerMenu', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPlugin::registerDashlets
* @todo Implement testregisterDashlets().
*/
public function testregisterDashlets()
{
if (class_exists('PMPlugin')) {
$methods = get_class_methods( 'PMPlugin');
$this->assertTrue( in_array( 'registerDashlets', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPlugin::registerReport
* @todo Implement testregisterReport().
*/
public function testregisterReport()
{
if (class_exists('PMPlugin')) {
$methods = get_class_methods( 'PMPlugin');
$this->assertTrue( in_array( 'registerReport', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPlugin::registerPmFunction
* @todo Implement testregisterPmFunction().
*/
public function testregisterPmFunction()
{
if (class_exists('PMPlugin')) {
$methods = get_class_methods( 'PMPlugin');
$this->assertTrue( in_array( 'registerPmFunction', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPlugin::setCompanyLogo
* @todo Implement testsetCompanyLogo().
*/
public function testsetCompanyLogo()
{
if (class_exists('PMPlugin')) {
$methods = get_class_methods( 'PMPlugin');
$this->assertTrue( in_array( 'setCompanyLogo', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPlugin::redirectLogin
* @todo Implement testredirectLogin().
*/
public function testredirectLogin()
{
if (class_exists('PMPlugin')) {
$methods = get_class_methods( 'PMPlugin');
$this->assertTrue( in_array( 'redirectLogin', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPlugin::registerFolder
* @todo Implement testregisterFolder().
*/
public function testregisterFolder()
{
if (class_exists('PMPlugin')) {
$methods = get_class_methods( 'PMPlugin');
$this->assertTrue( in_array( 'registerFolder', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPlugin::registerStep
* @todo Implement testregisterStep().
*/
public function testregisterStep()
{
if (class_exists('PMPlugin')) {
$methods = get_class_methods( 'PMPlugin');
$this->assertTrue( in_array( 'registerStep', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPlugin::registerTrigger
* @todo Implement testregisterTrigger().
*/
public function testregisterTrigger()
{
if (class_exists('PMPlugin')) {
$methods = get_class_methods( 'PMPlugin');
$this->assertTrue( in_array( 'registerTrigger', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPlugin::delete
* @todo Implement testdelete().
*/
public function testdelete()
{
if (class_exists('PMPlugin')) {
$methods = get_class_methods( 'PMPlugin');
$this->assertTrue( in_array( 'delete', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPlugin::copy
* @todo Implement testcopy().
*/
public function testcopy()
{
if (class_exists('PMPlugin')) {
$methods = get_class_methods( 'PMPlugin');
$this->assertTrue( in_array( 'copy', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPlugin::rename
* @todo Implement testrename().
*/
public function testrename()
{
if (class_exists('PMPlugin')) {
$methods = get_class_methods( 'PMPlugin');
$this->assertTrue( in_array( 'rename', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPlugin::registerBreakPageTemplate
* @todo Implement testregisterBreakPageTemplate().
*/
public function testregisterBreakPageTemplate()
{
if (class_exists('PMPlugin')) {
$methods = get_class_methods( 'PMPlugin');
$this->assertTrue( in_array( 'registerBreakPageTemplate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPlugin::registerCss
* @todo Implement testregisterCss().
*/
public function testregisterCss()
{
if (class_exists('PMPlugin')) {
$methods = get_class_methods( 'PMPlugin');
$this->assertTrue( in_array( 'registerCss', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPlugin::registerToolbarFile
* @todo Implement testregisterToolbarFile().
*/
public function testregisterToolbarFile()
{
if (class_exists('PMPlugin')) {
$methods = get_class_methods( 'PMPlugin');
$this->assertTrue( in_array( 'registerToolbarFile', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPlugin::registerCaseSchedulerPlugin
* @todo Implement testregisterCaseSchedulerPlugin().
*/
public function testregisterCaseSchedulerPlugin()
{
if (class_exists('PMPlugin')) {
$methods = get_class_methods( 'PMPlugin');
$this->assertTrue( in_array( 'registerCaseSchedulerPlugin', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPlugin::registerTaskExtendedProperty
* @todo Implement testregisterTaskExtendedProperty().
*/
public function testregisterTaskExtendedProperty()
{
if (class_exists('PMPlugin')) {
$methods = get_class_methods( 'PMPlugin');
$this->assertTrue( in_array( 'registerTaskExtendedProperty', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPlugin::registerJavascript
* @todo Implement testregisterJavascript().
*/
public function testregisterJavascript()
{
if (class_exists('PMPlugin')) {
$methods = get_class_methods( 'PMPlugin');
$this->assertTrue( in_array( 'registerJavascript', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPlugin::unregisterJavascript
* @todo Implement testunregisterJavascript().
*/
public function testunregisterJavascript()
{
if (class_exists('PMPlugin')) {
$methods = get_class_methods( 'PMPlugin');
$this->assertTrue( in_array( 'unregisterJavascript', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPlugin::registerDashboard
* @todo Implement testregisterDashboard().
*/
public function testregisterDashboard()
{
if (class_exists('PMPlugin')) {
$methods = get_class_methods( 'PMPlugin');
$this->assertTrue( in_array( 'registerDashboard', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMPlugin::getExternalStepAction
* @todo Implement testgetExternalStepAction().
*/
public function testgetExternalStepAction()
{
if (class_exists('PMPlugin')) {
$methods = get_class_methods( 'PMPlugin');
$this->assertTrue( in_array( 'getExternalStepAction', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,195 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.pmScript.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classPMScriptTest extends PHPUnit_Framework_TestCase
{
/**
* @covers PMScript::PMScript
* @todo Implement testPMScript().
*/
public function testPMScript()
{
if (class_exists('PMScript')) {
$methods = get_class_methods( 'PMScript');
$this->assertTrue( in_array( 'PMScript', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMScript::setFields
* @todo Implement testsetFields().
*/
public function testsetFields()
{
if (class_exists('PMScript')) {
$methods = get_class_methods( 'PMScript');
$this->assertTrue( in_array( 'setFields', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMScript::setScript
* @todo Implement testsetScript().
*/
public function testsetScript()
{
if (class_exists('PMScript')) {
$methods = get_class_methods( 'PMScript');
$this->assertTrue( in_array( 'setScript', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMScript::validSyntax
* @todo Implement testvalidSyntax().
*/
public function testvalidSyntax()
{
if (class_exists('PMScript')) {
$methods = get_class_methods( 'PMScript');
$this->assertTrue( in_array( 'validSyntax', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMScript::executeAndCatchErrors
* @todo Implement testexecuteAndCatchErrors().
*/
public function testexecuteAndCatchErrors()
{
if (class_exists('PMScript')) {
$methods = get_class_methods( 'PMScript');
$this->assertTrue( in_array( 'executeAndCatchErrors', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMScript::execute
* @todo Implement testexecute().
*/
public function testexecute()
{
if (class_exists('PMScript')) {
$methods = get_class_methods( 'PMScript');
$this->assertTrue( in_array( 'execute', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMScript::evaluate
* @todo Implement testevaluate().
*/
public function testevaluate()
{
if (class_exists('PMScript')) {
$methods = get_class_methods( 'PMScript');
$this->assertTrue( in_array( 'evaluate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMScript::pmToString
* @todo Implement testpmToString().
*/
public function testpmToString()
{
if (class_exists('PMScript')) {
$methods = get_class_methods( 'PMScript');
$this->assertTrue( in_array( 'pmToString', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMScript::pmToInteger
* @todo Implement testpmToInteger().
*/
public function testpmToInteger()
{
if (class_exists('PMScript')) {
$methods = get_class_methods( 'PMScript');
$this->assertTrue( in_array( 'pmToInteger', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMScript::pmToFloat
* @todo Implement testpmToFloat().
*/
public function testpmToFloat()
{
if (class_exists('PMScript')) {
$methods = get_class_methods( 'PMScript');
$this->assertTrue( in_array( 'pmToFloat', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMScript::pmToUrl
* @todo Implement testpmToUrl().
*/
public function testpmToUrl()
{
if (class_exists('PMScript')) {
$methods = get_class_methods( 'PMScript');
$this->assertTrue( in_array( 'pmToUrl', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMScript::pmSqlEscape
* @todo Implement testpmSqlEscape().
*/
public function testpmSqlEscape()
{
if (class_exists('PMScript')) {
$methods = get_class_methods( 'PMScript');
$this->assertTrue( in_array( 'pmSqlEscape', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMScript::handleErrors
* @todo Implement testhandleErrors().
*/
public function testhandleErrors()
{
if (class_exists('PMScript')) {
$methods = get_class_methods( 'PMScript');
$this->assertTrue( in_array( 'handleErrors', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMScript::handleFatalErrors
* @todo Implement testhandleFatalErrors().
*/
public function testhandleFatalErrors()
{
if (class_exists('PMScript')) {
$methods = get_class_methods( 'PMScript');
$this->assertTrue( in_array( 'handleFatalErrors', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMScript::registerError
* @todo Implement testregisterError().
*/
public function testregisterError()
{
if (class_exists('PMScript')) {
$methods = get_class_methods( 'PMScript');
$this->assertTrue( in_array( 'registerError', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,135 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.memcached.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classPMmemcachedTest extends PHPUnit_Framework_TestCase
{
/**
* @covers PMmemcached::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('PMmemcached')) {
$methods = get_class_methods( 'PMmemcached');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMmemcached::getSingleton
* @todo Implement testgetSingleton().
*/
public function testgetSingleton()
{
if (class_exists('PMmemcached')) {
$methods = get_class_methods( 'PMmemcached');
$this->assertTrue( in_array( 'getSingleton', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMmemcached::set
* @todo Implement testset().
*/
public function testset()
{
if (class_exists('PMmemcached')) {
$methods = get_class_methods( 'PMmemcached');
$this->assertTrue( in_array( 'set', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMmemcached::get
* @todo Implement testget().
*/
public function testget()
{
if (class_exists('PMmemcached')) {
$methods = get_class_methods( 'PMmemcached');
$this->assertTrue( in_array( 'get', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMmemcached::add
* @todo Implement testadd().
*/
public function testadd()
{
if (class_exists('PMmemcached')) {
$methods = get_class_methods( 'PMmemcached');
$this->assertTrue( in_array( 'add', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMmemcached::increment
* @todo Implement testincrement().
*/
public function testincrement()
{
if (class_exists('PMmemcached')) {
$methods = get_class_methods( 'PMmemcached');
$this->assertTrue( in_array( 'increment', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMmemcached::delete
* @todo Implement testdelete().
*/
public function testdelete()
{
if (class_exists('PMmemcached')) {
$methods = get_class_methods( 'PMmemcached');
$this->assertTrue( in_array( 'delete', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMmemcached::flush
* @todo Implement testflush().
*/
public function testflush()
{
if (class_exists('PMmemcached')) {
$methods = get_class_methods( 'PMmemcached');
$this->assertTrue( in_array( 'flush', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMmemcached::getStats
* @todo Implement testgetStats().
*/
public function testgetStats()
{
if (class_exists('PMmemcached')) {
$methods = get_class_methods( 'PMmemcached');
$this->assertTrue( in_array( 'getStats', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PMmemcached::printDetails
* @todo Implement testprintDetails().
*/
public function testprintDetails()
{
if (class_exists('PMmemcached')) {
$methods = get_class_methods( 'PMmemcached');
$this->assertTrue( in_array( 'printDetails', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,339 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.pmTable.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classPmTableTest extends PHPUnit_Framework_TestCase
{
/**
* @covers PmTable::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::setColumns
* @todo Implement testsetColumns().
*/
public function testsetColumns()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'setColumns', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::setDataSource
* @todo Implement testsetDataSource().
*/
public function testsetDataSource()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'setDataSource', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::resolveDbSource
* @todo Implement testresolveDbSource().
*/
public function testresolveDbSource()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'resolveDbSource', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::getDataSource
* @todo Implement testgetDataSource().
*/
public function testgetDataSource()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'getDataSource', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::getDbConfig
* @todo Implement testgetDbConfig().
*/
public function testgetDbConfig()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'getDbConfig', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::setAlterTable
* @todo Implement testsetAlterTable().
*/
public function testsetAlterTable()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'setAlterTable', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::build
* @todo Implement testbuild().
*/
public function testbuild()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'build', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::buildModelFor
* @todo Implement testbuildModelFor().
*/
public function testbuildModelFor()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'buildModelFor', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::prepare
* @todo Implement testprepare().
*/
public function testprepare()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'prepare', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::loadSchema
* @todo Implement testloadSchema().
*/
public function testloadSchema()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'loadSchema', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::buildSchema
* @todo Implement testbuildSchema().
*/
public function testbuildSchema()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'buildSchema', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::remove
* @todo Implement testremove().
*/
public function testremove()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'remove', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::removeFromSchema
* @todo Implement testremoveFromSchema().
*/
public function testremoveFromSchema()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'removeFromSchema', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::removeModelFiles
* @todo Implement testremoveModelFiles().
*/
public function testremoveModelFiles()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'removeModelFiles', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::dropTable
* @todo Implement testdropTable().
*/
public function testdropTable()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'dropTable', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::saveSchema
* @todo Implement testsaveSchema().
*/
public function testsaveSchema()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'saveSchema', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::preparePropelIniFile
* @todo Implement testpreparePropelIniFile().
*/
public function testpreparePropelIniFile()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'preparePropelIniFile', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::upgradeDatabase
* @todo Implement testupgradeDatabase().
*/
public function testupgradeDatabase()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'upgradeDatabase', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::upgradeDatabaseFor
* @todo Implement testupgradeDatabaseFor().
*/
public function testupgradeDatabaseFor()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'upgradeDatabaseFor', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::hasAutoIncrementPKey
* @todo Implement testhasAutoIncrementPKey().
*/
public function testhasAutoIncrementPKey()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'hasAutoIncrementPKey', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::getPropelSupportedColumnTypes
* @todo Implement testgetPropelSupportedColumnTypes().
*/
public function testgetPropelSupportedColumnTypes()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'getPropelSupportedColumnTypes', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::toCamelCase
* @todo Implement testtoCamelCase().
*/
public function testtoCamelCase()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'toCamelCase', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::phingbuildModel
* @todo Implement testphingbuildModel().
*/
public function testphingbuildModel()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'phingbuildModel', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::phingbuildSql
* @todo Implement testphingbuildSql().
*/
public function testphingbuildSql()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'phingbuildSql', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::_callPhing
* @todo Implement test_callPhing().
*/
public function test_callPhing()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( '_callPhing', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers PmTable::callPhing
* @todo Implement testcallPhing().
*/
public function testcallPhing()
{
if (class_exists('PmTable')) {
$methods = get_class_methods( 'PmTable');
$this->assertTrue( in_array( 'callPhing', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,231 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.webdav.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classProcessMakerWebDavTest extends PHPUnit_Framework_TestCase
{
/**
* @covers ProcessMakerWebDav::ServeRequest
* @todo Implement testServeRequest().
*/
public function testServeRequest()
{
if (class_exists('ProcessMakerWebDav')) {
$methods = get_class_methods( 'ProcessMakerWebDav');
$this->assertTrue( in_array( 'ServeRequest', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ProcessMakerWebDav::check_auth
* @todo Implement testcheck_auth().
*/
public function testcheck_auth()
{
if (class_exists('ProcessMakerWebDav')) {
$methods = get_class_methods( 'ProcessMakerWebDav');
$this->assertTrue( in_array( 'check_auth', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ProcessMakerWebDav::PROPFIND
* @todo Implement testPROPFIND().
*/
public function testPROPFIND()
{
if (class_exists('ProcessMakerWebDav')) {
$methods = get_class_methods( 'ProcessMakerWebDav');
$this->assertTrue( in_array( 'PROPFIND', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ProcessMakerWebDav::_can_execute
* @todo Implement test_can_execute().
*/
public function test_can_execute()
{
if (class_exists('ProcessMakerWebDav')) {
$methods = get_class_methods( 'ProcessMakerWebDav');
$this->assertTrue( in_array( '_can_execute', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ProcessMakerWebDav::_mimetype
* @todo Implement test_mimetype().
*/
public function test_mimetype()
{
if (class_exists('ProcessMakerWebDav')) {
$methods = get_class_methods( 'ProcessMakerWebDav');
$this->assertTrue( in_array( '_mimetype', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ProcessMakerWebDav::GET
* @todo Implement testGET().
*/
public function testGET()
{
if (class_exists('ProcessMakerWebDav')) {
$methods = get_class_methods( 'ProcessMakerWebDav');
$this->assertTrue( in_array( 'GET', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ProcessMakerWebDav::getRoot
* @todo Implement testgetRoot().
*/
public function testgetRoot()
{
if (class_exists('ProcessMakerWebDav')) {
$methods = get_class_methods( 'ProcessMakerWebDav');
$this->assertTrue( in_array( 'getRoot', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ProcessMakerWebDav::GetDir
* @todo Implement testGetDir().
*/
public function testGetDir()
{
if (class_exists('ProcessMakerWebDav')) {
$methods = get_class_methods( 'ProcessMakerWebDav');
$this->assertTrue( in_array( 'GetDir', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ProcessMakerWebDav::PUT
* @todo Implement testPUT().
*/
public function testPUT()
{
if (class_exists('ProcessMakerWebDav')) {
$methods = get_class_methods( 'ProcessMakerWebDav');
$this->assertTrue( in_array( 'PUT', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ProcessMakerWebDav::MKCOL
* @todo Implement testMKCOL().
*/
public function testMKCOL()
{
if (class_exists('ProcessMakerWebDav')) {
$methods = get_class_methods( 'ProcessMakerWebDav');
$this->assertTrue( in_array( 'MKCOL', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ProcessMakerWebDav::DELETE
* @todo Implement testDELETE().
*/
public function testDELETE()
{
if (class_exists('ProcessMakerWebDav')) {
$methods = get_class_methods( 'ProcessMakerWebDav');
$this->assertTrue( in_array( 'DELETE', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ProcessMakerWebDav::MOVE
* @todo Implement testMOVE().
*/
public function testMOVE()
{
if (class_exists('ProcessMakerWebDav')) {
$methods = get_class_methods( 'ProcessMakerWebDav');
$this->assertTrue( in_array( 'MOVE', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ProcessMakerWebDav::COPY
* @todo Implement testCOPY().
*/
public function testCOPY()
{
if (class_exists('ProcessMakerWebDav')) {
$methods = get_class_methods( 'ProcessMakerWebDav');
$this->assertTrue( in_array( 'COPY', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ProcessMakerWebDav::PROPPATCH
* @todo Implement testPROPPATCH().
*/
public function testPROPPATCH()
{
if (class_exists('ProcessMakerWebDav')) {
$methods = get_class_methods( 'ProcessMakerWebDav');
$this->assertTrue( in_array( 'PROPPATCH', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ProcessMakerWebDav::LOCK
* @todo Implement testLOCK().
*/
public function testLOCK()
{
if (class_exists('ProcessMakerWebDav')) {
$methods = get_class_methods( 'ProcessMakerWebDav');
$this->assertTrue( in_array( 'LOCK', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ProcessMakerWebDav::UNLOCK
* @todo Implement testUNLOCK().
*/
public function testUNLOCK()
{
if (class_exists('ProcessMakerWebDav')) {
$methods = get_class_methods( 'ProcessMakerWebDav');
$this->assertTrue( in_array( 'UNLOCK', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ProcessMakerWebDav::checkLock
* @todo Implement testcheckLock().
*/
public function testcheckLock()
{
if (class_exists('ProcessMakerWebDav')) {
$methods = get_class_methods( 'ProcessMakerWebDav');
$this->assertTrue( in_array( 'checkLock', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ProcessMakerWebDav::create_database
* @todo Implement testcreate_database().
*/
public function testcreate_database()
{
if (class_exists('ProcessMakerWebDav')) {
$methods = get_class_methods( 'ProcessMakerWebDav');
$this->assertTrue( in_array( 'create_database', $methods ), 'seems like this function is outside this class' );
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,147 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.reportTables.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classReportTablesTest extends PHPUnit_Framework_TestCase
{
/**
* @covers ReportTables::deleteAllReportVars
* @todo Implement testdeleteAllReportVars().
*/
public function testdeleteAllReportVars()
{
if (class_exists('ReportTables')) {
$methods = get_class_methods( 'ReportTables');
$this->assertTrue( in_array( 'deleteAllReportVars', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ReportTables::dropTable
* @todo Implement testdropTable().
*/
public function testdropTable()
{
if (class_exists('ReportTables')) {
$methods = get_class_methods( 'ReportTables');
$this->assertTrue( in_array( 'dropTable', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ReportTables::createTable
* @todo Implement testcreateTable().
*/
public function testcreateTable()
{
if (class_exists('ReportTables')) {
$methods = get_class_methods( 'ReportTables');
$this->assertTrue( in_array( 'createTable', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ReportTables::populateTable
* @todo Implement testpopulateTable().
*/
public function testpopulateTable()
{
if (class_exists('ReportTables')) {
$methods = get_class_methods( 'ReportTables');
$this->assertTrue( in_array( 'populateTable', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ReportTables::getTableVars
* @todo Implement testgetTableVars().
*/
public function testgetTableVars()
{
if (class_exists('ReportTables')) {
$methods = get_class_methods( 'ReportTables');
$this->assertTrue( in_array( 'getTableVars', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ReportTables::deleteReportTable
* @todo Implement testdeleteReportTable().
*/
public function testdeleteReportTable()
{
if (class_exists('ReportTables')) {
$methods = get_class_methods( 'ReportTables');
$this->assertTrue( in_array( 'deleteReportTable', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ReportTables::getSplitDate
* @todo Implement testgetSplitDate().
*/
public function testgetSplitDate()
{
if (class_exists('ReportTables')) {
$methods = get_class_methods( 'ReportTables');
$this->assertTrue( in_array( 'getSplitDate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ReportTables::getFormatDate
* @todo Implement testgetFormatDate().
*/
public function testgetFormatDate()
{
if (class_exists('ReportTables')) {
$methods = get_class_methods( 'ReportTables');
$this->assertTrue( in_array( 'getFormatDate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ReportTables::updateTables
* @todo Implement testupdateTables().
*/
public function testupdateTables()
{
if (class_exists('ReportTables')) {
$methods = get_class_methods( 'ReportTables');
$this->assertTrue( in_array( 'updateTables', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ReportTables::tableExist
* @todo Implement testtableExist().
*/
public function testtableExist()
{
if (class_exists('ReportTables')) {
$methods = get_class_methods( 'ReportTables');
$this->assertTrue( in_array( 'tableExist', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers ReportTables::chooseDB
* @todo Implement testchooseDB().
*/
public function testchooseDB()
{
if (class_exists('ReportTables')) {
$methods = get_class_methods( 'ReportTables');
$this->assertTrue( in_array( 'chooseDB', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,183 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.report.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classReportTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Report::generatedReport1
* @todo Implement testgeneratedReport1().
*/
public function testgeneratedReport1()
{
if (class_exists('Report')) {
$methods = get_class_methods( 'Report');
$this->assertTrue( in_array( 'generatedReport1', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Report::generatedReport1_filter
* @todo Implement testgeneratedReport1_filter().
*/
public function testgeneratedReport1_filter()
{
if (class_exists('Report')) {
$methods = get_class_methods( 'Report');
$this->assertTrue( in_array( 'generatedReport1_filter', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Report::descriptionReport1
* @todo Implement testdescriptionReport1().
*/
public function testdescriptionReport1()
{
if (class_exists('Report')) {
$methods = get_class_methods( 'Report');
$this->assertTrue( in_array( 'descriptionReport1', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Report::generatedReport2
* @todo Implement testgeneratedReport2().
*/
public function testgeneratedReport2()
{
if (class_exists('Report')) {
$methods = get_class_methods( 'Report');
$this->assertTrue( in_array( 'generatedReport2', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Report::reports_Description_filter
* @todo Implement testreports_Description_filter().
*/
public function testreports_Description_filter()
{
if (class_exists('Report')) {
$methods = get_class_methods( 'Report');
$this->assertTrue( in_array( 'reports_Description_filter', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Report::generatedReport2_filter
* @todo Implement testgeneratedReport2_filter().
*/
public function testgeneratedReport2_filter()
{
if (class_exists('Report')) {
$methods = get_class_methods( 'Report');
$this->assertTrue( in_array( 'generatedReport2_filter', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Report::generatedReport3
* @todo Implement testgeneratedReport3().
*/
public function testgeneratedReport3()
{
if (class_exists('Report')) {
$methods = get_class_methods( 'Report');
$this->assertTrue( in_array( 'generatedReport3', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Report::generatedReport3_filter
* @todo Implement testgeneratedReport3_filter().
*/
public function testgeneratedReport3_filter()
{
if (class_exists('Report')) {
$methods = get_class_methods( 'Report');
$this->assertTrue( in_array( 'generatedReport3_filter', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Report::generatedReport4
* @todo Implement testgeneratedReport4().
*/
public function testgeneratedReport4()
{
if (class_exists('Report')) {
$methods = get_class_methods( 'Report');
$this->assertTrue( in_array( 'generatedReport4', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Report::generatedReport4_filter
* @todo Implement testgeneratedReport4_filter().
*/
public function testgeneratedReport4_filter()
{
if (class_exists('Report')) {
$methods = get_class_methods( 'Report');
$this->assertTrue( in_array( 'generatedReport4_filter', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Report::generatedReport5
* @todo Implement testgeneratedReport5().
*/
public function testgeneratedReport5()
{
if (class_exists('Report')) {
$methods = get_class_methods( 'Report');
$this->assertTrue( in_array( 'generatedReport5', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Report::generatedReport5_filter
* @todo Implement testgeneratedReport5_filter().
*/
public function testgeneratedReport5_filter()
{
if (class_exists('Report')) {
$methods = get_class_methods( 'Report');
$this->assertTrue( in_array( 'generatedReport5_filter', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Report::getAvailableReports
* @todo Implement testgetAvailableReports().
*/
public function testgetAvailableReports()
{
if (class_exists('Report')) {
$methods = get_class_methods( 'Report');
$this->assertTrue( in_array( 'getAvailableReports', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Report::reportsPatch
* @todo Implement testreportsPatch().
*/
public function testreportsPatch()
{
if (class_exists('Report')) {
$methods = get_class_methods( 'Report');
$this->assertTrue( in_array( 'reportsPatch', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,99 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.sessions.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classSessionsTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Sessions::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('Sessions')) {
$methods = get_class_methods( 'Sessions');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Sessions::getSessionUser
* @todo Implement testgetSessionUser().
*/
public function testgetSessionUser()
{
if (class_exists('Sessions')) {
$methods = get_class_methods( 'Sessions');
$this->assertTrue( in_array( 'getSessionUser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Sessions::verifySession
* @todo Implement testverifySession().
*/
public function testverifySession()
{
if (class_exists('Sessions')) {
$methods = get_class_methods( 'Sessions');
$this->assertTrue( in_array( 'verifySession', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Sessions::registerGlobal
* @todo Implement testregisterGlobal().
*/
public function testregisterGlobal()
{
if (class_exists('Sessions')) {
$methods = get_class_methods( 'Sessions');
$this->assertTrue( in_array( 'registerGlobal', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Sessions::getGlobal
* @todo Implement testgetGlobal().
*/
public function testgetGlobal()
{
if (class_exists('Sessions')) {
$methods = get_class_methods( 'Sessions');
$this->assertTrue( in_array( 'getGlobal', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Sessions::getGlobals
* @todo Implement testgetGlobals().
*/
public function testgetGlobals()
{
if (class_exists('Sessions')) {
$methods = get_class_methods( 'Sessions');
$this->assertTrue( in_array( 'getGlobals', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Sessions::deleteTmpfile
* @todo Implement testdeleteTmpfile().
*/
public function testdeleteTmpfile()
{
if (class_exists('Sessions')) {
$methods = get_class_methods( 'Sessions');
$this->assertTrue( in_array( 'deleteTmpfile', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.net.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classStatTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Stat::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('Stat')) {
$methods = get_class_methods( 'Stat');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,303 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.system.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classSystemTest extends PHPUnit_Framework_TestCase
{
/**
* @covers System::getPlugins
* @todo Implement testgetPlugins().
*/
public function testgetPlugins()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'getPlugins', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::listWorkspaces
* @todo Implement testlistWorkspaces().
*/
public function testlistWorkspaces()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'listWorkspaces', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::getVersion
* @todo Implement testgetVersion().
*/
public function testgetVersion()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'getVersion', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::getVersionFromGit
* @todo Implement testgetVersionFromGit().
*/
public function testgetVersionFromGit()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'getVersionFromGit', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::getSysInfo
* @todo Implement testgetSysInfo().
*/
public function testgetSysInfo()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'getSysInfo', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::listPoFiles
* @todo Implement testlistPoFiles().
*/
public function testlistPoFiles()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'listPoFiles', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::verifyChecksum
* @todo Implement testverifyChecksum().
*/
public function testverifyChecksum()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'verifyChecksum', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::verifyFileForUpgrade
* @todo Implement testverifyFileForUpgrade().
*/
public function testverifyFileForUpgrade()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'verifyFileForUpgrade', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::getUpgradedFilesList
* @todo Implement testgetUpgradedFilesList().
*/
public function testgetUpgradedFilesList()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'getUpgradedFilesList', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::verifyForBootstrapUpgrade
* @todo Implement testverifyForBootstrapUpgrade().
*/
public function testverifyForBootstrapUpgrade()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'verifyForBootstrapUpgrade', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::upgrade
* @todo Implement testupgrade().
*/
public function testupgrade()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'upgrade', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::cleanupUpgradeDirectory
* @todo Implement testcleanupUpgradeDirectory().
*/
public function testcleanupUpgradeDirectory()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'cleanupUpgradeDirectory', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::rm_dir
* @todo Implement testrm_dir().
*/
public function testrm_dir()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'rm_dir', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::pm_copy
* @todo Implement testpm_copy().
*/
public function testpm_copy()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'pm_copy', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::getDatabaseCredentials
* @todo Implement testgetDatabaseCredentials().
*/
public function testgetDatabaseCredentials()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'getDatabaseCredentials', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::getSystemSchema
* @todo Implement testgetSystemSchema().
*/
public function testgetSystemSchema()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'getSystemSchema', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::getPluginSchema
* @todo Implement testgetPluginSchema().
*/
public function testgetPluginSchema()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'getPluginSchema', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::getSchema
* @todo Implement testgetSchema().
*/
public function testgetSchema()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'getSchema', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::compareSchema
* @todo Implement testcompareSchema().
*/
public function testcompareSchema()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'compareSchema', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::getEmailConfiguration
* @todo Implement testgetEmailConfiguration().
*/
public function testgetEmailConfiguration()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'getEmailConfiguration', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::getSkingList
* @todo Implement testgetSkingList().
*/
public function testgetSkingList()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'getSkingList', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::getAllTimeZones
* @todo Implement testgetAllTimeZones().
*/
public function testgetAllTimeZones()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'getAllTimeZones', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::getSystemConfiguration
* @todo Implement testgetSystemConfiguration().
*/
public function testgetSystemConfiguration()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'getSystemConfiguration', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers System::updateIndexFile
* @todo Implement testupdateIndexFile().
*/
public function testupdateIndexFile()
{
if (class_exists('System')) {
$methods = get_class_methods( 'System');
$this->assertTrue( in_array( 'updateIndexFile', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,327 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.tasks.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:12.
*/
class classTasksTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Tasks::getGroupsOfTask
* @todo Implement testgetGroupsOfTask().
*/
public function testgetGroupsOfTask()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'getGroupsOfTask', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::getAllTasks
* @todo Implement testgetAllTasks().
*/
public function testgetAllTasks()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'getAllTasks', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::createTaskRows
* @todo Implement testcreateTaskRows().
*/
public function testcreateTaskRows()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'createTaskRows', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::updateTaskRows
* @todo Implement testupdateTaskRows().
*/
public function testupdateTaskRows()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'updateTaskRows', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::getAllRoutes
* @todo Implement testgetAllRoutes().
*/
public function testgetAllRoutes()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'getAllRoutes', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::createRouteRows
* @todo Implement testcreateRouteRows().
*/
public function testcreateRouteRows()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'createRouteRows', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::updateRouteRows
* @todo Implement testupdateRouteRows().
*/
public function testupdateRouteRows()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'updateRouteRows', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::getUsersOfTask
* @todo Implement testgetUsersOfTask().
*/
public function testgetUsersOfTask()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'getUsersOfTask', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::deleteTask
* @todo Implement testdeleteTask().
*/
public function testdeleteTask()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'deleteTask', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::deleteAllRoutesOfTask
* @todo Implement testdeleteAllRoutesOfTask().
*/
public function testdeleteAllRoutesOfTask()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'deleteAllRoutesOfTask', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::getAllGateways
* @todo Implement testgetAllGateways().
*/
public function testgetAllGateways()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'getAllGateways', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::createGatewayRows
* @todo Implement testcreateGatewayRows().
*/
public function testcreateGatewayRows()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'createGatewayRows', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::deleteAllGatewayOfTask
* @todo Implement testdeleteAllGatewayOfTask().
*/
public function testdeleteAllGatewayOfTask()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'deleteAllGatewayOfTask', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::assignUser
* @todo Implement testassignUser().
*/
public function testassignUser()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'assignUser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::assignGroup
* @todo Implement testassignGroup().
*/
public function testassignGroup()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'assignGroup', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::ofToAssignUserOfAllTasks
* @todo Implement testofToAssignUserOfAllTasks().
*/
public function testofToAssignUserOfAllTasks()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'ofToAssignUserOfAllTasks', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::ofToAssignUser
* @todo Implement testofToAssignUser().
*/
public function testofToAssignUser()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'ofToAssignUser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::ofToAssignGroup
* @todo Implement testofToAssignGroup().
*/
public function testofToAssignGroup()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'ofToAssignGroup', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::getStepsOfTask
* @todo Implement testgetStepsOfTask().
*/
public function testgetStepsOfTask()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'getStepsOfTask', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::existsBuildingElements
* @todo Implement testexistsBuildingElements().
*/
public function testexistsBuildingElements()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'existsBuildingElements', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::getStartingTaskForUser
* @todo Implement testgetStartingTaskForUser().
*/
public function testgetStartingTaskForUser()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'getStartingTaskForUser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::assignUsertoTask
* @todo Implement testassignUsertoTask().
*/
public function testassignUsertoTask()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'assignUsertoTask', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::verifyUsertoTask
* @todo Implement testverifyUsertoTask().
*/
public function testverifyUsertoTask()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'verifyUsertoTask', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::getTasksThatUserIsAssigned
* @todo Implement testgetTasksThatUserIsAssigned().
*/
public function testgetTasksThatUserIsAssigned()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'getTasksThatUserIsAssigned', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::getRoute
* @todo Implement testgetRoute().
*/
public function testgetRoute()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'getRoute', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Tasks::getRouteByType
* @todo Implement testgetRouteByType().
*/
public function testgetRouteByType()
{
if (class_exists('Tasks')) {
$methods = get_class_methods( 'Tasks');
$this->assertTrue( in_array( 'getRouteByType', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,15 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.toolBar.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classToolBarTest extends PHPUnit_Framework_TestCase
{
}

View File

@@ -0,0 +1,147 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.xmlDb.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classXMLConnectionTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XMLConnection::XMLConnection
* @todo Implement testXMLConnection().
*/
public function testXMLConnection()
{
if (class_exists('XMLConnection')) {
$methods = get_class_methods( 'XMLConnection');
$this->assertTrue( in_array( 'XMLConnection', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XMLConnection::query
* @todo Implement testquery().
*/
public function testquery()
{
if (class_exists('XMLConnection')) {
$methods = get_class_methods( 'XMLConnection');
$this->assertTrue( in_array( 'query', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XMLConnection::sqlLike
* @todo Implement testsqlLike().
*/
public function testsqlLike()
{
if (class_exists('XMLConnection')) {
$methods = get_class_methods( 'XMLConnection');
$this->assertTrue( in_array( 'sqlLike', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XMLConnection::expandFields
* @todo Implement testexpandFields().
*/
public function testexpandFields()
{
if (class_exists('XMLConnection')) {
$methods = get_class_methods( 'XMLConnection');
$this->assertTrue( in_array( 'expandFields', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XMLConnection::fetchNode
* @todo Implement testfetchNode().
*/
public function testfetchNode()
{
if (class_exists('XMLConnection')) {
$methods = get_class_methods( 'XMLConnection');
$this->assertTrue( in_array( 'fetchNode', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XMLConnection::fetchChildren
* @todo Implement testfetchChildren().
*/
public function testfetchChildren()
{
if (class_exists('XMLConnection')) {
$methods = get_class_methods( 'XMLConnection');
$this->assertTrue( in_array( 'fetchChildren', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XMLConnection::disconnect
* @todo Implement testdisconnect().
*/
public function testdisconnect()
{
if (class_exists('XMLConnection')) {
$methods = get_class_methods( 'XMLConnection');
$this->assertTrue( in_array( 'disconnect', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XMLConnection::sqlWhereLike
* @todo Implement testsqlWhereLike().
*/
public function testsqlWhereLike()
{
if (class_exists('XMLConnection')) {
$methods = get_class_methods( 'XMLConnection');
$this->assertTrue( in_array( 'sqlWhereLike', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XMLConnection::sqlString
* @todo Implement testsqlString().
*/
public function testsqlString()
{
if (class_exists('XMLConnection')) {
$methods = get_class_methods( 'XMLConnection');
$this->assertTrue( in_array( 'sqlString', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XMLConnection::insertRow
* @todo Implement testinsertRow().
*/
public function testinsertRow()
{
if (class_exists('XMLConnection')) {
$methods = get_class_methods( 'XMLConnection');
$this->assertTrue( in_array( 'insertRow', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XMLConnection::updateRow
* @todo Implement testupdateRow().
*/
public function testupdateRow()
{
if (class_exists('XMLConnection')) {
$methods = get_class_methods( 'XMLConnection');
$this->assertTrue( in_array( 'updateRow', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,39 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.xmlDb.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classXMLDBTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XMLDB::connect
* @todo Implement testconnect().
*/
public function testconnect()
{
if (class_exists('XMLDB')) {
$methods = get_class_methods( 'XMLDB');
$this->assertTrue( in_array( 'connect', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XMLDB::isError
* @todo Implement testisError().
*/
public function testisError()
{
if (class_exists('XMLDB')) {
$methods = get_class_methods( 'XMLDB');
$this->assertTrue( in_array( 'isError', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,63 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.xmlDb.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classXMLResultTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XMLResult::XMLResult
* @todo Implement testXMLResult().
*/
public function testXMLResult()
{
if (class_exists('XMLResult')) {
$methods = get_class_methods( 'XMLResult');
$this->assertTrue( in_array( 'XMLResult', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XMLResult::numRows
* @todo Implement testnumRows().
*/
public function testnumRows()
{
if (class_exists('XMLResult')) {
$methods = get_class_methods( 'XMLResult');
$this->assertTrue( in_array( 'numRows', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XMLResult::fetchRow
* @todo Implement testfetchRow().
*/
public function testfetchRow()
{
if (class_exists('XMLResult')) {
$methods = get_class_methods( 'XMLResult');
$this->assertTrue( in_array( 'fetchRow', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XMLResult::getNames
* @todo Implement testgetNames().
*/
public function testgetNames()
{
if (class_exists('XMLResult')) {
$methods = get_class_methods( 'XMLResult');
$this->assertTrue( in_array( 'getNames', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.xmlfield_InputPM.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:12.
*/
class classXmlForm_Field_CheckBoxTableTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_CheckBoxTable::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_CheckBoxTable')) {
$methods = get_class_methods( 'XmlForm_Field_CheckBoxTable');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.xmlfield_Image.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
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' );
}
}
}

View File

@@ -0,0 +1,51 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.xmlfield_InputPM.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:12.
*/
class classXmlForm_Field_TextPMTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_TextPM::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_TextPM')) {
$methods = get_class_methods( 'XmlForm_Field_TextPM');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_TextPM::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field_TextPM')) {
$methods = get_class_methods( 'XmlForm_Field_TextPM');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_TextPM::attachEvents
* @todo Implement testattachEvents().
*/
public function testattachEvents()
{
if (class_exists('XmlForm_Field_TextPM')) {
$methods = get_class_methods( 'XmlForm_Field_TextPM');
$this->assertTrue( in_array( 'attachEvents', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,39 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.xmlfield_InputPM.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:12.
*/
class classXmlForm_Field_TextareaPMTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_TextareaPM::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_TextareaPM')) {
$methods = get_class_methods( 'XmlForm_Field_TextareaPM');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_TextareaPM::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field_TextareaPM')) {
$methods = get_class_methods( 'XmlForm_Field_TextareaPM');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,39 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.toolBar.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classXmlForm_Field_ToolBarTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_ToolBar::XmlForm_Field_ToolBar
* @todo Implement testXmlForm_Field_ToolBar().
*/
public function testXmlForm_Field_ToolBar()
{
if (class_exists('XmlForm_Field_ToolBar')) {
$methods = get_class_methods( 'XmlForm_Field_ToolBar');
$this->assertTrue( in_array( 'XmlForm_Field_ToolBar', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_ToolBar::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_ToolBar')) {
$methods = get_class_methods( 'XmlForm_Field_ToolBar');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,75 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.xmlfield_InputPM.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:12.
*/
class classXmlForm_Field_hoursTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_hours::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_hours')) {
$methods = get_class_methods( 'XmlForm_Field_hours');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_hours::renderGrid
* @todo Implement testrenderGrid().
*/
public function testrenderGrid()
{
if (class_exists('XmlForm_Field_hours')) {
$methods = get_class_methods( 'XmlForm_Field_hours');
$this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_hours::attachEvents
* @todo Implement testattachEvents().
*/
public function testattachEvents()
{
if (class_exists('XmlForm_Field_hours')) {
$methods = get_class_methods( 'XmlForm_Field_hours');
$this->assertTrue( in_array( 'attachEvents', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_hours::getDynaformsVars
* @todo Implement testgetDynaformsVars().
*/
public function testgetDynaformsVars()
{
if (class_exists('XmlForm_Field_hours')) {
$methods = get_class_methods( 'XmlForm_Field_hours');
$this->assertTrue( in_array( 'getDynaformsVars', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers XmlForm_Field_hours::getGridsVars
* @todo Implement testgetGridsVars().
*/
public function testgetGridsVars()
{
if (class_exists('XmlForm_Field_hours')) {
$methods = get_class_methods( 'XmlForm_Field_hours');
$this->assertTrue( in_array( 'getGridsVars', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.popupMenu.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classXmlForm_Field_popupOptionTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_popupOption::getEvents
* @todo Implement testgetEvents().
*/
public function testgetEvents()
{
if (class_exists('XmlForm_Field_popupOption')) {
$methods = get_class_methods( 'XmlForm_Field_popupOption');
$this->assertTrue( in_array( 'getEvents', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.toolBar.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classXmlForm_Field_toolButtonTest extends PHPUnit_Framework_TestCase
{
/**
* @covers XmlForm_Field_toolButton::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('XmlForm_Field_toolButton')) {
$methods = get_class_methods( 'XmlForm_Field_toolButton');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,543 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.xpdl.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classXpdlTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Xpdl::createProcessFromDataXpdl
* @todo Implement testcreateProcessFromDataXpdl().
*/
public function testcreateProcessFromDataXpdl()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createProcessFromDataXpdl', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::updateProcessFromDataXpdl
* @todo Implement testupdateProcessFromDataXpdl().
*/
public function testupdateProcessFromDataXpdl()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'updateProcessFromDataXpdl', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createProcessFromDataPmxml
* @todo Implement testcreateProcessFromDataPmxml().
*/
public function testcreateProcessFromDataPmxml()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createProcessFromDataPmxml', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createSubProcessFromDataXpdl
* @todo Implement testcreateSubProcessFromDataXpdl().
*/
public function testcreateSubProcessFromDataXpdl()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createSubProcessFromDataXpdl', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::verifyTasks
* @todo Implement testverifyTasks().
*/
public function testverifyTasks()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'verifyTasks', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createRouteRowsXpdl
* @todo Implement testcreateRouteRowsXpdl().
*/
public function testcreateRouteRowsXpdl()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createRouteRowsXpdl', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createSubProcessRowsXpdl
* @todo Implement testcreateSubProcessRowsXpdl().
*/
public function testcreateSubProcessRowsXpdl()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createSubProcessRowsXpdl', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::findIdTask
* @todo Implement testfindIdTask().
*/
public function testfindIdTask()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'findIdTask', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::xmdlProcess
* @todo Implement testxmdlProcess().
*/
public function testxmdlProcess()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'xmdlProcess', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createPool
* @todo Implement testcreatePool().
*/
public function testcreatePool()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createPool', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createArtifacts
* @todo Implement testcreateArtifacts().
*/
public function testcreateArtifacts()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createArtifacts', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createSubProcessesXpdl
* @todo Implement testcreateSubProcessesXpdl().
*/
public function testcreateSubProcessesXpdl()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createSubProcessesXpdl', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createActivitiesXpdl
* @todo Implement testcreateActivitiesXpdl().
*/
public function testcreateActivitiesXpdl()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createActivitiesXpdl', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createTransitionsXpdl
* @todo Implement testcreateTransitionsXpdl().
*/
public function testcreateTransitionsXpdl()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createTransitionsXpdl', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::getProcessDataXpdl
* @todo Implement testgetProcessDataXpdl().
*/
public function testgetProcessDataXpdl()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'getProcessDataXpdl', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::sortArray
* @todo Implement testsortArray().
*/
public function testsortArray()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'sortArray', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::verifyRoutes
* @todo Implement testverifyRoutes().
*/
public function testverifyRoutes()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'verifyRoutes', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createProcess
* @todo Implement testcreateProcess().
*/
public function testcreateProcess()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createProcess', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createSubProcesses
* @todo Implement testcreateSubProcesses().
*/
public function testcreateSubProcesses()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createSubProcesses', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createTask
* @todo Implement testcreateTask().
*/
public function testcreateTask()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createTask', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createDataTask
* @todo Implement testcreateDataTask().
*/
public function testcreateDataTask()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createDataTask', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createRoute
* @todo Implement testcreateRoute().
*/
public function testcreateRoute()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createRoute', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createSubProcess
* @todo Implement testcreateSubProcess().
*/
public function testcreateSubProcess()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createSubProcess', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createGateways
* @todo Implement testcreateGateways().
*/
public function testcreateGateways()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createGateways', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createLanesPM
* @todo Implement testcreateLanesPM().
*/
public function testcreateLanesPM()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createLanesPM', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createLanes
* @todo Implement testcreateLanes().
*/
public function testcreateLanes()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createLanes', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createLanesNewPM
* @todo Implement testcreateLanesNewPM().
*/
public function testcreateLanesNewPM()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createLanesNewPM', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createActivities
* @todo Implement testcreateActivities().
*/
public function testcreateActivities()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createActivities', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createEventMessages
* @todo Implement testcreateEventMessages().
*/
public function testcreateEventMessages()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createEventMessages', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createScheduler
* @todo Implement testcreateScheduler().
*/
public function testcreateScheduler()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createScheduler', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::calculateTimeScheduler
* @todo Implement testcalculateTimeScheduler().
*/
public function testcalculateTimeScheduler()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'calculateTimeScheduler', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createArrayScheduler
* @todo Implement testcreateArrayScheduler().
*/
public function testcreateArrayScheduler()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createArrayScheduler', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createTransitions
* @todo Implement testcreateTransitions().
*/
public function testcreateTransitions()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createTransitions', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createActivity
* @todo Implement testcreateActivity().
*/
public function testcreateActivity()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createActivity', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createExtended
* @todo Implement testcreateExtended().
*/
public function testcreateExtended()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createExtended', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::findCoordinates
* @todo Implement testfindCoordinates().
*/
public function testfindCoordinates()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'findCoordinates', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::findCoordinatesTransition
* @todo Implement testfindCoordinatesTransition().
*/
public function testfindCoordinatesTransition()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'findCoordinatesTransition', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createArrayRoutes
* @todo Implement testcreateArrayRoutes().
*/
public function testcreateArrayRoutes()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createArrayRoutes', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::convertArrayEnd
* @todo Implement testconvertArrayEnd().
*/
public function testconvertArrayEnd()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'convertArrayEnd', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createTransitionsPM
* @todo Implement testcreateTransitionsPM().
*/
public function testcreateTransitionsPM()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createTransitionsPM', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::super_unique
* @todo Implement testsuper_unique().
*/
public function testsuper_unique()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'super_unique', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createProcessPM
* @todo Implement testcreateProcessPM().
*/
public function testcreateProcessPM()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createProcessPM', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::createSubProcessesPM
* @todo Implement testcreateSubProcessesPM().
*/
public function testcreateSubProcessesPM()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'createSubProcessesPM', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers Xpdl::saveWebEntry
* @todo Implement testsaveWebEntry().
*/
public function testsaveWebEntry()
{
if (class_exists('Xpdl')) {
$methods = get_class_methods( 'Xpdl');
$this->assertTrue( in_array( 'saveWebEntry', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,159 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.archive.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classarchiveTest extends PHPUnit_Framework_TestCase
{
/**
* @covers archive::archive
* @todo Implement testarchive().
*/
public function testarchive()
{
if (class_exists('archive')) {
$methods = get_class_methods( 'archive');
$this->assertTrue( in_array( 'archive', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers archive::set_options
* @todo Implement testset_options().
*/
public function testset_options()
{
if (class_exists('archive')) {
$methods = get_class_methods( 'archive');
$this->assertTrue( in_array( 'set_options', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers archive::create_archive
* @todo Implement testcreate_archive().
*/
public function testcreate_archive()
{
if (class_exists('archive')) {
$methods = get_class_methods( 'archive');
$this->assertTrue( in_array( 'create_archive', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers archive::add_data
* @todo Implement testadd_data().
*/
public function testadd_data()
{
if (class_exists('archive')) {
$methods = get_class_methods( 'archive');
$this->assertTrue( in_array( 'add_data', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers archive::make_list
* @todo Implement testmake_list().
*/
public function testmake_list()
{
if (class_exists('archive')) {
$methods = get_class_methods( 'archive');
$this->assertTrue( in_array( 'make_list', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers archive::add_files
* @todo Implement testadd_files().
*/
public function testadd_files()
{
if (class_exists('archive')) {
$methods = get_class_methods( 'archive');
$this->assertTrue( in_array( 'add_files', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers archive::exclude_files
* @todo Implement testexclude_files().
*/
public function testexclude_files()
{
if (class_exists('archive')) {
$methods = get_class_methods( 'archive');
$this->assertTrue( in_array( 'exclude_files', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers archive::store_files
* @todo Implement teststore_files().
*/
public function teststore_files()
{
if (class_exists('archive')) {
$methods = get_class_methods( 'archive');
$this->assertTrue( in_array( 'store_files', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers archive::list_files
* @todo Implement testlist_files().
*/
public function testlist_files()
{
if (class_exists('archive')) {
$methods = get_class_methods( 'archive');
$this->assertTrue( in_array( 'list_files', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers archive::parse_dir
* @todo Implement testparse_dir().
*/
public function testparse_dir()
{
if (class_exists('archive')) {
$methods = get_class_methods( 'archive');
$this->assertTrue( in_array( 'parse_dir', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers archive::sort_files
* @todo Implement testsort_files().
*/
public function testsort_files()
{
if (class_exists('archive')) {
$methods = get_class_methods( 'archive');
$this->assertTrue( in_array( 'sort_files', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers archive::download_file
* @todo Implement testdownload_file().
*/
public function testdownload_file()
{
if (class_exists('archive')) {
$methods = get_class_methods( 'archive');
$this->assertTrue( in_array( 'download_file', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,51 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.archive.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classbzip_fileTest extends PHPUnit_Framework_TestCase
{
/**
* @covers bzip_file::bzip_file
* @todo Implement testbzip_file().
*/
public function testbzip_file()
{
if (class_exists('bzip_file')) {
$methods = get_class_methods( 'bzip_file');
$this->assertTrue( in_array( 'bzip_file', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers bzip_file::create_bzip
* @todo Implement testcreate_bzip().
*/
public function testcreate_bzip()
{
if (class_exists('bzip_file')) {
$methods = get_class_methods( 'bzip_file');
$this->assertTrue( in_array( 'create_bzip', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers bzip_file::open_archive
* @todo Implement testopen_archive().
*/
public function testopen_archive()
{
if (class_exists('bzip_file')) {
$methods = get_class_methods( 'bzip_file');
$this->assertTrue( in_array( 'open_archive', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,63 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.calendar.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:12.
*/
class classcalendarTest extends PHPUnit_Framework_TestCase
{
/**
* @covers calendar::calendar
* @todo Implement testcalendar().
*/
public function testcalendar()
{
if (class_exists('calendar')) {
$methods = get_class_methods( 'calendar');
$this->assertTrue( in_array( 'calendar', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers calendar::addCalendarLog
* @todo Implement testaddCalendarLog().
*/
public function testaddCalendarLog()
{
if (class_exists('calendar')) {
$methods = get_class_methods( 'calendar');
$this->assertTrue( in_array( 'addCalendarLog', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers calendar::setupCalendar
* @todo Implement testsetupCalendar().
*/
public function testsetupCalendar()
{
if (class_exists('calendar')) {
$methods = get_class_methods( 'calendar');
$this->assertTrue( in_array( 'setupCalendar', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers calendar::getNextValidBusinessHoursRange
* @todo Implement testgetNextValidBusinessHoursRange().
*/
public function testgetNextValidBusinessHoursRange()
{
if (class_exists('calendar')) {
$methods = get_class_methods( 'calendar');
$this->assertTrue( in_array( 'getNextValidBusinessHoursRange', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classcaseSchedulerPluginTest extends PHPUnit_Framework_TestCase
{
/**
* @covers caseSchedulerPlugin::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('caseSchedulerPlugin')) {
$methods = get_class_methods( 'caseSchedulerPlugin');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classcssFileTest extends PHPUnit_Framework_TestCase
{
/**
* @covers cssFile::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('cssFile')) {
$methods = get_class_methods( 'cssFile');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classdashboardPageTest extends PHPUnit_Framework_TestCase
{
/**
* @covers dashboardPage::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('dashboardPage')) {
$methods = get_class_methods( 'dashboardPage');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,63 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.dashletOpenVSCompleted.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:11.
*/
class classdashletOpenVSCompletedTest extends PHPUnit_Framework_TestCase
{
/**
* @covers dashletOpenVSCompleted::getAdditionalFields
* @todo Implement testgetAdditionalFields().
*/
public function testgetAdditionalFields()
{
if (class_exists('dashletOpenVSCompleted')) {
$methods = get_class_methods( 'dashletOpenVSCompleted');
$this->assertTrue( in_array( 'getAdditionalFields', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dashletOpenVSCompleted::getXTemplate
* @todo Implement testgetXTemplate().
*/
public function testgetXTemplate()
{
if (class_exists('dashletOpenVSCompleted')) {
$methods = get_class_methods( 'dashletOpenVSCompleted');
$this->assertTrue( in_array( 'getXTemplate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dashletOpenVSCompleted::setup
* @todo Implement testsetup().
*/
public function testsetup()
{
if (class_exists('dashletOpenVSCompleted')) {
$methods = get_class_methods( 'dashletOpenVSCompleted');
$this->assertTrue( in_array( 'setup', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dashletOpenVSCompleted::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('dashletOpenVSCompleted')) {
$methods = get_class_methods( 'dashletOpenVSCompleted');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,63 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.dashletProcessMakerCommunity.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:12.
*/
class classdashletProcessMakerCommunityTest extends PHPUnit_Framework_TestCase
{
/**
* @covers dashletProcessMakerCommunity::getAdditionalFields
* @todo Implement testgetAdditionalFields().
*/
public function testgetAdditionalFields()
{
if (class_exists('dashletProcessMakerCommunity')) {
$methods = get_class_methods( 'dashletProcessMakerCommunity');
$this->assertTrue( in_array( 'getAdditionalFields', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dashletProcessMakerCommunity::getXTemplate
* @todo Implement testgetXTemplate().
*/
public function testgetXTemplate()
{
if (class_exists('dashletProcessMakerCommunity')) {
$methods = get_class_methods( 'dashletProcessMakerCommunity');
$this->assertTrue( in_array( 'getXTemplate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dashletProcessMakerCommunity::setup
* @todo Implement testsetup().
*/
public function testsetup()
{
if (class_exists('dashletProcessMakerCommunity')) {
$methods = get_class_methods( 'dashletProcessMakerCommunity');
$this->assertTrue( in_array( 'setup', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dashletProcessMakerCommunity::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('dashletProcessMakerCommunity')) {
$methods = get_class_methods( 'dashletProcessMakerCommunity');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,63 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.dashletProcessMakerEnterprise.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classdashletProcessMakerEnterpriseTest extends PHPUnit_Framework_TestCase
{
/**
* @covers dashletProcessMakerEnterprise::getAdditionalFields
* @todo Implement testgetAdditionalFields().
*/
public function testgetAdditionalFields()
{
if (class_exists('dashletProcessMakerEnterprise')) {
$methods = get_class_methods( 'dashletProcessMakerEnterprise');
$this->assertTrue( in_array( 'getAdditionalFields', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dashletProcessMakerEnterprise::getXTemplate
* @todo Implement testgetXTemplate().
*/
public function testgetXTemplate()
{
if (class_exists('dashletProcessMakerEnterprise')) {
$methods = get_class_methods( 'dashletProcessMakerEnterprise');
$this->assertTrue( in_array( 'getXTemplate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dashletProcessMakerEnterprise::setup
* @todo Implement testsetup().
*/
public function testsetup()
{
if (class_exists('dashletProcessMakerEnterprise')) {
$methods = get_class_methods( 'dashletProcessMakerEnterprise');
$this->assertTrue( in_array( 'setup', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dashletProcessMakerEnterprise::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('dashletProcessMakerEnterprise')) {
$methods = get_class_methods( 'dashletProcessMakerEnterprise');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,63 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.dashletRssReader.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classdashletRssReaderTest extends PHPUnit_Framework_TestCase
{
/**
* @covers dashletRssReader::getAdditionalFields
* @todo Implement testgetAdditionalFields().
*/
public function testgetAdditionalFields()
{
if (class_exists('dashletRssReader')) {
$methods = get_class_methods( 'dashletRssReader');
$this->assertTrue( in_array( 'getAdditionalFields', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dashletRssReader::getXTemplate
* @todo Implement testgetXTemplate().
*/
public function testgetXTemplate()
{
if (class_exists('dashletRssReader')) {
$methods = get_class_methods( 'dashletRssReader');
$this->assertTrue( in_array( 'getXTemplate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dashletRssReader::setup
* @todo Implement testsetup().
*/
public function testsetup()
{
if (class_exists('dashletRssReader')) {
$methods = get_class_methods( 'dashletRssReader');
$this->assertTrue( in_array( 'setup', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dashletRssReader::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('dashletRssReader')) {
$methods = get_class_methods( 'dashletRssReader');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,231 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.dates.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classdatesTest extends PHPUnit_Framework_TestCase
{
/**
* @covers dates::calculateDate
* @todo Implement testcalculateDate().
*/
public function testcalculateDate()
{
if (class_exists('dates')) {
$methods = get_class_methods( 'dates');
$this->assertTrue( in_array( 'calculateDate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dates::calculateDate_noCalendar
* @todo Implement testcalculateDate_noCalendar().
*/
public function testcalculateDate_noCalendar()
{
if (class_exists('dates')) {
$methods = get_class_methods( 'dates');
$this->assertTrue( in_array( 'calculateDate_noCalendar', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dates::calculateDuration
* @todo Implement testcalculateDuration().
*/
public function testcalculateDuration()
{
if (class_exists('dates')) {
$methods = get_class_methods( 'dates');
$this->assertTrue( in_array( 'calculateDuration', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dates::prepareInformation
* @todo Implement testprepareInformation().
*/
public function testprepareInformation()
{
if (class_exists('dates')) {
$methods = get_class_methods( 'dates');
$this->assertTrue( in_array( 'prepareInformation', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dates::setSkipEveryYear
* @todo Implement testsetSkipEveryYear().
*/
public function testsetSkipEveryYear()
{
if (class_exists('dates')) {
$methods = get_class_methods( 'dates');
$this->assertTrue( in_array( 'setSkipEveryYear', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dates::addHoliday
* @todo Implement testaddHoliday().
*/
public function testaddHoliday()
{
if (class_exists('dates')) {
$methods = get_class_methods( 'dates');
$this->assertTrue( in_array( 'addHoliday', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dates::setHolidays
* @todo Implement testsetHolidays().
*/
public function testsetHolidays()
{
if (class_exists('dates')) {
$methods = get_class_methods( 'dates');
$this->assertTrue( in_array( 'setHolidays', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dates::setWeekends
* @todo Implement testsetWeekends().
*/
public function testsetWeekends()
{
if (class_exists('dates')) {
$methods = get_class_methods( 'dates');
$this->assertTrue( in_array( 'setWeekends', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dates::skipDayOfWeek
* @todo Implement testskipDayOfWeek().
*/
public function testskipDayOfWeek()
{
if (class_exists('dates')) {
$methods = get_class_methods( 'dates');
$this->assertTrue( in_array( 'skipDayOfWeek', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dates::addNonWorkingRange
* @todo Implement testaddNonWorkingRange().
*/
public function testaddNonWorkingRange()
{
if (class_exists('dates')) {
$methods = get_class_methods( 'dates');
$this->assertTrue( in_array( 'addNonWorkingRange', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dates::addDays
* @todo Implement testaddDays().
*/
public function testaddDays()
{
if (class_exists('dates')) {
$methods = get_class_methods( 'dates');
$this->assertTrue( in_array( 'addDays', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dates::addHours
* @todo Implement testaddHours().
*/
public function testaddHours()
{
if (class_exists('dates')) {
$methods = get_class_methods( 'dates');
$this->assertTrue( in_array( 'addHours', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dates::inRange
* @todo Implement testinRange().
*/
public function testinRange()
{
if (class_exists('dates')) {
$methods = get_class_methods( 'dates');
$this->assertTrue( in_array( 'inRange', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dates::truncateTime
* @todo Implement testtruncateTime().
*/
public function testtruncateTime()
{
if (class_exists('dates')) {
$methods = get_class_methods( 'dates');
$this->assertTrue( in_array( 'truncateTime', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dates::getTime
* @todo Implement testgetTime().
*/
public function testgetTime()
{
if (class_exists('dates')) {
$methods = get_class_methods( 'dates');
$this->assertTrue( in_array( 'getTime', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dates::setTime
* @todo Implement testsetTime().
*/
public function testsetTime()
{
if (class_exists('dates')) {
$methods = get_class_methods( 'dates');
$this->assertTrue( in_array( 'setTime', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dates::listForYear
* @todo Implement testlistForYear().
*/
public function testlistForYear()
{
if (class_exists('dates')) {
$methods = get_class_methods( 'dates');
$this->assertTrue( in_array( 'listForYear', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dates::changeYear
* @todo Implement testchangeYear().
*/
public function testchangeYear()
{
if (class_exists('dates')) {
$methods = get_class_methods( 'dates');
$this->assertTrue( in_array( 'changeYear', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,171 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.dbConnections.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classdbConnectionsTest extends PHPUnit_Framework_TestCase
{
/**
* @covers dbConnections::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('dbConnections')) {
$methods = get_class_methods( 'dbConnections');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dbConnections::getAllConnections
* @todo Implement testgetAllConnections().
*/
public function testgetAllConnections()
{
if (class_exists('dbConnections')) {
$methods = get_class_methods( 'dbConnections');
$this->assertTrue( in_array( 'getAllConnections', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dbConnections::getConnections
* @todo Implement testgetConnections().
*/
public function testgetConnections()
{
if (class_exists('dbConnections')) {
$methods = get_class_methods( 'dbConnections');
$this->assertTrue( in_array( 'getConnections', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dbConnections::getConnectionsProUid
* @todo Implement testgetConnectionsProUid().
*/
public function testgetConnectionsProUid()
{
if (class_exists('dbConnections')) {
$methods = get_class_methods( 'dbConnections');
$this->assertTrue( in_array( 'getConnectionsProUid', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dbConnections::loadAdditionalConnections
* @todo Implement testloadAdditionalConnections().
*/
public function testloadAdditionalConnections()
{
if (class_exists('dbConnections')) {
$methods = get_class_methods( 'dbConnections');
$this->assertTrue( in_array( 'loadAdditionalConnections', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dbConnections::getDbServicesAvailables
* @todo Implement testgetDbServicesAvailables().
*/
public function testgetDbServicesAvailables()
{
if (class_exists('dbConnections')) {
$methods = get_class_methods( 'dbConnections');
$this->assertTrue( in_array( 'getDbServicesAvailables', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dbConnections::showMsg
* @todo Implement testshowMsg().
*/
public function testshowMsg()
{
if (class_exists('dbConnections')) {
$methods = get_class_methods( 'dbConnections');
$this->assertTrue( in_array( 'showMsg', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dbConnections::getEncondeList
* @todo Implement testgetEncondeList().
*/
public function testgetEncondeList()
{
if (class_exists('dbConnections')) {
$methods = get_class_methods( 'dbConnections');
$this->assertTrue( in_array( 'getEncondeList', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dbConnections::getErrno
* @todo Implement testgetErrno().
*/
public function testgetErrno()
{
if (class_exists('dbConnections')) {
$methods = get_class_methods( 'dbConnections');
$this->assertTrue( in_array( 'getErrno', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dbConnections::getErrmsg
* @todo Implement testgetErrmsg().
*/
public function testgetErrmsg()
{
if (class_exists('dbConnections')) {
$methods = get_class_methods( 'dbConnections');
$this->assertTrue( in_array( 'getErrmsg', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dbConnections::ordx
* @todo Implement testordx().
*/
public function testordx()
{
if (class_exists('dbConnections')) {
$methods = get_class_methods( 'dbConnections');
$this->assertTrue( in_array( 'ordx', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dbConnections::encryptThepassw
* @todo Implement testencryptThepassw().
*/
public function testencryptThepassw()
{
if (class_exists('dbConnections')) {
$methods = get_class_methods( 'dbConnections');
$this->assertTrue( in_array( 'encryptThepassw', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dbConnections::getPassWithoutEncrypt
* @todo Implement testgetPassWithoutEncrypt().
*/
public function testgetPassWithoutEncrypt()
{
if (class_exists('dbConnections')) {
$methods = get_class_methods( 'dbConnections');
$this->assertTrue( in_array( 'getPassWithoutEncrypt', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,231 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.dynaformEditor.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classdynaformEditorAjaxTest extends PHPUnit_Framework_TestCase
{
/**
* @covers dynaformEditorAjax::dynaformEditorAjax
* @todo Implement testdynaformEditorAjax().
*/
public function testdynaformEditorAjax()
{
if (class_exists('dynaformEditorAjax')) {
$methods = get_class_methods( 'dynaformEditorAjax');
$this->assertTrue( in_array( 'dynaformEditorAjax', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditorAjax::_run
* @todo Implement test_run().
*/
public function test_run()
{
if (class_exists('dynaformEditorAjax')) {
$methods = get_class_methods( 'dynaformEditorAjax');
$this->assertTrue( in_array( '_run', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditorAjax::render_preview
* @todo Implement testrender_preview().
*/
public function testrender_preview()
{
if (class_exists('dynaformEditorAjax')) {
$methods = get_class_methods( 'dynaformEditorAjax');
$this->assertTrue( in_array( 'render_preview', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditorAjax::render_htmledit
* @todo Implement testrender_htmledit().
*/
public function testrender_htmledit()
{
if (class_exists('dynaformEditorAjax')) {
$methods = get_class_methods( 'dynaformEditorAjax');
$this->assertTrue( in_array( 'render_htmledit', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditorAjax::get_htmlcode
* @todo Implement testget_htmlcode().
*/
public function testget_htmlcode()
{
if (class_exists('dynaformEditorAjax')) {
$methods = get_class_methods( 'dynaformEditorAjax');
$this->assertTrue( in_array( 'get_htmlcode', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditorAjax::restore_html
* @todo Implement testrestore_html().
*/
public function testrestore_html()
{
if (class_exists('dynaformEditorAjax')) {
$methods = get_class_methods( 'dynaformEditorAjax');
$this->assertTrue( in_array( 'restore_html', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditorAjax::set_htmlcode
* @todo Implement testset_htmlcode().
*/
public function testset_htmlcode()
{
if (class_exists('dynaformEditorAjax')) {
$methods = get_class_methods( 'dynaformEditorAjax');
$this->assertTrue( in_array( 'set_htmlcode', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditorAjax::get_xmlcode
* @todo Implement testget_xmlcode().
*/
public function testget_xmlcode()
{
if (class_exists('dynaformEditorAjax')) {
$methods = get_class_methods( 'dynaformEditorAjax');
$this->assertTrue( in_array( 'get_xmlcode', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditorAjax::set_xmlcode
* @todo Implement testset_xmlcode().
*/
public function testset_xmlcode()
{
if (class_exists('dynaformEditorAjax')) {
$methods = get_class_methods( 'dynaformEditorAjax');
$this->assertTrue( in_array( 'set_xmlcode', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditorAjax::get_javascripts
* @todo Implement testget_javascripts().
*/
public function testget_javascripts()
{
if (class_exists('dynaformEditorAjax')) {
$methods = get_class_methods( 'dynaformEditorAjax');
$this->assertTrue( in_array( 'get_javascripts', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditorAjax::set_javascript
* @todo Implement testset_javascript().
*/
public function testset_javascript()
{
if (class_exists('dynaformEditorAjax')) {
$methods = get_class_methods( 'dynaformEditorAjax');
$this->assertTrue( in_array( 'set_javascript', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditorAjax::get_properties
* @todo Implement testget_properties().
*/
public function testget_properties()
{
if (class_exists('dynaformEditorAjax')) {
$methods = get_class_methods( 'dynaformEditorAjax');
$this->assertTrue( in_array( 'get_properties', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditorAjax::set_properties
* @todo Implement testset_properties().
*/
public function testset_properties()
{
if (class_exists('dynaformEditorAjax')) {
$methods = get_class_methods( 'dynaformEditorAjax');
$this->assertTrue( in_array( 'set_properties', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditorAjax::get_enabletemplate
* @todo Implement testget_enabletemplate().
*/
public function testget_enabletemplate()
{
if (class_exists('dynaformEditorAjax')) {
$methods = get_class_methods( 'dynaformEditorAjax');
$this->assertTrue( in_array( 'get_enabletemplate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditorAjax::set_enabletemplate
* @todo Implement testset_enabletemplate().
*/
public function testset_enabletemplate()
{
if (class_exists('dynaformEditorAjax')) {
$methods = get_class_methods( 'dynaformEditorAjax');
$this->assertTrue( in_array( 'set_enabletemplate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditorAjax::save
* @todo Implement testsave().
*/
public function testsave()
{
if (class_exists('dynaformEditorAjax')) {
$methods = get_class_methods( 'dynaformEditorAjax');
$this->assertTrue( in_array( 'save', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditorAjax::close
* @todo Implement testclose().
*/
public function testclose()
{
if (class_exists('dynaformEditorAjax')) {
$methods = get_class_methods( 'dynaformEditorAjax');
$this->assertTrue( in_array( 'close', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditorAjax::is_modified
* @todo Implement testis_modified().
*/
public function testis_modified()
{
if (class_exists('dynaformEditorAjax')) {
$methods = get_class_methods( 'dynaformEditorAjax');
$this->assertTrue( in_array( 'is_modified', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,111 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.dynaformEditor.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classdynaformEditorTest extends PHPUnit_Framework_TestCase
{
/**
* @covers dynaformEditor::dynaformEditor
* @todo Implement testdynaformEditor().
*/
public function testdynaformEditor()
{
if (class_exists('dynaformEditor')) {
$methods = get_class_methods( 'dynaformEditor');
$this->assertTrue( in_array( 'dynaformEditor', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditor::_createDefaultXmlForm
* @todo Implement test_createDefaultXmlForm().
*/
public function test_createDefaultXmlForm()
{
if (class_exists('dynaformEditor')) {
$methods = get_class_methods( 'dynaformEditor');
$this->assertTrue( in_array( '_createDefaultXmlForm', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditor::_render
* @todo Implement test_render().
*/
public function test_render()
{
if (class_exists('dynaformEditor')) {
$methods = get_class_methods( 'dynaformEditor');
$this->assertTrue( in_array( '_render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditor::_getFilename
* @todo Implement test_getFilename().
*/
public function test_getFilename()
{
if (class_exists('dynaformEditor')) {
$methods = get_class_methods( 'dynaformEditor');
$this->assertTrue( in_array( '_getFilename', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditor::_setUseTemporalCopy
* @todo Implement test_setUseTemporalCopy().
*/
public function test_setUseTemporalCopy()
{
if (class_exists('dynaformEditor')) {
$methods = get_class_methods( 'dynaformEditor');
$this->assertTrue( in_array( '_setUseTemporalCopy', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditor::_setTmpData
* @todo Implement test_setTmpData().
*/
public function test_setTmpData()
{
if (class_exists('dynaformEditor')) {
$methods = get_class_methods( 'dynaformEditor');
$this->assertTrue( in_array( '_setTmpData', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditor::_getTmpData
* @todo Implement test_getTmpData().
*/
public function test_getTmpData()
{
if (class_exists('dynaformEditor')) {
$methods = get_class_methods( 'dynaformEditor');
$this->assertTrue( in_array( '_getTmpData', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers dynaformEditor::_copyFile
* @todo Implement test_copyFile().
*/
public function test_copyFile()
{
if (class_exists('dynaformEditor')) {
$methods = get_class_methods( 'dynaformEditor');
$this->assertTrue( in_array( '_copyFile', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classfolderDataTest extends PHPUnit_Framework_TestCase
{
/**
* @covers folderData::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('folderData')) {
$methods = get_class_methods( 'folderData');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classfolderDetailTest extends PHPUnit_Framework_TestCase
{
/**
* @covers folderDetail::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('folderDetail')) {
$methods = get_class_methods( 'folderDetail');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,51 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.archive.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classgzip_fileTest extends PHPUnit_Framework_TestCase
{
/**
* @covers gzip_file::gzip_file
* @todo Implement testgzip_file().
*/
public function testgzip_file()
{
if (class_exists('gzip_file')) {
$methods = get_class_methods( 'gzip_file');
$this->assertTrue( in_array( 'gzip_file', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers gzip_file::create_gzip
* @todo Implement testcreate_gzip().
*/
public function testcreate_gzip()
{
if (class_exists('gzip_file')) {
$methods = get_class_methods( 'gzip_file');
$this->assertTrue( in_array( 'create_gzip', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers gzip_file::open_archive
* @todo Implement testopen_archive().
*/
public function testopen_archive()
{
if (class_exists('gzip_file')) {
$methods = get_class_methods( 'gzip_file');
$this->assertTrue( in_array( 'open_archive', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classloginInfoTest extends PHPUnit_Framework_TestCase
{
/**
* @covers loginInfo::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('loginInfo')) {
$methods = get_class_methods( 'loginInfo');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classmenuDetailTest extends PHPUnit_Framework_TestCase
{
/**
* @covers menuDetail::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('menuDetail')) {
$methods = get_class_methods( 'menuDetail');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.pluginRegistry.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classpluginDetailTest extends PHPUnit_Framework_TestCase
{
/**
* @covers pluginDetail::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('pluginDetail')) {
$methods = get_class_methods( 'pluginDetail');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,39 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.pmGauge.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classpmGaugeTest extends PHPUnit_Framework_TestCase
{
/**
* @covers pmGauge::render
* @todo Implement testrender().
*/
public function testrender()
{
if (class_exists('pmGauge')) {
$methods = get_class_methods( 'pmGauge');
$this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers pmGauge::renderGauge
* @todo Implement testrenderGauge().
*/
public function testrenderGauge()
{
if (class_exists('pmGauge')) {
$methods = get_class_methods( 'pmGauge');
$this->assertTrue( in_array( 'renderGauge', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.pmPhing.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:12.
*/
class classpmPhingTest extends PHPUnit_Framework_TestCase
{
/**
* @covers pmPhing::getPhingVersion
* @todo Implement testgetPhingVersion().
*/
public function testgetPhingVersion()
{
if (class_exists('pmPhing')) {
$methods = get_class_methods( 'pmPhing');
$this->assertTrue( in_array( 'getPhingVersion', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.popupMenu.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classpopupMenuTest extends PHPUnit_Framework_TestCase
{
/**
* @covers popupMenu::renderPopup
* @todo Implement testrenderPopup().
*/
public function testrenderPopup()
{
if (class_exists('popupMenu')) {
$methods = get_class_methods( 'popupMenu');
$this->assertTrue( in_array( 'renderPopup', $methods ), 'seems like this function is outside this class' );
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,111 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.propelTable.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:12.
*/
class classpropelTableTest extends PHPUnit_Framework_TestCase
{
/**
* @covers propelTable::prepareQuery
* @todo Implement testprepareQuery().
*/
public function testprepareQuery()
{
if (class_exists('propelTable')) {
$methods = get_class_methods( 'propelTable');
$this->assertTrue( in_array( 'prepareQuery', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers propelTable::setupFromXmlform
* @todo Implement testsetupFromXmlform().
*/
public function testsetupFromXmlform()
{
if (class_exists('propelTable')) {
$methods = get_class_methods( 'propelTable');
$this->assertTrue( in_array( 'setupFromXmlform', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers propelTable::count
* @todo Implement testcount().
*/
public function testcount()
{
if (class_exists('propelTable')) {
$methods = get_class_methods( 'propelTable');
$this->assertTrue( in_array( 'count', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers propelTable::renderTitle
* @todo Implement testrenderTitle().
*/
public function testrenderTitle()
{
if (class_exists('propelTable')) {
$methods = get_class_methods( 'propelTable');
$this->assertTrue( in_array( 'renderTitle', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers propelTable::renderField
* @todo Implement testrenderField().
*/
public function testrenderField()
{
if (class_exists('propelTable')) {
$methods = get_class_methods( 'propelTable');
$this->assertTrue( in_array( 'renderField', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers propelTable::defaultStyle
* @todo Implement testdefaultStyle().
*/
public function testdefaultStyle()
{
if (class_exists('propelTable')) {
$methods = get_class_methods( 'propelTable');
$this->assertTrue( in_array( 'defaultStyle', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers propelTable::renderTable
* @todo Implement testrenderTable().
*/
public function testrenderTable()
{
if (class_exists('propelTable')) {
$methods = get_class_methods( 'propelTable');
$this->assertTrue( in_array( 'renderTable', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers propelTable::printForm
* @todo Implement testprintForm().
*/
public function testprintForm()
{
if (class_exists('propelTable')) {
$methods = get_class_methods( 'propelTable');
$this->assertTrue( in_array( 'printForm', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classredirectDetailTest extends PHPUnit_Framework_TestCase
{
/**
* @covers redirectDetail::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('redirectDetail')) {
$methods = get_class_methods( 'redirectDetail');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,51 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.replacementLogo.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classreplacementLogoTest extends PHPUnit_Framework_TestCase
{
/**
* @covers replacementLogo::replacementLogo
* @todo Implement testreplacementLogo().
*/
public function testreplacementLogo()
{
if (class_exists('replacementLogo')) {
$methods = get_class_methods( 'replacementLogo');
$this->assertTrue( in_array( 'replacementLogo', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers replacementLogo::upLoadFile
* @todo Implement testupLoadFile().
*/
public function testupLoadFile()
{
if (class_exists('replacementLogo')) {
$methods = get_class_methods( 'replacementLogo');
$this->assertTrue( in_array( 'upLoadFile', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers replacementLogo::getNameLogo
* @todo Implement testgetNameLogo().
*/
public function testgetNameLogo()
{
if (class_exists('replacementLogo')) {
$methods = get_class_methods( 'replacementLogo');
$this->assertTrue( in_array( 'getNameLogo', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,291 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.serverConfiguration.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classserverConfTest extends PHPUnit_Framework_TestCase
{
/**
* @covers serverConf::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers serverConf::getSingleton
* @todo Implement testgetSingleton().
*/
public function testgetSingleton()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( 'getSingleton', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers serverConf::serializeInstance
* @todo Implement testserializeInstance().
*/
public function testserializeInstance()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( 'serializeInstance', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers serverConf::unSerializeInstance
* @todo Implement testunSerializeInstance().
*/
public function testunSerializeInstance()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( 'unSerializeInstance', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers serverConf::saveSingleton
* @todo Implement testsaveSingleton().
*/
public function testsaveSingleton()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( 'saveSingleton', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers serverConf::setProperty
* @todo Implement testsetProperty().
*/
public function testsetProperty()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( 'setProperty', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers serverConf::unsetProperty
* @todo Implement testunsetProperty().
*/
public function testunsetProperty()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( 'unsetProperty', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers serverConf::getProperty
* @todo Implement testgetProperty().
*/
public function testgetProperty()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( 'getProperty', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers serverConf::sucessfulLogin
* @todo Implement testsucessfulLogin().
*/
public function testsucessfulLogin()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( 'sucessfulLogin', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers serverConf::setWsInfo
* @todo Implement testsetWsInfo().
*/
public function testsetWsInfo()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( 'setWsInfo', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers serverConf::changeStatusWS
* @todo Implement testchangeStatusWS().
*/
public function testchangeStatusWS()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( 'changeStatusWS', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers serverConf::isWSDisabled
* @todo Implement testisWSDisabled().
*/
public function testisWSDisabled()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( 'isWSDisabled', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers serverConf::checkIfHostNameHasChanged
* @todo Implement testcheckIfHostNameHasChanged().
*/
public function testcheckIfHostNameHasChanged()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( 'checkIfHostNameHasChanged', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers serverConf::getWSList
* @todo Implement testgetWSList().
*/
public function testgetWSList()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( 'getWSList', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers serverConf::getWorkspaceInfo
* @todo Implement testgetWorkspaceInfo().
*/
public function testgetWorkspaceInfo()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( 'getWorkspaceInfo', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers serverConf::getPluginsList
* @todo Implement testgetPluginsList().
*/
public function testgetPluginsList()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( 'getPluginsList', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers serverConf::addPlugin
* @todo Implement testaddPlugin().
*/
public function testaddPlugin()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( 'addPlugin', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers serverConf::getDBVersion
* @todo Implement testgetDBVersion().
*/
public function testgetDBVersion()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( 'getDBVersion', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers serverConf::resetLogins
* @todo Implement testresetLogins().
*/
public function testresetLogins()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( 'resetLogins', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers serverConf::getLanDirection
* @todo Implement testgetLanDirection().
*/
public function testgetLanDirection()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( 'getLanDirection', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers serverConf::setHeartbeatProperty
* @todo Implement testsetHeartbeatProperty().
*/
public function testsetHeartbeatProperty()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( 'setHeartbeatProperty', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers serverConf::unsetHeartbeatProperty
* @todo Implement testunsetHeartbeatProperty().
*/
public function testunsetHeartbeatProperty()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( 'unsetHeartbeatProperty', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers serverConf::getHeartbeatProperty
* @todo Implement testgetHeartbeatProperty().
*/
public function testgetHeartbeatProperty()
{
if (class_exists('serverConf')) {
$methods = get_class_methods( 'serverConf');
$this->assertTrue( in_array( 'getHeartbeatProperty', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,171 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.spool.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classspoolRunTest extends PHPUnit_Framework_TestCase
{
/**
* @covers spoolRun::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('spoolRun')) {
$methods = get_class_methods( 'spoolRun');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers spoolRun::getSpoolFilesList
* @todo Implement testgetSpoolFilesList().
*/
public function testgetSpoolFilesList()
{
if (class_exists('spoolRun')) {
$methods = get_class_methods( 'spoolRun');
$this->assertTrue( in_array( 'getSpoolFilesList', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers spoolRun::create
* @todo Implement testcreate().
*/
public function testcreate()
{
if (class_exists('spoolRun')) {
$methods = get_class_methods( 'spoolRun');
$this->assertTrue( in_array( 'create', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers spoolRun::setConfig
* @todo Implement testsetConfig().
*/
public function testsetConfig()
{
if (class_exists('spoolRun')) {
$methods = get_class_methods( 'spoolRun');
$this->assertTrue( in_array( 'setConfig', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers spoolRun::setData
* @todo Implement testsetData().
*/
public function testsetData()
{
if (class_exists('spoolRun')) {
$methods = get_class_methods( 'spoolRun');
$this->assertTrue( in_array( 'setData', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers spoolRun::sendMail
* @todo Implement testsendMail().
*/
public function testsendMail()
{
if (class_exists('spoolRun')) {
$methods = get_class_methods( 'spoolRun');
$this->assertTrue( in_array( 'sendMail', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers spoolRun::updateSpoolStatus
* @todo Implement testupdateSpoolStatus().
*/
public function testupdateSpoolStatus()
{
if (class_exists('spoolRun')) {
$methods = get_class_methods( 'spoolRun');
$this->assertTrue( in_array( 'updateSpoolStatus', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers spoolRun::handleFrom
* @todo Implement testhandleFrom().
*/
public function testhandleFrom()
{
if (class_exists('spoolRun')) {
$methods = get_class_methods( 'spoolRun');
$this->assertTrue( in_array( 'handleFrom', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers spoolRun::handleEnvelopeTo
* @todo Implement testhandleEnvelopeTo().
*/
public function testhandleEnvelopeTo()
{
if (class_exists('spoolRun')) {
$methods = get_class_methods( 'spoolRun');
$this->assertTrue( in_array( 'handleEnvelopeTo', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers spoolRun::handleMail
* @todo Implement testhandleMail().
*/
public function testhandleMail()
{
if (class_exists('spoolRun')) {
$methods = get_class_methods( 'spoolRun');
$this->assertTrue( in_array( 'handleMail', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers spoolRun::resendEmails
* @todo Implement testresendEmails().
*/
public function testresendEmails()
{
if (class_exists('spoolRun')) {
$methods = get_class_methods( 'spoolRun');
$this->assertTrue( in_array( 'resendEmails', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers spoolRun::getWarnings
* @todo Implement testgetWarnings().
*/
public function testgetWarnings()
{
if (class_exists('spoolRun')) {
$methods = get_class_methods( 'spoolRun');
$this->assertTrue( in_array( 'getWarnings', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers spoolRun::db_insert
* @todo Implement testdb_insert().
*/
public function testdb_insert()
{
if (class_exists('spoolRun')) {
$methods = get_class_methods( 'spoolRun');
$this->assertTrue( in_array( 'db_insert', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classstepDetailTest extends PHPUnit_Framework_TestCase
{
/**
* @covers stepDetail::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('stepDetail')) {
$methods = get_class_methods( 'stepDetail');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,63 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.archive.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classtar_fileTest extends PHPUnit_Framework_TestCase
{
/**
* @covers tar_file::tar_file
* @todo Implement testtar_file().
*/
public function testtar_file()
{
if (class_exists('tar_file')) {
$methods = get_class_methods( 'tar_file');
$this->assertTrue( in_array( 'tar_file', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers tar_file::create_tar
* @todo Implement testcreate_tar().
*/
public function testcreate_tar()
{
if (class_exists('tar_file')) {
$methods = get_class_methods( 'tar_file');
$this->assertTrue( in_array( 'create_tar', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers tar_file::extract_files
* @todo Implement testextract_files().
*/
public function testextract_files()
{
if (class_exists('tar_file')) {
$methods = get_class_methods( 'tar_file');
$this->assertTrue( in_array( 'extract_files', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers tar_file::open_archive
* @todo Implement testopen_archive().
*/
public function testopen_archive()
{
if (class_exists('tar_file')) {
$methods = get_class_methods( 'tar_file');
$this->assertTrue( in_array( 'open_archive', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classtaskExtendedPropertyTest extends PHPUnit_Framework_TestCase
{
/**
* @covers taskExtendedProperty::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('taskExtendedProperty')) {
$methods = get_class_methods( 'taskExtendedProperty');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classtoolbarDetailTest extends PHPUnit_Framework_TestCase
{
/**
* @covers toolbarDetail::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('toolbarDetail')) {
$methods = get_class_methods( 'toolbarDetail');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classtriggerDetailTest extends PHPUnit_Framework_TestCase
{
/**
* @covers triggerDetail::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('triggerDetail')) {
$methods = get_class_methods( 'triggerDetail');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,123 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.triggerLibrary.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classtriggerLibraryTest extends PHPUnit_Framework_TestCase
{
/**
* @covers triggerLibrary::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('triggerLibrary')) {
$methods = get_class_methods( 'triggerLibrary');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers triggerLibrary::getSingleton
* @todo Implement testgetSingleton().
*/
public function testgetSingleton()
{
if (class_exists('triggerLibrary')) {
$methods = get_class_methods( 'triggerLibrary');
$this->assertTrue( in_array( 'getSingleton', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers triggerLibrary::serializeInstance
* @todo Implement testserializeInstance().
*/
public function testserializeInstance()
{
if (class_exists('triggerLibrary')) {
$methods = get_class_methods( 'triggerLibrary');
$this->assertTrue( in_array( 'serializeInstance', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers triggerLibrary::unSerializeInstance
* @todo Implement testunSerializeInstance().
*/
public function testunSerializeInstance()
{
if (class_exists('triggerLibrary')) {
$methods = get_class_methods( 'triggerLibrary');
$this->assertTrue( in_array( 'unSerializeInstance', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers triggerLibrary::registerFunctionsFileToLibrary
* @todo Implement testregisterFunctionsFileToLibrary().
*/
public function testregisterFunctionsFileToLibrary()
{
if (class_exists('triggerLibrary')) {
$methods = get_class_methods( 'triggerLibrary');
$this->assertTrue( in_array( 'registerFunctionsFileToLibrary', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers triggerLibrary::getMethodsFromLibraryFile
* @todo Implement testgetMethodsFromLibraryFile().
*/
public function testgetMethodsFromLibraryFile()
{
if (class_exists('triggerLibrary')) {
$methods = get_class_methods( 'triggerLibrary');
$this->assertTrue( in_array( 'getMethodsFromLibraryFile', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers triggerLibrary::getRegisteredClasses
* @todo Implement testgetRegisteredClasses().
*/
public function testgetRegisteredClasses()
{
if (class_exists('triggerLibrary')) {
$methods = get_class_methods( 'triggerLibrary');
$this->assertTrue( in_array( 'getRegisteredClasses', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers triggerLibrary::getLibraryDefinition
* @todo Implement testgetLibraryDefinition().
*/
public function testgetLibraryDefinition()
{
if (class_exists('triggerLibrary')) {
$methods = get_class_methods( 'triggerLibrary');
$this->assertTrue( in_array( 'getLibraryDefinition', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers triggerLibrary::__destruct
* @todo Implement test__destruct().
*/
public function test__destruct()
{
if (class_exists('triggerLibrary')) {
$methods = get_class_methods( 'triggerLibrary');
$this->assertTrue( in_array( '__destruct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.plugin.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:18.
*/
class classuploadDocumentDataTest extends PHPUnit_Framework_TestCase
{
/**
* @covers uploadDocumentData::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('uploadDocumentData')) {
$methods = get_class_methods( 'uploadDocumentData');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,423 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.wsTools.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:11.
*/
class classworkspaceToolsTest extends PHPUnit_Framework_TestCase
{
/**
* @covers workspaceTools::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::workspaceExists
* @todo Implement testworkspaceExists().
*/
public function testworkspaceExists()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'workspaceExists', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::upgrade
* @todo Implement testupgrade().
*/
public function testupgrade()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'upgrade', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::getDBInfo
* @todo Implement testgetDBInfo().
*/
public function testgetDBInfo()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'getDBInfo', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::resetDBInfoCallback
* @todo Implement testresetDBInfoCallback().
*/
public function testresetDBInfoCallback()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'resetDBInfoCallback', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::resetDBInfo
* @todo Implement testresetDBInfo().
*/
public function testresetDBInfo()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'resetDBInfo', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::getDBCredentials
* @todo Implement testgetDBCredentials().
*/
public function testgetDBCredentials()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'getDBCredentials', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::initPropel
* @todo Implement testinitPropel().
*/
public function testinitPropel()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'initPropel', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::closePropel
* @todo Implement testclosePropel().
*/
public function testclosePropel()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'closePropel', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::upgradeTranslation
* @todo Implement testupgradeTranslation().
*/
public function testupgradeTranslation()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'upgradeTranslation', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::getDatabase
* @todo Implement testgetDatabase().
*/
public function testgetDatabase()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'getDatabase', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::closeDatabase
* @todo Implement testcloseDatabase().
*/
public function testcloseDatabase()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'closeDatabase', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::close
* @todo Implement testclose().
*/
public function testclose()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'close', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::getSchema
* @todo Implement testgetSchema().
*/
public function testgetSchema()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'getSchema', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::upgradeCacheView
* @todo Implement testupgradeCacheView().
*/
public function testupgradeCacheView()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'upgradeCacheView', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::upgradePluginsDatabase
* @todo Implement testupgradePluginsDatabase().
*/
public function testupgradePluginsDatabase()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'upgradePluginsDatabase', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::upgradeDatabase
* @todo Implement testupgradeDatabase().
*/
public function testupgradeDatabase()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'upgradeDatabase', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::upgradeSchema
* @todo Implement testupgradeSchema().
*/
public function testupgradeSchema()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'upgradeSchema', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::upgradeData
* @todo Implement testupgradeData().
*/
public function testupgradeData()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'upgradeData', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::updateThisRegistry
* @todo Implement testupdateThisRegistry().
*/
public function testupdateThisRegistry()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'updateThisRegistry', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::getMetadata
* @todo Implement testgetMetadata().
*/
public function testgetMetadata()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'getMetadata', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::printSysInfo
* @todo Implement testprintSysInfo().
*/
public function testprintSysInfo()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'printSysInfo', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::printInfo
* @todo Implement testprintInfo().
*/
public function testprintInfo()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'printInfo', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::printMetadata
* @todo Implement testprintMetadata().
*/
public function testprintMetadata()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'printMetadata', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::exportDatabase
* @todo Implement testexportDatabase().
*/
public function testexportDatabase()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'exportDatabase', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::addToBackup
* @todo Implement testaddToBackup().
*/
public function testaddToBackup()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'addToBackup', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::createBackup
* @todo Implement testcreateBackup().
*/
public function testcreateBackup()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'createBackup', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::backup
* @todo Implement testbackup().
*/
public function testbackup()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'backup', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::createDBUser
* @todo Implement testcreateDBUser().
*/
public function testcreateDBUser()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'createDBUser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::executeSQLScript
* @todo Implement testexecuteSQLScript().
*/
public function testexecuteSQLScript()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'executeSQLScript', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::restoreLegacy
* @todo Implement testrestoreLegacy().
*/
public function testrestoreLegacy()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'restoreLegacy', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::getBackupInfo
* @todo Implement testgetBackupInfo().
*/
public function testgetBackupInfo()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'getBackupInfo', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::dirPerms
* @todo Implement testdirPerms().
*/
public function testdirPerms()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'dirPerms', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers workspaceTools::restore
* @todo Implement testrestore().
*/
public function testrestore()
{
if (class_exists('workspaceTools')) {
$methods = get_class_methods( 'workspaceTools');
$this->assertTrue( in_array( 'restore', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,435 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.wsBase.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classwsBaseTest extends PHPUnit_Framework_TestCase
{
/**
* @covers wsBase::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::login
* @todo Implement testlogin().
*/
public function testlogin()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'login', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::processList
* @todo Implement testprocessList().
*/
public function testprocessList()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'processList', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::roleList
* @todo Implement testroleList().
*/
public function testroleList()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'roleList', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::groupList
* @todo Implement testgroupList().
*/
public function testgroupList()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'groupList', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::departmentList
* @todo Implement testdepartmentList().
*/
public function testdepartmentList()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'departmentList', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::caseList
* @todo Implement testcaseList().
*/
public function testcaseList()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'caseList', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::unassignedCaseList
* @todo Implement testunassignedCaseList().
*/
public function testunassignedCaseList()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'unassignedCaseList', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::userList
* @todo Implement testuserList().
*/
public function testuserList()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'userList', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::triggerList
* @todo Implement testtriggerList().
*/
public function testtriggerList()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'triggerList', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::inputDocumentList
* @todo Implement testinputDocumentList().
*/
public function testinputDocumentList()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'inputDocumentList', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::inputDocumentProcessList
* @todo Implement testinputDocumentProcessList().
*/
public function testinputDocumentProcessList()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'inputDocumentProcessList', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::outputDocumentList
* @todo Implement testoutputDocumentList().
*/
public function testoutputDocumentList()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'outputDocumentList', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::removeDocument
* @todo Implement testremoveDocument().
*/
public function testremoveDocument()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'removeDocument', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::taskList
* @todo Implement testtaskList().
*/
public function testtaskList()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'taskList', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::sendMessage
* @todo Implement testsendMessage().
*/
public function testsendMessage()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'sendMessage', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::getCaseInfo
* @todo Implement testgetCaseInfo().
*/
public function testgetCaseInfo()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'getCaseInfo', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::createUser
* @todo Implement testcreateUser().
*/
public function testcreateUser()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'createUser', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::createGroup
* @todo Implement testcreateGroup().
*/
public function testcreateGroup()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'createGroup', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::createDepartment
* @todo Implement testcreateDepartment().
*/
public function testcreateDepartment()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'createDepartment', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::removeUserFromGroup
* @todo Implement testremoveUserFromGroup().
*/
public function testremoveUserFromGroup()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'removeUserFromGroup', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::assignUserToGroup
* @todo Implement testassignUserToGroup().
*/
public function testassignUserToGroup()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'assignUserToGroup', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::assignUserToDepartment
* @todo Implement testassignUserToDepartment().
*/
public function testassignUserToDepartment()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'assignUserToDepartment', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::sendVariables
* @todo Implement testsendVariables().
*/
public function testsendVariables()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'sendVariables', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::getVariables
* @todo Implement testgetVariables().
*/
public function testgetVariables()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'getVariables', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::newCase
* @todo Implement testnewCase().
*/
public function testnewCase()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'newCase', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::newCaseImpersonate
* @todo Implement testnewCaseImpersonate().
*/
public function testnewCaseImpersonate()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'newCaseImpersonate', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::derivateCase
* @todo Implement testderivateCase().
*/
public function testderivateCase()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'derivateCase', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::executeTrigger
* @todo Implement testexecuteTrigger().
*/
public function testexecuteTrigger()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'executeTrigger', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::taskCase
* @todo Implement testtaskCase().
*/
public function testtaskCase()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'taskCase', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::processListVerified
* @todo Implement testprocessListVerified().
*/
public function testprocessListVerified()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'processListVerified', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::reassignCase
* @todo Implement testreassignCase().
*/
public function testreassignCase()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'reassignCase', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::systemInformation
* @todo Implement testsystemInformation().
*/
public function testsystemInformation()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'systemInformation', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::importProcessFromLibrary
* @todo Implement testimportProcessFromLibrary().
*/
public function testimportProcessFromLibrary()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'importProcessFromLibrary', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsBase::getCaseNotes
* @todo Implement testgetCaseNotes().
*/
public function testgetCaseNotes()
{
if (class_exists('wsBase')) {
$methods = get_class_methods( 'wsBase');
$this->assertTrue( in_array( 'getCaseNotes', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.wsResponse.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classwsCreateDepartmentResponseTest extends PHPUnit_Framework_TestCase
{
/**
* @covers wsCreateDepartmentResponse::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('wsCreateDepartmentResponse')) {
$methods = get_class_methods( 'wsCreateDepartmentResponse');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.wsResponse.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classwsCreateGroupResponseTest extends PHPUnit_Framework_TestCase
{
/**
* @covers wsCreateGroupResponse::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('wsCreateGroupResponse')) {
$methods = get_class_methods( 'wsCreateGroupResponse');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.wsResponse.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classwsCreateUserResponseTest extends PHPUnit_Framework_TestCase
{
/**
* @covers wsCreateUserResponse::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('wsCreateUserResponse')) {
$methods = get_class_methods( 'wsCreateUserResponse');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.wsResponse.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classwsGetCaseNotesResponseTest extends PHPUnit_Framework_TestCase
{
/**
* @covers wsGetCaseNotesResponse::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('wsGetCaseNotesResponse')) {
$methods = get_class_methods( 'wsGetCaseNotesResponse');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,27 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.wsResponse.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classwsGetVariableResponseTest extends PHPUnit_Framework_TestCase
{
/**
* @covers wsGetVariableResponse::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('wsGetVariableResponse')) {
$methods = get_class_methods( 'wsGetVariableResponse');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,51 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.wsResponse.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classwsResponseTest extends PHPUnit_Framework_TestCase
{
/**
* @covers wsResponse::__construct
* @todo Implement test__construct().
*/
public function test__construct()
{
if (class_exists('wsResponse')) {
$methods = get_class_methods( 'wsResponse');
$this->assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsResponse::getPayloadString
* @todo Implement testgetPayloadString().
*/
public function testgetPayloadString()
{
if (class_exists('wsResponse')) {
$methods = get_class_methods( 'wsResponse');
$this->assertTrue( in_array( 'getPayloadString', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers wsResponse::getPayloadArray
* @todo Implement testgetPayloadArray().
*/
public function testgetPayloadArray()
{
if (class_exists('wsResponse')) {
$methods = get_class_methods( 'wsResponse');
$this->assertTrue( in_array( 'getPayloadArray', $methods ), 'seems like this function is outside this class' );
}
}
}

View File

@@ -0,0 +1,39 @@
<?php
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
require_once PATH_TRUNK . 'gulliver/thirdparty/propel/Propel.php' ;
require_once PATH_TRUNK . 'gulliver/thirdparty/creole/Creole.php' ;
require_once PATH_TRUNK . 'workflow/engine/classes/class.archive.php';
/**
* Generated by ProcessMaker Test Unit Generator on 2012-05-10 at 20:56:17.
*/
class classzip_fileTest extends PHPUnit_Framework_TestCase
{
/**
* @covers zip_file::zip_file
* @todo Implement testzip_file().
*/
public function testzip_file()
{
if (class_exists('zip_file')) {
$methods = get_class_methods( 'zip_file');
$this->assertTrue( in_array( 'zip_file', $methods ), 'seems like this function is outside this class' );
}
}
/**
* @covers zip_file::create_zip
* @todo Implement testcreate_zip().
*/
public function testcreate_zip()
{
if (class_exists('zip_file')) {
$methods = get_class_methods( 'zip_file');
$this->assertTrue( in_array( 'create_zip', $methods ), 'seems like this function is outside this class' );
}
}
}