From 871ba8c173abeb91d8191ed8c58138a6bc3fdc76 Mon Sep 17 00:00:00 2001 From: Fernando Ontiveros Date: Thu, 10 May 2012 20:57:25 -0400 Subject: [PATCH] BUG 0000 Test Units for workflow.engine.classes --- tests/generateTestUnit.php | 6 +- .../engine/classes/classApplicationsTest.php | 75 + .../engine/classes/classArrayBasePeerTest.php | 267 +++ .../workflow/engine/classes/classCLITest.php | 171 ++ .../engine/classes/classCasesTest.php | 1155 +++++++++++ .../classes/classConfigurationsTest.php | 207 ++ .../engine/classes/classDerivationTest.php | 171 ++ .../engine/classes/classDynaFormFieldTest.php | 75 + .../engine/classes/classGroupUserTest.php | 51 + .../engine/classes/classGroupsTest.php | 219 ++ .../classes/classGulliverBasePeerTest.php | 255 +++ .../engine/classes/classInstallerTest.php | 219 ++ .../engine/classes/classJavaBridgePMTest.php | 51 + .../workflow/engine/classes/classJrmlTest.php | 111 + .../workflow/engine/classes/classNETTest.php | 183 ++ .../classes/classObjectCellectionTest.php | 51 + .../classes/classObjectDocumentTest.php | 27 + .../engine/classes/classPMDashletTest.php | 171 ++ .../classes/classPMPluginRegistryTest.php | 687 +++++++ .../engine/classes/classPMPluginTest.php | 279 +++ .../engine/classes/classPMScriptTest.php | 195 ++ .../engine/classes/classPMmemcachedTest.php | 135 ++ .../engine/classes/classPmTableTest.php | 339 ++++ .../classes/classProcessMakerWebDavTest.php | 231 +++ .../engine/classes/classProcessesTest.php | 1707 ++++++++++++++++ .../engine/classes/classReportTablesTest.php | 147 ++ .../engine/classes/classReportTest.php | 183 ++ .../engine/classes/classSessionsTest.php | 99 + .../workflow/engine/classes/classStatTest.php | 27 + .../engine/classes/classSystemTest.php | 303 +++ .../engine/classes/classTasksTest.php | 327 +++ .../engine/classes/classToolBarTest.php | 15 + .../engine/classes/classXMLConnectionTest.php | 147 ++ .../engine/classes/classXMLDBTest.php | 39 + .../engine/classes/classXMLResultTest.php | 63 + .../classXmlForm_Field_CheckBoxTableTest.php | 27 + .../classes/classXmlForm_Field_ImageTest.php | 27 + .../classes/classXmlForm_Field_TextPMTest.php | 51 + .../classXmlForm_Field_TextareaPMTest.php | 39 + .../classXmlForm_Field_ToolBarTest.php | 39 + .../classes/classXmlForm_Field_hoursTest.php | 75 + .../classXmlForm_Field_popupOptionTest.php | 27 + .../classXmlForm_Field_toolButtonTest.php | 27 + .../workflow/engine/classes/classXpdlTest.php | 543 +++++ .../engine/classes/classarchiveTest.php | 159 ++ .../engine/classes/classbzip_fileTest.php | 51 + .../engine/classes/classcalendarTest.php | 63 + .../classes/classcaseSchedulerPluginTest.php | 27 + .../engine/classes/classcssFileTest.php | 27 + .../engine/classes/classdashboardPageTest.php | 27 + .../classdashletOpenVSCompletedTest.php | 63 + .../classdashletProcessMakerCommunityTest.php | 63 + ...classdashletProcessMakerEnterpriseTest.php | 63 + .../classes/classdashletRssReaderTest.php | 63 + .../engine/classes/classdatesTest.php | 231 +++ .../engine/classes/classdbConnectionsTest.php | 171 ++ .../classes/classdynaformEditorAjaxTest.php | 231 +++ .../classes/classdynaformEditorTest.php | 111 + .../engine/classes/classfolderDataTest.php | 27 + .../engine/classes/classfolderDetailTest.php | 27 + .../engine/classes/classgzip_fileTest.php | 51 + .../engine/classes/classloginInfoTest.php | 27 + .../engine/classes/classmenuDetailTest.php | 27 + .../engine/classes/classpluginDetailTest.php | 27 + .../engine/classes/classpmGaugeTest.php | 39 + .../engine/classes/classpmPhingTest.php | 27 + .../engine/classes/classpopupMenuTest.php | 27 + .../engine/classes/classprocessMapTest.php | 1803 +++++++++++++++++ .../engine/classes/classpropelTableTest.php | 111 + .../classes/classredirectDetailTest.php | 27 + .../classes/classreplacementLogoTest.php | 51 + .../engine/classes/classserverConfTest.php | 291 +++ .../engine/classes/classspoolRunTest.php | 171 ++ .../engine/classes/classstepDetailTest.php | 27 + .../engine/classes/classtar_fileTest.php | 63 + .../classes/classtaskExtendedPropertyTest.php | 27 + .../engine/classes/classtoolbarDetailTest.php | 27 + .../engine/classes/classtriggerDetailTest.php | 27 + .../classes/classtriggerLibraryTest.php | 123 ++ .../classes/classuploadDocumentDataTest.php | 27 + .../classes/classworkspaceToolsTest.php | 423 ++++ .../engine/classes/classwsBaseTest.php | 435 ++++ .../classwsCreateDepartmentResponseTest.php | 27 + .../classwsCreateGroupResponseTest.php | 27 + .../classes/classwsCreateUserResponseTest.php | 27 + .../classwsGetCaseNotesResponseTest.php | 27 + .../classwsGetVariableResponseTest.php | 27 + .../engine/classes/classwsResponseTest.php | 51 + .../engine/classes/classzip_fileTest.php | 39 + 89 files changed, 14729 insertions(+), 1 deletion(-) create mode 100644 tests/workflow/engine/classes/classApplicationsTest.php create mode 100644 tests/workflow/engine/classes/classArrayBasePeerTest.php create mode 100644 tests/workflow/engine/classes/classCLITest.php create mode 100644 tests/workflow/engine/classes/classCasesTest.php create mode 100644 tests/workflow/engine/classes/classConfigurationsTest.php create mode 100644 tests/workflow/engine/classes/classDerivationTest.php create mode 100644 tests/workflow/engine/classes/classDynaFormFieldTest.php create mode 100644 tests/workflow/engine/classes/classGroupUserTest.php create mode 100644 tests/workflow/engine/classes/classGroupsTest.php create mode 100644 tests/workflow/engine/classes/classGulliverBasePeerTest.php create mode 100644 tests/workflow/engine/classes/classInstallerTest.php create mode 100644 tests/workflow/engine/classes/classJavaBridgePMTest.php create mode 100644 tests/workflow/engine/classes/classJrmlTest.php create mode 100644 tests/workflow/engine/classes/classNETTest.php create mode 100644 tests/workflow/engine/classes/classObjectCellectionTest.php create mode 100644 tests/workflow/engine/classes/classObjectDocumentTest.php create mode 100644 tests/workflow/engine/classes/classPMDashletTest.php create mode 100644 tests/workflow/engine/classes/classPMPluginRegistryTest.php create mode 100644 tests/workflow/engine/classes/classPMPluginTest.php create mode 100644 tests/workflow/engine/classes/classPMScriptTest.php create mode 100644 tests/workflow/engine/classes/classPMmemcachedTest.php create mode 100644 tests/workflow/engine/classes/classPmTableTest.php create mode 100644 tests/workflow/engine/classes/classProcessMakerWebDavTest.php create mode 100644 tests/workflow/engine/classes/classProcessesTest.php create mode 100644 tests/workflow/engine/classes/classReportTablesTest.php create mode 100644 tests/workflow/engine/classes/classReportTest.php create mode 100644 tests/workflow/engine/classes/classSessionsTest.php create mode 100644 tests/workflow/engine/classes/classStatTest.php create mode 100644 tests/workflow/engine/classes/classSystemTest.php create mode 100644 tests/workflow/engine/classes/classTasksTest.php create mode 100644 tests/workflow/engine/classes/classToolBarTest.php create mode 100644 tests/workflow/engine/classes/classXMLConnectionTest.php create mode 100644 tests/workflow/engine/classes/classXMLDBTest.php create mode 100644 tests/workflow/engine/classes/classXMLResultTest.php create mode 100644 tests/workflow/engine/classes/classXmlForm_Field_CheckBoxTableTest.php create mode 100644 tests/workflow/engine/classes/classXmlForm_Field_ImageTest.php create mode 100644 tests/workflow/engine/classes/classXmlForm_Field_TextPMTest.php create mode 100644 tests/workflow/engine/classes/classXmlForm_Field_TextareaPMTest.php create mode 100644 tests/workflow/engine/classes/classXmlForm_Field_ToolBarTest.php create mode 100644 tests/workflow/engine/classes/classXmlForm_Field_hoursTest.php create mode 100644 tests/workflow/engine/classes/classXmlForm_Field_popupOptionTest.php create mode 100644 tests/workflow/engine/classes/classXmlForm_Field_toolButtonTest.php create mode 100644 tests/workflow/engine/classes/classXpdlTest.php create mode 100644 tests/workflow/engine/classes/classarchiveTest.php create mode 100644 tests/workflow/engine/classes/classbzip_fileTest.php create mode 100644 tests/workflow/engine/classes/classcalendarTest.php create mode 100644 tests/workflow/engine/classes/classcaseSchedulerPluginTest.php create mode 100644 tests/workflow/engine/classes/classcssFileTest.php create mode 100644 tests/workflow/engine/classes/classdashboardPageTest.php create mode 100644 tests/workflow/engine/classes/classdashletOpenVSCompletedTest.php create mode 100644 tests/workflow/engine/classes/classdashletProcessMakerCommunityTest.php create mode 100644 tests/workflow/engine/classes/classdashletProcessMakerEnterpriseTest.php create mode 100644 tests/workflow/engine/classes/classdashletRssReaderTest.php create mode 100644 tests/workflow/engine/classes/classdatesTest.php create mode 100644 tests/workflow/engine/classes/classdbConnectionsTest.php create mode 100644 tests/workflow/engine/classes/classdynaformEditorAjaxTest.php create mode 100644 tests/workflow/engine/classes/classdynaformEditorTest.php create mode 100644 tests/workflow/engine/classes/classfolderDataTest.php create mode 100644 tests/workflow/engine/classes/classfolderDetailTest.php create mode 100644 tests/workflow/engine/classes/classgzip_fileTest.php create mode 100644 tests/workflow/engine/classes/classloginInfoTest.php create mode 100644 tests/workflow/engine/classes/classmenuDetailTest.php create mode 100644 tests/workflow/engine/classes/classpluginDetailTest.php create mode 100644 tests/workflow/engine/classes/classpmGaugeTest.php create mode 100644 tests/workflow/engine/classes/classpmPhingTest.php create mode 100644 tests/workflow/engine/classes/classpopupMenuTest.php create mode 100644 tests/workflow/engine/classes/classprocessMapTest.php create mode 100644 tests/workflow/engine/classes/classpropelTableTest.php create mode 100644 tests/workflow/engine/classes/classredirectDetailTest.php create mode 100644 tests/workflow/engine/classes/classreplacementLogoTest.php create mode 100644 tests/workflow/engine/classes/classserverConfTest.php create mode 100644 tests/workflow/engine/classes/classspoolRunTest.php create mode 100644 tests/workflow/engine/classes/classstepDetailTest.php create mode 100644 tests/workflow/engine/classes/classtar_fileTest.php create mode 100644 tests/workflow/engine/classes/classtaskExtendedPropertyTest.php create mode 100644 tests/workflow/engine/classes/classtoolbarDetailTest.php create mode 100644 tests/workflow/engine/classes/classtriggerDetailTest.php create mode 100644 tests/workflow/engine/classes/classtriggerLibraryTest.php create mode 100644 tests/workflow/engine/classes/classuploadDocumentDataTest.php create mode 100644 tests/workflow/engine/classes/classworkspaceToolsTest.php create mode 100644 tests/workflow/engine/classes/classwsBaseTest.php create mode 100644 tests/workflow/engine/classes/classwsCreateDepartmentResponseTest.php create mode 100644 tests/workflow/engine/classes/classwsCreateGroupResponseTest.php create mode 100644 tests/workflow/engine/classes/classwsCreateUserResponseTest.php create mode 100644 tests/workflow/engine/classes/classwsGetCaseNotesResponseTest.php create mode 100644 tests/workflow/engine/classes/classwsGetVariableResponseTest.php create mode 100644 tests/workflow/engine/classes/classwsResponseTest.php create mode 100644 tests/workflow/engine/classes/classzip_fileTest.php diff --git a/tests/generateTestUnit.php b/tests/generateTestUnit.php index c0f54e3fb..c2efd44e2 100644 --- a/tests/generateTestUnit.php +++ b/tests/generateTestUnit.php @@ -15,7 +15,8 @@ // $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', ''); + //parsingFolder('gulliver/system', ''); + parsingFolder('workflow/engine/classes', ''); function parsingFolder ( $folder, $exceptionsText ) { $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/system/class.xmlform.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, " /** \n" ); fprintf ( $fp, " * Generated by ProcessMaker Test Unit Generator on %s at %s.\n", date('Y-m-d'), date('H:i:s') ); diff --git a/tests/workflow/engine/classes/classApplicationsTest.php b/tests/workflow/engine/classes/classApplicationsTest.php new file mode 100644 index 000000000..d04f5d6ad --- /dev/null +++ b/tests/workflow/engine/classes/classApplicationsTest.php @@ -0,0 +1,75 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classArrayBasePeerTest.php b/tests/workflow/engine/classes/classArrayBasePeerTest.php new file mode 100644 index 000000000..55dd120b2 --- /dev/null +++ b/tests/workflow/engine/classes/classArrayBasePeerTest.php @@ -0,0 +1,267 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classCLITest.php b/tests/workflow/engine/classes/classCLITest.php new file mode 100644 index 000000000..8c65128a6 --- /dev/null +++ b/tests/workflow/engine/classes/classCLITest.php @@ -0,0 +1,171 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classCasesTest.php b/tests/workflow/engine/classes/classCasesTest.php new file mode 100644 index 000000000..257fbfc5e --- /dev/null +++ b/tests/workflow/engine/classes/classCasesTest.php @@ -0,0 +1,1155 @@ +assertTrue( in_array( 'canStartCase', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getStartCases + * @todo Implement testgetStartCases(). + */ + public function testgetStartCases() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getStartCases', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getStartCasesPerType + * @todo Implement testgetStartCasesPerType(). + */ + public function testgetStartCasesPerType() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getStartCasesPerType', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getSelfServiceTasks + * @todo Implement testgetSelfServiceTasks(). + */ + public function testgetSelfServiceTasks() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getSelfServiceTasks', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::isSelfService + * @todo Implement testisSelfService(). + */ + public function testisSelfService() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'isSelfService', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::loadCase + * @todo Implement testloadCase(). + */ + public function testloadCase() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'loadCase', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::loadCaseByNumber + * @todo Implement testloadCaseByNumber(). + */ + public function testloadCaseByNumber() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'loadCaseByNumber', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::refreshCaseLabel + * @todo Implement testrefreshCaseLabel(). + */ + public function testrefreshCaseLabel() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'refreshCaseLabel', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::refreshCaseTitleAndDescription + * @todo Implement testrefreshCaseTitleAndDescription(). + */ + public function testrefreshCaseTitleAndDescription() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'refreshCaseTitleAndDescription', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::newRefreshCaseTitleAndDescription + * @todo Implement testnewRefreshCaseTitleAndDescription(). + */ + public function testnewRefreshCaseTitleAndDescription() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'newRefreshCaseTitleAndDescription', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::refreshCaseTitle + * @todo Implement testrefreshCaseTitle(). + */ + public function testrefreshCaseTitle() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'refreshCaseTitle', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::refreshCaseDescription + * @todo Implement testrefreshCaseDescription(). + */ + public function testrefreshCaseDescription() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'refreshCaseDescription', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::refreshCaseStatusCode + * @todo Implement testrefreshCaseStatusCode(). + */ + public function testrefreshCaseStatusCode() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'refreshCaseStatusCode', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::arrayRecursiveDiff + * @todo Implement testarrayRecursiveDiff(). + */ + public function testarrayRecursiveDiff() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'arrayRecursiveDiff', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::updateCase + * @todo Implement testupdateCase(). + */ + public function testupdateCase() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'updateCase', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::removeCase + * @todo Implement testremoveCase(). + */ + public function testremoveCase() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'removeCase', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::setDelInitDate + * @todo Implement testsetDelInitDate(). + */ + public function testsetDelInitDate() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'setDelInitDate', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::setCatchUser + * @todo Implement testsetCatchUser(). + */ + public function testsetCatchUser() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'setCatchUser', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::GetOpenThreads + * @todo Implement testGetOpenThreads(). + */ + public function testGetOpenThreads() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'GetOpenThreads', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getSiblingThreads + * @todo Implement testgetSiblingThreads(). + */ + public function testgetSiblingThreads() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getSiblingThreads', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getOpenSiblingThreads + * @todo Implement testgetOpenSiblingThreads(). + */ + public function testgetOpenSiblingThreads() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getOpenSiblingThreads', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::searchOpenPreviousTasks + * @todo Implement testsearchOpenPreviousTasks(). + */ + public function testsearchOpenPreviousTasks() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'searchOpenPreviousTasks', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getReviewedTasks + * @todo Implement testgetReviewedTasks(). + */ + public function testgetReviewedTasks() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getReviewedTasks', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::CountTotalPreviousTasks + * @todo Implement testCountTotalPreviousTasks(). + */ + public function testCountTotalPreviousTasks() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'CountTotalPreviousTasks', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getOpenNullDelegations + * @todo Implement testgetOpenNullDelegations(). + */ + public function testgetOpenNullDelegations() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getOpenNullDelegations', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::isRouteOpen + * @todo Implement testisRouteOpen(). + */ + public function testisRouteOpen() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'isRouteOpen', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::newAppDelegation + * @todo Implement testnewAppDelegation(). + */ + public function testnewAppDelegation() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'newAppDelegation', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::updateAppDelegation + * @todo Implement testupdateAppDelegation(). + */ + public function testupdateAppDelegation() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'updateAppDelegation', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::GetAllDelegations + * @todo Implement testGetAllDelegations(). + */ + public function testGetAllDelegations() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'GetAllDelegations', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::GetAllThreads + * @todo Implement testGetAllThreads(). + */ + public function testGetAllThreads() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'GetAllThreads', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::updateAppThread + * @todo Implement testupdateAppThread(). + */ + public function testupdateAppThread() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'updateAppThread', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::closeAppThread + * @todo Implement testcloseAppThread(). + */ + public function testcloseAppThread() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'closeAppThread', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::closeAllThreads + * @todo Implement testcloseAllThreads(). + */ + public function testcloseAllThreads() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'closeAllThreads', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::newAppThread + * @todo Implement testnewAppThread(). + */ + public function testnewAppThread() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'newAppThread', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::closeAllDelegations + * @todo Implement testcloseAllDelegations(). + */ + public function testcloseAllDelegations() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'closeAllDelegations', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::CloseCurrentDelegation + * @todo Implement testCloseCurrentDelegation(). + */ + public function testCloseCurrentDelegation() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'CloseCurrentDelegation', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::ReactivateCurrentDelegation + * @todo Implement testReactivateCurrentDelegation(). + */ + public function testReactivateCurrentDelegation() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'ReactivateCurrentDelegation', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::startCase + * @todo Implement teststartCase(). + */ + public function teststartCase() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'startCase', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getNextStep + * @todo Implement testgetNextStep(). + */ + public function testgetNextStep() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getNextStep', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getPreviousStep + * @todo Implement testgetPreviousStep(). + */ + public function testgetPreviousStep() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getPreviousStep', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getNextSupervisorStep + * @todo Implement testgetNextSupervisorStep(). + */ + public function testgetNextSupervisorStep() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getNextSupervisorStep', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getPreviousSupervisorStep + * @todo Implement testgetPreviousSupervisorStep(). + */ + public function testgetPreviousSupervisorStep() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getPreviousSupervisorStep', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getTransferHistoryCriteria + * @todo Implement testgetTransferHistoryCriteria(). + */ + public function testgetTransferHistoryCriteria() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getTransferHistoryCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::prepareCriteriaForToDo + * @todo Implement testprepareCriteriaForToDo(). + */ + public function testprepareCriteriaForToDo() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'prepareCriteriaForToDo', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getConditionCasesList + * @todo Implement testgetConditionCasesList(). + */ + public function testgetConditionCasesList() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getConditionCasesList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::loadCaseInCurrentDelegation + * @todo Implement testloadCaseInCurrentDelegation(). + */ + public function testloadCaseInCurrentDelegation() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'loadCaseInCurrentDelegation', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::loadCaseByDelegation + * @todo Implement testloadCaseByDelegation(). + */ + public function testloadCaseByDelegation() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'loadCaseByDelegation', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::ThrowUnpauseDaemon + * @todo Implement testThrowUnpauseDaemon(). + */ + public function testThrowUnpauseDaemon() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'ThrowUnpauseDaemon', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::UnpauseRoutedCasesWithPauseFlagEnabled + * @todo Implement testUnpauseRoutedCasesWithPauseFlagEnabled(). + */ + public function testUnpauseRoutedCasesWithPauseFlagEnabled() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'UnpauseRoutedCasesWithPauseFlagEnabled', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getApplicationUIDByNumber + * @todo Implement testgetApplicationUIDByNumber(). + */ + public function testgetApplicationUIDByNumber() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getApplicationUIDByNumber', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getCurrentDelegation + * @todo Implement testgetCurrentDelegation(). + */ + public function testgetCurrentDelegation() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getCurrentDelegation', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::loadTriggers + * @todo Implement testloadTriggers(). + */ + public function testloadTriggers() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'loadTriggers', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::executeTriggers + * @todo Implement testexecuteTriggers(). + */ + public function testexecuteTriggers() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'executeTriggers', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getTriggerNames + * @todo Implement testgetTriggerNames(). + */ + public function testgetTriggerNames() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getTriggerNames', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getInputDocumentsCriteria + * @todo Implement testgetInputDocumentsCriteria(). + */ + public function testgetInputDocumentsCriteria() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getInputDocumentsCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getInputDocumentsCriteriaToRevise + * @todo Implement testgetInputDocumentsCriteriaToRevise(). + */ + public function testgetInputDocumentsCriteriaToRevise() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getInputDocumentsCriteriaToRevise', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getOutputDocumentsCriteriaToRevise + * @todo Implement testgetOutputDocumentsCriteriaToRevise(). + */ + public function testgetOutputDocumentsCriteriaToRevise() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getOutputDocumentsCriteriaToRevise', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getCriteriaProcessCases + * @todo Implement testgetCriteriaProcessCases(). + */ + public function testgetCriteriaProcessCases() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getCriteriaProcessCases', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::pauseCase + * @todo Implement testpauseCase(). + */ + public function testpauseCase() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'pauseCase', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::unpauseCase + * @todo Implement testunpauseCase(). + */ + public function testunpauseCase() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'unpauseCase', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::cancelCase + * @todo Implement testcancelCase(). + */ + public function testcancelCase() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'cancelCase', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::reactivateCase + * @todo Implement testreactivateCase(). + */ + public function testreactivateCase() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'reactivateCase', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::reassignCase + * @todo Implement testreassignCase(). + */ + public function testreassignCase() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'reassignCase', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getAllDynaformsStepsToRevise + * @todo Implement testgetAllDynaformsStepsToRevise(). + */ + public function testgetAllDynaformsStepsToRevise() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getAllDynaformsStepsToRevise', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getAllInputsStepsToRevise + * @todo Implement testgetAllInputsStepsToRevise(). + */ + public function testgetAllInputsStepsToRevise() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getAllInputsStepsToRevise', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getAllUploadedDocumentsCriteria + * @todo Implement testgetAllUploadedDocumentsCriteria(). + */ + public function testgetAllUploadedDocumentsCriteria() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getAllUploadedDocumentsCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getAllGeneratedDocumentsCriteria + * @todo Implement testgetAllGeneratedDocumentsCriteria(). + */ + public function testgetAllGeneratedDocumentsCriteria() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getAllGeneratedDocumentsCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getallDynaformsCriteria + * @todo Implement testgetallDynaformsCriteria(). + */ + public function testgetallDynaformsCriteria() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getallDynaformsCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::sendNotifications + * @todo Implement testsendNotifications(). + */ + public function testsendNotifications() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'sendNotifications', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getAllObjects + * @todo Implement testgetAllObjects(). + */ + public function testgetAllObjects() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getAllObjects', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getAllObjectsFrom + * @todo Implement testgetAllObjectsFrom(). + */ + public function testgetAllObjectsFrom() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getAllObjectsFrom', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::verifyCaseTracker + * @todo Implement testverifyCaseTracker(). + */ + public function testverifyCaseTracker() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'verifyCaseTracker', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::caseTrackerPermissions + * @todo Implement testcaseTrackerPermissions(). + */ + public function testcaseTrackerPermissions() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'caseTrackerPermissions', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::verifyTable + * @todo Implement testverifyTable(). + */ + public function testverifyTable() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'verifyTable', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getAllUploadedDocumentsCriteriaTracker + * @todo Implement testgetAllUploadedDocumentsCriteriaTracker(). + */ + public function testgetAllUploadedDocumentsCriteriaTracker() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getAllUploadedDocumentsCriteriaTracker', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getAllGeneratedDocumentsCriteriaTracker + * @todo Implement testgetAllGeneratedDocumentsCriteriaTracker(). + */ + public function testgetAllGeneratedDocumentsCriteriaTracker() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getAllGeneratedDocumentsCriteriaTracker', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getHistoryMessagesTracker + * @todo Implement testgetHistoryMessagesTracker(). + */ + public function testgetHistoryMessagesTracker() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getHistoryMessagesTracker', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getHistoryMessagesTrackerExt + * @todo Implement testgetHistoryMessagesTrackerExt(). + */ + public function testgetHistoryMessagesTrackerExt() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getHistoryMessagesTrackerExt', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getHistoryMessagesTrackerView + * @todo Implement testgetHistoryMessagesTrackerView(). + */ + public function testgetHistoryMessagesTrackerView() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getHistoryMessagesTrackerView', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getAllObjectsFromProcess + * @todo Implement testgetAllObjectsFromProcess(). + */ + public function testgetAllObjectsFromProcess() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getAllObjectsFromProcess', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::executeTriggersAfterExternal + * @todo Implement testexecuteTriggersAfterExternal(). + */ + public function testexecuteTriggersAfterExternal() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'executeTriggersAfterExternal', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::thisIsTheCurrentUser + * @todo Implement testthisIsTheCurrentUser(). + */ + public function testthisIsTheCurrentUser() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'thisIsTheCurrentUser', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getCriteriaUsersCases + * @todo Implement testgetCriteriaUsersCases(). + */ + public function testgetCriteriaUsersCases() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getCriteriaUsersCases', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getAdvancedSearch + * @todo Implement testgetAdvancedSearch(). + */ + public function testgetAdvancedSearch() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getAdvancedSearch', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getConditionCasesCount + * @todo Implement testgetConditionCasesCount(). + */ + public function testgetConditionCasesCount() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getConditionCasesCount', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getAllConditionCasesCount + * @todo Implement testgetAllConditionCasesCount(). + */ + public function testgetAllConditionCasesCount() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getAllConditionCasesCount', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::userParticipatedInCase + * @todo Implement testuserParticipatedInCase(). + */ + public function testuserParticipatedInCase() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'userParticipatedInCase', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getCurrentDelegationCase + * @todo Implement testgetCurrentDelegationCase(). + */ + public function testgetCurrentDelegationCase() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getCurrentDelegationCase', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::clearCaseSessionData + * @todo Implement testclearCaseSessionData(). + */ + public function testclearCaseSessionData() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'clearCaseSessionData', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::jumpToCase + * @todo Implement testjumpToCase(). + */ + public function testjumpToCase() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'jumpToCase', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::discriminateCases + * @todo Implement testdiscriminateCases(). + */ + public function testdiscriminateCases() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'discriminateCases', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::GetAllOpenDelegation + * @todo Implement testGetAllOpenDelegation(). + */ + public function testGetAllOpenDelegation() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'GetAllOpenDelegation', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getUsersToReassign + * @todo Implement testgetUsersToReassign(). + */ + public function testgetUsersToReassign() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getUsersToReassign', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getUsersParticipatedInCase + * @todo Implement testgetUsersParticipatedInCase(). + */ + public function testgetUsersParticipatedInCase() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getUsersParticipatedInCase', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Cases::getCaseNotes + * @todo Implement testgetCaseNotes(). + */ + public function testgetCaseNotes() + { + if (class_exists('Cases')) { + $methods = get_class_methods( 'Cases'); + $this->assertTrue( in_array( 'getCaseNotes', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classConfigurationsTest.php b/tests/workflow/engine/classes/classConfigurationsTest.php new file mode 100644 index 000000000..53d18c575 --- /dev/null +++ b/tests/workflow/engine/classes/classConfigurationsTest.php @@ -0,0 +1,207 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classDerivationTest.php b/tests/workflow/engine/classes/classDerivationTest.php new file mode 100644 index 000000000..5357598f2 --- /dev/null +++ b/tests/workflow/engine/classes/classDerivationTest.php @@ -0,0 +1,171 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classDynaFormFieldTest.php b/tests/workflow/engine/classes/classDynaFormFieldTest.php new file mode 100644 index 000000000..56b7368ee --- /dev/null +++ b/tests/workflow/engine/classes/classDynaFormFieldTest.php @@ -0,0 +1,75 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classGroupUserTest.php b/tests/workflow/engine/classes/classGroupUserTest.php new file mode 100644 index 000000000..56a26c3c8 --- /dev/null +++ b/tests/workflow/engine/classes/classGroupUserTest.php @@ -0,0 +1,51 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classGroupsTest.php b/tests/workflow/engine/classes/classGroupsTest.php new file mode 100644 index 000000000..13a55dcca --- /dev/null +++ b/tests/workflow/engine/classes/classGroupsTest.php @@ -0,0 +1,219 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classGulliverBasePeerTest.php b/tests/workflow/engine/classes/classGulliverBasePeerTest.php new file mode 100644 index 000000000..20dc80c71 --- /dev/null +++ b/tests/workflow/engine/classes/classGulliverBasePeerTest.php @@ -0,0 +1,255 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classInstallerTest.php b/tests/workflow/engine/classes/classInstallerTest.php new file mode 100644 index 000000000..d0d328e72 --- /dev/null +++ b/tests/workflow/engine/classes/classInstallerTest.php @@ -0,0 +1,219 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classJavaBridgePMTest.php b/tests/workflow/engine/classes/classJavaBridgePMTest.php new file mode 100644 index 000000000..78334b733 --- /dev/null +++ b/tests/workflow/engine/classes/classJavaBridgePMTest.php @@ -0,0 +1,51 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classJrmlTest.php b/tests/workflow/engine/classes/classJrmlTest.php new file mode 100644 index 000000000..be109ad45 --- /dev/null +++ b/tests/workflow/engine/classes/classJrmlTest.php @@ -0,0 +1,111 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classNETTest.php b/tests/workflow/engine/classes/classNETTest.php new file mode 100644 index 000000000..604dddb0b --- /dev/null +++ b/tests/workflow/engine/classes/classNETTest.php @@ -0,0 +1,183 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classObjectCellectionTest.php b/tests/workflow/engine/classes/classObjectCellectionTest.php new file mode 100644 index 000000000..a49a63766 --- /dev/null +++ b/tests/workflow/engine/classes/classObjectCellectionTest.php @@ -0,0 +1,51 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classObjectDocumentTest.php b/tests/workflow/engine/classes/classObjectDocumentTest.php new file mode 100644 index 000000000..e41f7235d --- /dev/null +++ b/tests/workflow/engine/classes/classObjectDocumentTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classPMDashletTest.php b/tests/workflow/engine/classes/classPMDashletTest.php new file mode 100644 index 000000000..8b168bb93 --- /dev/null +++ b/tests/workflow/engine/classes/classPMDashletTest.php @@ -0,0 +1,171 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classPMPluginRegistryTest.php b/tests/workflow/engine/classes/classPMPluginRegistryTest.php new file mode 100644 index 000000000..0175334b1 --- /dev/null +++ b/tests/workflow/engine/classes/classPMPluginRegistryTest.php @@ -0,0 +1,687 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classPMPluginTest.php b/tests/workflow/engine/classes/classPMPluginTest.php new file mode 100644 index 000000000..5a8451d7d --- /dev/null +++ b/tests/workflow/engine/classes/classPMPluginTest.php @@ -0,0 +1,279 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classPMScriptTest.php b/tests/workflow/engine/classes/classPMScriptTest.php new file mode 100644 index 000000000..fee2cf90e --- /dev/null +++ b/tests/workflow/engine/classes/classPMScriptTest.php @@ -0,0 +1,195 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classPMmemcachedTest.php b/tests/workflow/engine/classes/classPMmemcachedTest.php new file mode 100644 index 000000000..3c7313508 --- /dev/null +++ b/tests/workflow/engine/classes/classPMmemcachedTest.php @@ -0,0 +1,135 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classPmTableTest.php b/tests/workflow/engine/classes/classPmTableTest.php new file mode 100644 index 000000000..4aac51d39 --- /dev/null +++ b/tests/workflow/engine/classes/classPmTableTest.php @@ -0,0 +1,339 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classProcessMakerWebDavTest.php b/tests/workflow/engine/classes/classProcessMakerWebDavTest.php new file mode 100644 index 000000000..9f563bc50 --- /dev/null +++ b/tests/workflow/engine/classes/classProcessMakerWebDavTest.php @@ -0,0 +1,231 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classProcessesTest.php b/tests/workflow/engine/classes/classProcessesTest.php new file mode 100644 index 000000000..2e115f1a6 --- /dev/null +++ b/tests/workflow/engine/classes/classProcessesTest.php @@ -0,0 +1,1707 @@ +assertTrue( in_array( 'changeStatus', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::changeDebugMode + * @todo Implement testchangeDebugMode(). + */ + public function testchangeDebugMode() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'changeDebugMode', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::changeProcessParent + * @todo Implement testchangeProcessParent(). + */ + public function testchangeProcessParent() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'changeProcessParent', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::processExists + * @todo Implement testprocessExists(). + */ + public function testprocessExists() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'processExists', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getUnusedProcessGUID + * @todo Implement testgetUnusedProcessGUID(). + */ + public function testgetUnusedProcessGUID() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getUnusedProcessGUID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::taskExists + * @todo Implement testtaskExists(). + */ + public function testtaskExists() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'taskExists', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getUnusedTaskGUID + * @todo Implement testgetUnusedTaskGUID(). + */ + public function testgetUnusedTaskGUID() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getUnusedTaskGUID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::dynaformExists + * @todo Implement testdynaformExists(). + */ + public function testdynaformExists() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'dynaformExists', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::inputExists + * @todo Implement testinputExists(). + */ + public function testinputExists() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'inputExists', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::outputExists + * @todo Implement testoutputExists(). + */ + public function testoutputExists() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'outputExists', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::triggerExists + * @todo Implement testtriggerExists(). + */ + public function testtriggerExists() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'triggerExists', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::SubProcessExists + * @todo Implement testSubProcessExists(). + */ + public function testSubProcessExists() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'SubProcessExists', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::caseTrackerObjectExists + * @todo Implement testcaseTrackerObjectExists(). + */ + public function testcaseTrackerObjectExists() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'caseTrackerObjectExists', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::caseTrackerExists + * @todo Implement testcaseTrackerExists(). + */ + public function testcaseTrackerExists() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'caseTrackerExists', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::dbConnectionExists + * @todo Implement testdbConnectionExists(). + */ + public function testdbConnectionExists() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'dbConnectionExists', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::objectPermissionExists + * @todo Implement testobjectPermissionExists(). + */ + public function testobjectPermissionExists() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'objectPermissionExists', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::routeExists + * @todo Implement testrouteExists(). + */ + public function testrouteExists() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'routeExists', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::stageExists + * @todo Implement teststageExists(). + */ + public function teststageExists() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'stageExists', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::slExists + * @todo Implement testslExists(). + */ + public function testslExists() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'slExists', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::reportTableExists + * @todo Implement testreportTableExists(). + */ + public function testreportTableExists() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'reportTableExists', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::reportVarExists + * @todo Implement testreportVarExists(). + */ + public function testreportVarExists() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'reportVarExists', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::fieldsConditionsExists + * @todo Implement testfieldsConditionsExists(). + */ + public function testfieldsConditionsExists() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'fieldsConditionsExists', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::eventExists + * @todo Implement testeventExists(). + */ + public function testeventExists() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'eventExists', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::caseSchedulerExists + * @todo Implement testcaseSchedulerExists(). + */ + public function testcaseSchedulerExists() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'caseSchedulerExists', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getUnusedInputGUID + * @todo Implement testgetUnusedInputGUID(). + */ + public function testgetUnusedInputGUID() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getUnusedInputGUID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getUnusedOutputGUID + * @todo Implement testgetUnusedOutputGUID(). + */ + public function testgetUnusedOutputGUID() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getUnusedOutputGUID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getUnusedTriggerGUID + * @todo Implement testgetUnusedTriggerGUID(). + */ + public function testgetUnusedTriggerGUID() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getUnusedTriggerGUID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getUnusedSubProcessGUID + * @todo Implement testgetUnusedSubProcessGUID(). + */ + public function testgetUnusedSubProcessGUID() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getUnusedSubProcessGUID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getUnusedCaseTrackerObjectGUID + * @todo Implement testgetUnusedCaseTrackerObjectGUID(). + */ + public function testgetUnusedCaseTrackerObjectGUID() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getUnusedCaseTrackerObjectGUID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getUnusedDBSourceGUID + * @todo Implement testgetUnusedDBSourceGUID(). + */ + public function testgetUnusedDBSourceGUID() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getUnusedDBSourceGUID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getUnusedObjectPermissionGUID + * @todo Implement testgetUnusedObjectPermissionGUID(). + */ + public function testgetUnusedObjectPermissionGUID() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getUnusedObjectPermissionGUID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getUnusedRouteGUID + * @todo Implement testgetUnusedRouteGUID(). + */ + public function testgetUnusedRouteGUID() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getUnusedRouteGUID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getUnusedStageGUID + * @todo Implement testgetUnusedStageGUID(). + */ + public function testgetUnusedStageGUID() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getUnusedStageGUID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getUnusedSLGUID + * @todo Implement testgetUnusedSLGUID(). + */ + public function testgetUnusedSLGUID() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getUnusedSLGUID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getUnusedRTGUID + * @todo Implement testgetUnusedRTGUID(). + */ + public function testgetUnusedRTGUID() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getUnusedRTGUID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getUnusedRTVGUID + * @todo Implement testgetUnusedRTVGUID(). + */ + public function testgetUnusedRTVGUID() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getUnusedRTVGUID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::stepExists + * @todo Implement teststepExists(). + */ + public function teststepExists() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'stepExists', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getUnusedStepGUID + * @todo Implement testgetUnusedStepGUID(). + */ + public function testgetUnusedStepGUID() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getUnusedStepGUID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getUnusedDynaformGUID + * @todo Implement testgetUnusedDynaformGUID(). + */ + public function testgetUnusedDynaformGUID() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getUnusedDynaformGUID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getUnusedFieldConditionGUID + * @todo Implement testgetUnusedFieldConditionGUID(). + */ + public function testgetUnusedFieldConditionGUID() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getUnusedFieldConditionGUID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getUnusedEventGUID + * @todo Implement testgetUnusedEventGUID(). + */ + public function testgetUnusedEventGUID() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getUnusedEventGUID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getUnusedCaseSchedulerGUID + * @todo Implement testgetUnusedCaseSchedulerGUID(). + */ + public function testgetUnusedCaseSchedulerGUID() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getUnusedCaseSchedulerGUID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::setProcessGUID + * @todo Implement testsetProcessGUID(). + */ + public function testsetProcessGUID() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'setProcessGUID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::setProcessParent + * @todo Implement testsetProcessParent(). + */ + public function testsetProcessParent() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'setProcessParent', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::renewAllTaskGuid + * @todo Implement testrenewAllTaskGuid(). + */ + public function testrenewAllTaskGuid() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'renewAllTaskGuid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::renewAllDynaformGuid + * @todo Implement testrenewAllDynaformGuid(). + */ + public function testrenewAllDynaformGuid() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'renewAllDynaformGuid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getProcessRow + * @todo Implement testgetProcessRow(). + */ + public function testgetProcessRow() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getProcessRow', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createProcessRow + * @todo Implement testcreateProcessRow(). + */ + public function testcreateProcessRow() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createProcessRow', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::updateProcessRow + * @todo Implement testupdateProcessRow(). + */ + public function testupdateProcessRow() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'updateProcessRow', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getSubProcessRow + * @todo Implement testgetSubProcessRow(). + */ + public function testgetSubProcessRow() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getSubProcessRow', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getCaseTrackerRow + * @todo Implement testgetCaseTrackerRow(). + */ + public function testgetCaseTrackerRow() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getCaseTrackerRow', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getCaseTrackerObjectRow + * @todo Implement testgetCaseTrackerObjectRow(). + */ + public function testgetCaseTrackerObjectRow() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getCaseTrackerObjectRow', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getStageRow + * @todo Implement testgetStageRow(). + */ + public function testgetStageRow() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getStageRow', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getFieldCondition + * @todo Implement testgetFieldCondition(). + */ + public function testgetFieldCondition() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getFieldCondition', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getEventRow + * @todo Implement testgetEventRow(). + */ + public function testgetEventRow() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getEventRow', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getCaseSchedulerRow + * @todo Implement testgetCaseSchedulerRow(). + */ + public function testgetCaseSchedulerRow() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getCaseSchedulerRow', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getProcessCategoryRow + * @todo Implement testgetProcessCategoryRow(). + */ + public function testgetProcessCategoryRow() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getProcessCategoryRow', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getAllLanes + * @todo Implement testgetAllLanes(). + */ + public function testgetAllLanes() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getAllLanes', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getTaskRows + * @todo Implement testgetTaskRows(). + */ + public function testgetTaskRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getTaskRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createTaskRows + * @todo Implement testcreateTaskRows(). + */ + public function testcreateTaskRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createTaskRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::updateTaskRows + * @todo Implement testupdateTaskRows(). + */ + public function testupdateTaskRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'updateTaskRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getRouteRows + * @todo Implement testgetRouteRows(). + */ + public function testgetRouteRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getRouteRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createRouteRows + * @todo Implement testcreateRouteRows(). + */ + public function testcreateRouteRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createRouteRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::updateRouteRows + * @todo Implement testupdateRouteRows(). + */ + public function testupdateRouteRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'updateRouteRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getLaneRows + * @todo Implement testgetLaneRows(). + */ + public function testgetLaneRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getLaneRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getGatewayRows + * @todo Implement testgetGatewayRows(). + */ + public function testgetGatewayRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getGatewayRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createGatewayRows + * @todo Implement testcreateGatewayRows(). + */ + public function testcreateGatewayRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createGatewayRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createLaneRows + * @todo Implement testcreateLaneRows(). + */ + public function testcreateLaneRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createLaneRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createSubProcessRows + * @todo Implement testcreateSubProcessRows(). + */ + public function testcreateSubProcessRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createSubProcessRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createCaseTrackerRows + * @todo Implement testcreateCaseTrackerRows(). + */ + public function testcreateCaseTrackerRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createCaseTrackerRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createCaseTrackerObjectRows + * @todo Implement testcreateCaseTrackerObjectRows(). + */ + public function testcreateCaseTrackerObjectRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createCaseTrackerObjectRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createObjectPermissionsRows + * @todo Implement testcreateObjectPermissionsRows(). + */ + public function testcreateObjectPermissionsRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createObjectPermissionsRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createStageRows + * @todo Implement testcreateStageRows(). + */ + public function testcreateStageRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createStageRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createFieldCondition + * @todo Implement testcreateFieldCondition(). + */ + public function testcreateFieldCondition() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createFieldCondition', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createEventRows + * @todo Implement testcreateEventRows(). + */ + public function testcreateEventRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createEventRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createCaseSchedulerRows + * @todo Implement testcreateCaseSchedulerRows(). + */ + public function testcreateCaseSchedulerRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createCaseSchedulerRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createProcessCategoryRow + * @todo Implement testcreateProcessCategoryRow(). + */ + public function testcreateProcessCategoryRow() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createProcessCategoryRow', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getInputRows + * @todo Implement testgetInputRows(). + */ + public function testgetInputRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getInputRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createInputRows + * @todo Implement testcreateInputRows(). + */ + public function testcreateInputRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createInputRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::renewAllInputGuid + * @todo Implement testrenewAllInputGuid(). + */ + public function testrenewAllInputGuid() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'renewAllInputGuid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getOutputRows + * @todo Implement testgetOutputRows(). + */ + public function testgetOutputRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getOutputRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createOutputRows + * @todo Implement testcreateOutputRows(). + */ + public function testcreateOutputRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createOutputRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::renewAllOutputGuid + * @todo Implement testrenewAllOutputGuid(). + */ + public function testrenewAllOutputGuid() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'renewAllOutputGuid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::renewAllTriggerGuid + * @todo Implement testrenewAllTriggerGuid(). + */ + public function testrenewAllTriggerGuid() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'renewAllTriggerGuid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::renewAllSubProcessGuid + * @todo Implement testrenewAllSubProcessGuid(). + */ + public function testrenewAllSubProcessGuid() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'renewAllSubProcessGuid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::renewAllCaseTrackerObjectGuid + * @todo Implement testrenewAllCaseTrackerObjectGuid(). + */ + public function testrenewAllCaseTrackerObjectGuid() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'renewAllCaseTrackerObjectGuid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::renewAllDBSourceGuid + * @todo Implement testrenewAllDBSourceGuid(). + */ + public function testrenewAllDBSourceGuid() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'renewAllDBSourceGuid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::renewAllObjectPermissionGuid + * @todo Implement testrenewAllObjectPermissionGuid(). + */ + public function testrenewAllObjectPermissionGuid() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'renewAllObjectPermissionGuid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::renewAllRouteGuid + * @todo Implement testrenewAllRouteGuid(). + */ + public function testrenewAllRouteGuid() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'renewAllRouteGuid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::renewAllStageGuid + * @todo Implement testrenewAllStageGuid(). + */ + public function testrenewAllStageGuid() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'renewAllStageGuid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::renewAllSwimlanesElementsGuid + * @todo Implement testrenewAllSwimlanesElementsGuid(). + */ + public function testrenewAllSwimlanesElementsGuid() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'renewAllSwimlanesElementsGuid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::renewAllReportTableGuid + * @todo Implement testrenewAllReportTableGuid(). + */ + public function testrenewAllReportTableGuid() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'renewAllReportTableGuid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::renewAllReportVarGuid + * @todo Implement testrenewAllReportVarGuid(). + */ + public function testrenewAllReportVarGuid() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'renewAllReportVarGuid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::renewAllFieldCondition + * @todo Implement testrenewAllFieldCondition(). + */ + public function testrenewAllFieldCondition() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'renewAllFieldCondition', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::renewAllEvent + * @todo Implement testrenewAllEvent(). + */ + public function testrenewAllEvent() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'renewAllEvent', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::renewAllCaseScheduler + * @todo Implement testrenewAllCaseScheduler(). + */ + public function testrenewAllCaseScheduler() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'renewAllCaseScheduler', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::renewAll + * @todo Implement testrenewAll(). + */ + public function testrenewAll() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'renewAll', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getStepRows + * @todo Implement testgetStepRows(). + */ + public function testgetStepRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getStepRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createStepRows + * @todo Implement testcreateStepRows(). + */ + public function testcreateStepRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createStepRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createStepSupervisorRows + * @todo Implement testcreateStepSupervisorRows(). + */ + public function testcreateStepSupervisorRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createStepSupervisorRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::renewAllStepGuid + * @todo Implement testrenewAllStepGuid(). + */ + public function testrenewAllStepGuid() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'renewAllStepGuid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getDynaformRows + * @todo Implement testgetDynaformRows(). + */ + public function testgetDynaformRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getDynaformRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getObjectPermissionRows + * @todo Implement testgetObjectPermissionRows(). + */ + public function testgetObjectPermissionRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getObjectPermissionRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createDynaformRows + * @todo Implement testcreateDynaformRows(). + */ + public function testcreateDynaformRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createDynaformRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createStepTriggerRows + * @todo Implement testcreateStepTriggerRows(). + */ + public function testcreateStepTriggerRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createStepTriggerRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getStepTriggerRows + * @todo Implement testgetStepTriggerRows(). + */ + public function testgetStepTriggerRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getStepTriggerRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getTriggerRows + * @todo Implement testgetTriggerRows(). + */ + public function testgetTriggerRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getTriggerRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createTriggerRows + * @todo Implement testcreateTriggerRows(). + */ + public function testcreateTriggerRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createTriggerRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getGroupwfRows + * @todo Implement testgetGroupwfRows(). + */ + public function testgetGroupwfRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getGroupwfRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getDBConnectionsRows + * @todo Implement testgetDBConnectionsRows(). + */ + public function testgetDBConnectionsRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getDBConnectionsRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getStepSupervisorRows + * @todo Implement testgetStepSupervisorRows(). + */ + public function testgetStepSupervisorRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getStepSupervisorRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getReportTablesRows + * @todo Implement testgetReportTablesRows(). + */ + public function testgetReportTablesRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getReportTablesRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getReportTablesVarsRows + * @todo Implement testgetReportTablesVarsRows(). + */ + public function testgetReportTablesVarsRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getReportTablesVarsRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getTaskUserRows + * @todo Implement testgetTaskUserRows(). + */ + public function testgetTaskUserRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getTaskUserRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createTaskUserRows + * @todo Implement testcreateTaskUserRows(). + */ + public function testcreateTaskUserRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createTaskUserRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createGroupRow + * @todo Implement testcreateGroupRow(). + */ + public function testcreateGroupRow() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createGroupRow', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createDBConnectionsRows + * @todo Implement testcreateDBConnectionsRows(). + */ + public function testcreateDBConnectionsRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createDBConnectionsRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createReportTables + * @todo Implement testcreateReportTables(). + */ + public function testcreateReportTables() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createReportTables', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::updateReportTables + * @todo Implement testupdateReportTables(). + */ + public function testupdateReportTables() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'updateReportTables', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createReportTablesVars + * @todo Implement testcreateReportTablesVars(). + */ + public function testcreateReportTablesVars() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createReportTablesVars', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::cleanupReportTablesReferences + * @todo Implement testcleanupReportTablesReferences(). + */ + public function testcleanupReportTablesReferences() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'cleanupReportTablesReferences', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::serializeProcess + * @todo Implement testserializeProcess(). + */ + public function testserializeProcess() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'serializeProcess', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::saveSerializedProcess + * @todo Implement testsaveSerializedProcess(). + */ + public function testsaveSerializedProcess() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'saveSerializedProcess', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getProcessData + * @todo Implement testgetProcessData(). + */ + public function testgetProcessData() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getProcessData', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::checkExistingGroups + * @todo Implement testcheckExistingGroups(). + */ + public function testcheckExistingGroups() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'checkExistingGroups', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::renameExistingGroups + * @todo Implement testrenameExistingGroups(). + */ + public function testrenameExistingGroups() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'renameExistingGroups', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::mergeExistingGroups + * @todo Implement testmergeExistingGroups(). + */ + public function testmergeExistingGroups() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'mergeExistingGroups', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::mergeExistingUsers + * @todo Implement testmergeExistingUsers(). + */ + public function testmergeExistingUsers() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'mergeExistingUsers', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::disablePreviousProcesses + * @todo Implement testdisablePreviousProcesses(). + */ + public function testdisablePreviousProcesses() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'disablePreviousProcesses', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createFiles + * @todo Implement testcreateFiles(). + */ + public function testcreateFiles() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createFiles', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::removeProcessRows + * @todo Implement testremoveProcessRows(). + */ + public function testremoveProcessRows() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'removeProcessRows', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::createProcessFromData + * @todo Implement testcreateProcessFromData(). + */ + public function testcreateProcessFromData() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'createProcessFromData', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::updateProcessFromData + * @todo Implement testupdateProcessFromData(). + */ + public function testupdateProcessFromData() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'updateProcessFromData', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getStartingTaskForUser + * @todo Implement testgetStartingTaskForUser(). + */ + public function testgetStartingTaskForUser() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getStartingTaskForUser', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::ws_open + * @todo Implement testws_open(). + */ + public function testws_open() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'ws_open', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::ws_open_public + * @todo Implement testws_open_public(). + */ + public function testws_open_public() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'ws_open_public', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::ws_processList + * @todo Implement testws_processList(). + */ + public function testws_processList() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'ws_processList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::downloadFile + * @todo Implement testdownloadFile(). + */ + public function testdownloadFile() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'downloadFile', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::ws_processGetData + * @todo Implement testws_processGetData(). + */ + public function testws_processGetData() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'ws_processGetData', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::parseItemArray + * @todo Implement testparseItemArray(). + */ + public function testparseItemArray() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'parseItemArray', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Processes::getProcessFiles + * @todo Implement testgetProcessFiles(). + */ + public function testgetProcessFiles() + { + if (class_exists('Processes')) { + $methods = get_class_methods( 'Processes'); + $this->assertTrue( in_array( 'getProcessFiles', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classReportTablesTest.php b/tests/workflow/engine/classes/classReportTablesTest.php new file mode 100644 index 000000000..c460727b9 --- /dev/null +++ b/tests/workflow/engine/classes/classReportTablesTest.php @@ -0,0 +1,147 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classReportTest.php b/tests/workflow/engine/classes/classReportTest.php new file mode 100644 index 000000000..46e11009a --- /dev/null +++ b/tests/workflow/engine/classes/classReportTest.php @@ -0,0 +1,183 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classSessionsTest.php b/tests/workflow/engine/classes/classSessionsTest.php new file mode 100644 index 000000000..a1bf0a9ea --- /dev/null +++ b/tests/workflow/engine/classes/classSessionsTest.php @@ -0,0 +1,99 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classStatTest.php b/tests/workflow/engine/classes/classStatTest.php new file mode 100644 index 000000000..3e7b07ba9 --- /dev/null +++ b/tests/workflow/engine/classes/classStatTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classSystemTest.php b/tests/workflow/engine/classes/classSystemTest.php new file mode 100644 index 000000000..0bda08966 --- /dev/null +++ b/tests/workflow/engine/classes/classSystemTest.php @@ -0,0 +1,303 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classTasksTest.php b/tests/workflow/engine/classes/classTasksTest.php new file mode 100644 index 000000000..1bddc213f --- /dev/null +++ b/tests/workflow/engine/classes/classTasksTest.php @@ -0,0 +1,327 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classToolBarTest.php b/tests/workflow/engine/classes/classToolBarTest.php new file mode 100644 index 000000000..644148cbe --- /dev/null +++ b/tests/workflow/engine/classes/classToolBarTest.php @@ -0,0 +1,15 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classXMLDBTest.php b/tests/workflow/engine/classes/classXMLDBTest.php new file mode 100644 index 000000000..d0122142c --- /dev/null +++ b/tests/workflow/engine/classes/classXMLDBTest.php @@ -0,0 +1,39 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classXMLResultTest.php b/tests/workflow/engine/classes/classXMLResultTest.php new file mode 100644 index 000000000..e7a7b52a4 --- /dev/null +++ b/tests/workflow/engine/classes/classXMLResultTest.php @@ -0,0 +1,63 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classXmlForm_Field_CheckBoxTableTest.php b/tests/workflow/engine/classes/classXmlForm_Field_CheckBoxTableTest.php new file mode 100644 index 000000000..3ece41f28 --- /dev/null +++ b/tests/workflow/engine/classes/classXmlForm_Field_CheckBoxTableTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classXmlForm_Field_ImageTest.php b/tests/workflow/engine/classes/classXmlForm_Field_ImageTest.php new file mode 100644 index 000000000..7851dac37 --- /dev/null +++ b/tests/workflow/engine/classes/classXmlForm_Field_ImageTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classXmlForm_Field_TextPMTest.php b/tests/workflow/engine/classes/classXmlForm_Field_TextPMTest.php new file mode 100644 index 000000000..8fb03190a --- /dev/null +++ b/tests/workflow/engine/classes/classXmlForm_Field_TextPMTest.php @@ -0,0 +1,51 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classXmlForm_Field_TextareaPMTest.php b/tests/workflow/engine/classes/classXmlForm_Field_TextareaPMTest.php new file mode 100644 index 000000000..711c0a3f9 --- /dev/null +++ b/tests/workflow/engine/classes/classXmlForm_Field_TextareaPMTest.php @@ -0,0 +1,39 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classXmlForm_Field_ToolBarTest.php b/tests/workflow/engine/classes/classXmlForm_Field_ToolBarTest.php new file mode 100644 index 000000000..f7b79d52e --- /dev/null +++ b/tests/workflow/engine/classes/classXmlForm_Field_ToolBarTest.php @@ -0,0 +1,39 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classXmlForm_Field_hoursTest.php b/tests/workflow/engine/classes/classXmlForm_Field_hoursTest.php new file mode 100644 index 000000000..1eaea2f8e --- /dev/null +++ b/tests/workflow/engine/classes/classXmlForm_Field_hoursTest.php @@ -0,0 +1,75 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classXmlForm_Field_popupOptionTest.php b/tests/workflow/engine/classes/classXmlForm_Field_popupOptionTest.php new file mode 100644 index 000000000..f0d3c544d --- /dev/null +++ b/tests/workflow/engine/classes/classXmlForm_Field_popupOptionTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( 'getEvents', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classXmlForm_Field_toolButtonTest.php b/tests/workflow/engine/classes/classXmlForm_Field_toolButtonTest.php new file mode 100644 index 000000000..801973517 --- /dev/null +++ b/tests/workflow/engine/classes/classXmlForm_Field_toolButtonTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classXpdlTest.php b/tests/workflow/engine/classes/classXpdlTest.php new file mode 100644 index 000000000..3b786294a --- /dev/null +++ b/tests/workflow/engine/classes/classXpdlTest.php @@ -0,0 +1,543 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classarchiveTest.php b/tests/workflow/engine/classes/classarchiveTest.php new file mode 100644 index 000000000..37483d3bc --- /dev/null +++ b/tests/workflow/engine/classes/classarchiveTest.php @@ -0,0 +1,159 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classbzip_fileTest.php b/tests/workflow/engine/classes/classbzip_fileTest.php new file mode 100644 index 000000000..43649da65 --- /dev/null +++ b/tests/workflow/engine/classes/classbzip_fileTest.php @@ -0,0 +1,51 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classcalendarTest.php b/tests/workflow/engine/classes/classcalendarTest.php new file mode 100644 index 000000000..2b72d6646 --- /dev/null +++ b/tests/workflow/engine/classes/classcalendarTest.php @@ -0,0 +1,63 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classcaseSchedulerPluginTest.php b/tests/workflow/engine/classes/classcaseSchedulerPluginTest.php new file mode 100644 index 000000000..d4460ce20 --- /dev/null +++ b/tests/workflow/engine/classes/classcaseSchedulerPluginTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classcssFileTest.php b/tests/workflow/engine/classes/classcssFileTest.php new file mode 100644 index 000000000..b9ee32553 --- /dev/null +++ b/tests/workflow/engine/classes/classcssFileTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classdashboardPageTest.php b/tests/workflow/engine/classes/classdashboardPageTest.php new file mode 100644 index 000000000..230ba2db7 --- /dev/null +++ b/tests/workflow/engine/classes/classdashboardPageTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classdashletOpenVSCompletedTest.php b/tests/workflow/engine/classes/classdashletOpenVSCompletedTest.php new file mode 100644 index 000000000..a8af9a944 --- /dev/null +++ b/tests/workflow/engine/classes/classdashletOpenVSCompletedTest.php @@ -0,0 +1,63 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classdashletProcessMakerCommunityTest.php b/tests/workflow/engine/classes/classdashletProcessMakerCommunityTest.php new file mode 100644 index 000000000..eaf8217be --- /dev/null +++ b/tests/workflow/engine/classes/classdashletProcessMakerCommunityTest.php @@ -0,0 +1,63 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classdashletProcessMakerEnterpriseTest.php b/tests/workflow/engine/classes/classdashletProcessMakerEnterpriseTest.php new file mode 100644 index 000000000..d6c656fba --- /dev/null +++ b/tests/workflow/engine/classes/classdashletProcessMakerEnterpriseTest.php @@ -0,0 +1,63 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classdashletRssReaderTest.php b/tests/workflow/engine/classes/classdashletRssReaderTest.php new file mode 100644 index 000000000..711d40c93 --- /dev/null +++ b/tests/workflow/engine/classes/classdashletRssReaderTest.php @@ -0,0 +1,63 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classdatesTest.php b/tests/workflow/engine/classes/classdatesTest.php new file mode 100644 index 000000000..34ade5add --- /dev/null +++ b/tests/workflow/engine/classes/classdatesTest.php @@ -0,0 +1,231 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classdbConnectionsTest.php b/tests/workflow/engine/classes/classdbConnectionsTest.php new file mode 100644 index 000000000..43d1d7d86 --- /dev/null +++ b/tests/workflow/engine/classes/classdbConnectionsTest.php @@ -0,0 +1,171 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classdynaformEditorAjaxTest.php b/tests/workflow/engine/classes/classdynaformEditorAjaxTest.php new file mode 100644 index 000000000..d468011ff --- /dev/null +++ b/tests/workflow/engine/classes/classdynaformEditorAjaxTest.php @@ -0,0 +1,231 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classdynaformEditorTest.php b/tests/workflow/engine/classes/classdynaformEditorTest.php new file mode 100644 index 000000000..8273be37d --- /dev/null +++ b/tests/workflow/engine/classes/classdynaformEditorTest.php @@ -0,0 +1,111 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classfolderDataTest.php b/tests/workflow/engine/classes/classfolderDataTest.php new file mode 100644 index 000000000..f6f64abb0 --- /dev/null +++ b/tests/workflow/engine/classes/classfolderDataTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classfolderDetailTest.php b/tests/workflow/engine/classes/classfolderDetailTest.php new file mode 100644 index 000000000..a7ebf9034 --- /dev/null +++ b/tests/workflow/engine/classes/classfolderDetailTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classgzip_fileTest.php b/tests/workflow/engine/classes/classgzip_fileTest.php new file mode 100644 index 000000000..41c3be46b --- /dev/null +++ b/tests/workflow/engine/classes/classgzip_fileTest.php @@ -0,0 +1,51 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classloginInfoTest.php b/tests/workflow/engine/classes/classloginInfoTest.php new file mode 100644 index 000000000..dcd77a81e --- /dev/null +++ b/tests/workflow/engine/classes/classloginInfoTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classmenuDetailTest.php b/tests/workflow/engine/classes/classmenuDetailTest.php new file mode 100644 index 000000000..364d64dc5 --- /dev/null +++ b/tests/workflow/engine/classes/classmenuDetailTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classpluginDetailTest.php b/tests/workflow/engine/classes/classpluginDetailTest.php new file mode 100644 index 000000000..a39e05440 --- /dev/null +++ b/tests/workflow/engine/classes/classpluginDetailTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classpmGaugeTest.php b/tests/workflow/engine/classes/classpmGaugeTest.php new file mode 100644 index 000000000..ebfa47beb --- /dev/null +++ b/tests/workflow/engine/classes/classpmGaugeTest.php @@ -0,0 +1,39 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classpmPhingTest.php b/tests/workflow/engine/classes/classpmPhingTest.php new file mode 100644 index 000000000..63df07306 --- /dev/null +++ b/tests/workflow/engine/classes/classpmPhingTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( 'getPhingVersion', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classpopupMenuTest.php b/tests/workflow/engine/classes/classpopupMenuTest.php new file mode 100644 index 000000000..2665446a2 --- /dev/null +++ b/tests/workflow/engine/classes/classpopupMenuTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( 'renderPopup', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classprocessMapTest.php b/tests/workflow/engine/classes/classprocessMapTest.php new file mode 100644 index 000000000..f42444a02 --- /dev/null +++ b/tests/workflow/engine/classes/classprocessMapTest.php @@ -0,0 +1,1803 @@ +assertTrue( in_array( 'load', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::createProcess + * @todo Implement testcreateProcess(). + */ + public function testcreateProcess() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'createProcess', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::updateProcess + * @todo Implement testupdateProcess(). + */ + public function testupdateProcess() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'updateProcess', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::editProcess + * @todo Implement testeditProcess(). + */ + public function testeditProcess() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'editProcess', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::deleteProcess + * @todo Implement testdeleteProcess(). + */ + public function testdeleteProcess() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'deleteProcess', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::saveTitlePosition + * @todo Implement testsaveTitlePosition(). + */ + public function testsaveTitlePosition() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'saveTitlePosition', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::steps + * @todo Implement teststeps(). + */ + public function teststeps() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'steps', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getStepsCriteria + * @todo Implement testgetStepsCriteria(). + */ + public function testgetStepsCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getStepsCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getStepTriggersCriteria + * @todo Implement testgetStepTriggersCriteria(). + */ + public function testgetStepTriggersCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getStepTriggersCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAvailableBBCriteria + * @todo Implement testgetAvailableBBCriteria(). + */ + public function testgetAvailableBBCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAvailableBBCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::users + * @todo Implement testusers(). + */ + public function testusers() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'users', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::users_adhoc + * @todo Implement testusers_adhoc(). + */ + public function testusers_adhoc() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'users_adhoc', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getTaskUsersCriteria + * @todo Implement testgetTaskUsersCriteria(). + */ + public function testgetTaskUsersCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getTaskUsersCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAvailableUsersCriteria + * @todo Implement testgetAvailableUsersCriteria(). + */ + public function testgetAvailableUsersCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAvailableUsersCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::stepsConditions + * @todo Implement teststepsConditions(). + */ + public function teststepsConditions() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'stepsConditions', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::stepsTriggers + * @todo Implement teststepsTriggers(). + */ + public function teststepsTriggers() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'stepsTriggers', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::addTask + * @todo Implement testaddTask(). + */ + public function testaddTask() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'addTask', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::editTaskProperties + * @todo Implement testeditTaskProperties(). + */ + public function testeditTaskProperties() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'editTaskProperties', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::saveTaskPosition + * @todo Implement testsaveTaskPosition(). + */ + public function testsaveTaskPosition() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'saveTaskPosition', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::deleteTask + * @todo Implement testdeleteTask(). + */ + public function testdeleteTask() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'deleteTask', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::deleteGateway + * @todo Implement testdeleteGateway(). + */ + public function testdeleteGateway() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'deleteGateway', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::addGateway + * @todo Implement testaddGateway(). + */ + public function testaddGateway() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'addGateway', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::addGuide + * @todo Implement testaddGuide(). + */ + public function testaddGuide() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'addGuide', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::saveGuidePosition + * @todo Implement testsaveGuidePosition(). + */ + public function testsaveGuidePosition() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'saveGuidePosition', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::deleteGuide + * @todo Implement testdeleteGuide(). + */ + public function testdeleteGuide() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'deleteGuide', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::deleteGuides + * @todo Implement testdeleteGuides(). + */ + public function testdeleteGuides() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'deleteGuides', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::addText + * @todo Implement testaddText(). + */ + public function testaddText() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'addText', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::updateText + * @todo Implement testupdateText(). + */ + public function testupdateText() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'updateText', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::saveTextPosition + * @todo Implement testsaveTextPosition(). + */ + public function testsaveTextPosition() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'saveTextPosition', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::deleteText + * @todo Implement testdeleteText(). + */ + public function testdeleteText() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'deleteText', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::saveGatewayPosition + * @todo Implement testsaveGatewayPosition(). + */ + public function testsaveGatewayPosition() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'saveGatewayPosition', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::dynaformsList + * @todo Implement testdynaformsList(). + */ + public function testdynaformsList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'dynaformsList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getDynaformsCriteria + * @todo Implement testgetDynaformsCriteria(). + */ + public function testgetDynaformsCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getDynaformsCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getDynaformsList + * @todo Implement testgetDynaformsList(). + */ + public function testgetDynaformsList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getDynaformsList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::outputdocsList + * @todo Implement testoutputdocsList(). + */ + public function testoutputdocsList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'outputdocsList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getOutputDocumentsCriteria + * @todo Implement testgetOutputDocumentsCriteria(). + */ + public function testgetOutputDocumentsCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getOutputDocumentsCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::inputdocsList + * @todo Implement testinputdocsList(). + */ + public function testinputdocsList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'inputdocsList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getInputDocumentsCriteria + * @todo Implement testgetInputDocumentsCriteria(). + */ + public function testgetInputDocumentsCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getInputDocumentsCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::triggersList + * @todo Implement testtriggersList(). + */ + public function testtriggersList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'triggersList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getTriggersCriteria + * @todo Implement testgetTriggersCriteria(). + */ + public function testgetTriggersCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getTriggersCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getTriggers + * @todo Implement testgetTriggers(). + */ + public function testgetTriggers() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getTriggers', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::caseSchedulerList + * @todo Implement testcaseSchedulerList(). + */ + public function testcaseSchedulerList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'caseSchedulerList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::logCaseSchedulerList + * @todo Implement testlogCaseSchedulerList(). + */ + public function testlogCaseSchedulerList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'logCaseSchedulerList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::messagesList + * @todo Implement testmessagesList(). + */ + public function testmessagesList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'messagesList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::reportTablesList + * @todo Implement testreportTablesList(). + */ + public function testreportTablesList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'reportTablesList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getReportTablesCriteria + * @todo Implement testgetReportTablesCriteria(). + */ + public function testgetReportTablesCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getReportTablesCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::currentPattern + * @todo Implement testcurrentPattern(). + */ + public function testcurrentPattern() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'currentPattern', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::newPattern + * @todo Implement testnewPattern(). + */ + public function testnewPattern() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'newPattern', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getNumberOfRoutes + * @todo Implement testgetNumberOfRoutes(). + */ + public function testgetNumberOfRoutes() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getNumberOfRoutes', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::saveNewPattern + * @todo Implement testsaveNewPattern(). + */ + public function testsaveNewPattern() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'saveNewPattern', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::saveNewGateway + * @todo Implement testsaveNewGateway(). + */ + public function testsaveNewGateway() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'saveNewGateway', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::deleteDerivation + * @todo Implement testdeleteDerivation(). + */ + public function testdeleteDerivation() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'deleteDerivation', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getConditionProcessList + * @todo Implement testgetConditionProcessList(). + */ + public function testgetConditionProcessList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getConditionProcessList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::supervisorDynaforms + * @todo Implement testsupervisorDynaforms(). + */ + public function testsupervisorDynaforms() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'supervisorDynaforms', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::supervisorInputs + * @todo Implement testsupervisorInputs(). + */ + public function testsupervisorInputs() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'supervisorInputs', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::webEntry + * @todo Implement testwebEntry(). + */ + public function testwebEntry() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'webEntry', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::webEntry_new + * @todo Implement testwebEntry_new(). + */ + public function testwebEntry_new() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'webEntry_new', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getSupervisorDynaformsCriteria + * @todo Implement testgetSupervisorDynaformsCriteria(). + */ + public function testgetSupervisorDynaformsCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getSupervisorDynaformsCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getSupervisorInputsCriteria + * @todo Implement testgetSupervisorInputsCriteria(). + */ + public function testgetSupervisorInputsCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getSupervisorInputsCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::availableSupervisorDynaforms + * @todo Implement testavailableSupervisorDynaforms(). + */ + public function testavailableSupervisorDynaforms() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'availableSupervisorDynaforms', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::availableSupervisorInputs + * @todo Implement testavailableSupervisorInputs(). + */ + public function testavailableSupervisorInputs() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'availableSupervisorInputs', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAvailableSupervisorDynaformsCriteria + * @todo Implement testgetAvailableSupervisorDynaformsCriteria(). + */ + public function testgetAvailableSupervisorDynaformsCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAvailableSupervisorDynaformsCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAvailableSupervisorInputsCriteria + * @todo Implement testgetAvailableSupervisorInputsCriteria(). + */ + public function testgetAvailableSupervisorInputsCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAvailableSupervisorInputsCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::assignSupervisorStep + * @todo Implement testassignSupervisorStep(). + */ + public function testassignSupervisorStep() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'assignSupervisorStep', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::removeSupervisorStep + * @todo Implement testremoveSupervisorStep(). + */ + public function testremoveSupervisorStep() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'removeSupervisorStep', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::listProcessesUser + * @todo Implement testlistProcessesUser(). + */ + public function testlistProcessesUser() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'listProcessesUser', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::listNoProcessesUser + * @todo Implement testlistNoProcessesUser(). + */ + public function testlistNoProcessesUser() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'listNoProcessesUser', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::assignProcessUser + * @todo Implement testassignProcessUser(). + */ + public function testassignProcessUser() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'assignProcessUser', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::removeProcessUser + * @todo Implement testremoveProcessUser(). + */ + public function testremoveProcessUser() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'removeProcessUser', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getObjectsPermissionsCriteria + * @todo Implement testgetObjectsPermissionsCriteria(). + */ + public function testgetObjectsPermissionsCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getObjectsPermissionsCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAllObjectPermissionCount + * @todo Implement testgetAllObjectPermissionCount(). + */ + public function testgetAllObjectPermissionCount() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAllObjectPermissionCount', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getExtObjectsPermissions + * @todo Implement testgetExtObjectsPermissions(). + */ + public function testgetExtObjectsPermissions() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getExtObjectsPermissions', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::objectsPermissionsList + * @todo Implement testobjectsPermissionsList(). + */ + public function testobjectsPermissionsList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'objectsPermissionsList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::newObjectPermission + * @todo Implement testnewObjectPermission(). + */ + public function testnewObjectPermission() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'newObjectPermission', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::editObjectPermission + * @todo Implement testeditObjectPermission(). + */ + public function testeditObjectPermission() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'editObjectPermission', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::caseTracker + * @todo Implement testcaseTracker(). + */ + public function testcaseTracker() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'caseTracker', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::caseTrackerObjects + * @todo Implement testcaseTrackerObjects(). + */ + public function testcaseTrackerObjects() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'caseTrackerObjects', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getCaseTrackerObjectsCriteria + * @todo Implement testgetCaseTrackerObjectsCriteria(). + */ + public function testgetCaseTrackerObjectsCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getCaseTrackerObjectsCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::availableCaseTrackerObjects + * @todo Implement testavailableCaseTrackerObjects(). + */ + public function testavailableCaseTrackerObjects() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'availableCaseTrackerObjects', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAvailableCaseTrackerObjectsCriteria + * @todo Implement testgetAvailableCaseTrackerObjectsCriteria(). + */ + public function testgetAvailableCaseTrackerObjectsCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAvailableCaseTrackerObjectsCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::assignCaseTrackerObject + * @todo Implement testassignCaseTrackerObject(). + */ + public function testassignCaseTrackerObject() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'assignCaseTrackerObject', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::removeCaseTrackerObject + * @todo Implement testremoveCaseTrackerObject(). + */ + public function testremoveCaseTrackerObject() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'removeCaseTrackerObject', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::upCaseTrackerObject + * @todo Implement testupCaseTrackerObject(). + */ + public function testupCaseTrackerObject() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'upCaseTrackerObject', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::downCaseTrackerObject + * @todo Implement testdownCaseTrackerObject(). + */ + public function testdownCaseTrackerObject() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'downCaseTrackerObject', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::processFilesManager + * @todo Implement testprocessFilesManager(). + */ + public function testprocessFilesManager() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'processFilesManager', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::exploreDirectory + * @todo Implement testexploreDirectory(). + */ + public function testexploreDirectory() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'exploreDirectory', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::deleteFile + * @todo Implement testdeleteFile(). + */ + public function testdeleteFile() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'deleteFile', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::deleteDirectory + * @todo Implement testdeleteDirectory(). + */ + public function testdeleteDirectory() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'deleteDirectory', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::downloadFile + * @todo Implement testdownloadFile(). + */ + public function testdownloadFile() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'downloadFile', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::addSubProcess + * @todo Implement testaddSubProcess(). + */ + public function testaddSubProcess() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'addSubProcess', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::deleteSubProcess + * @todo Implement testdeleteSubProcess(). + */ + public function testdeleteSubProcess() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'deleteSubProcess', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::subProcess_Properties + * @todo Implement testsubProcess_Properties(). + */ + public function testsubProcess_Properties() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'subProcess_Properties', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::subProcess_TaskIni + * @todo Implement testsubProcess_TaskIni(). + */ + public function testsubProcess_TaskIni() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'subProcess_TaskIni', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::eventsList + * @todo Implement testeventsList(). + */ + public function testeventsList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'eventsList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getEventsCriteria + * @todo Implement testgetEventsCriteria(). + */ + public function testgetEventsCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getEventsCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::editProcessNew + * @todo Implement testeditProcessNew(). + */ + public function testeditProcessNew() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'editProcessNew', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::loadProcessCategory + * @todo Implement testloadProcessCategory(). + */ + public function testloadProcessCategory() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'loadProcessCategory', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::saveTaskCordinates + * @todo Implement testsaveTaskCordinates(). + */ + public function testsaveTaskCordinates() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'saveTaskCordinates', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::saveAnnotationCordinates + * @todo Implement testsaveAnnotationCordinates(). + */ + public function testsaveAnnotationCordinates() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'saveAnnotationCordinates', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::saveEventPosition + * @todo Implement testsaveEventPosition(). + */ + public function testsaveEventPosition() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'saveEventPosition', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAllProcesses + * @todo Implement testgetAllProcesses(). + */ + public function testgetAllProcesses() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAllProcesses', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getDynaformList + * @todo Implement testgetDynaformList(). + */ + public function testgetDynaformList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getDynaformList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::listNewWebEntry + * @todo Implement testlistNewWebEntry(). + */ + public function testlistNewWebEntry() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'listNewWebEntry', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::usersExtList + * @todo Implement testusersExtList(). + */ + public function testusersExtList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'usersExtList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::caseNewSchedulerList + * @todo Implement testcaseNewSchedulerList(). + */ + public function testcaseNewSchedulerList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'caseNewSchedulerList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAllTaskUserCount + * @todo Implement testgetAllTaskUserCount(). + */ + public function testgetAllTaskUserCount() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAllTaskUserCount', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getExtTaskUsersCriteria + * @todo Implement testgetExtTaskUsersCriteria(). + */ + public function testgetExtTaskUsersCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getExtTaskUsersCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAvailableExtUsersCriteria + * @todo Implement testgetAvailableExtUsersCriteria(). + */ + public function testgetAvailableExtUsersCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAvailableExtUsersCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getExtAdditionalTablesList + * @todo Implement testgetExtAdditionalTablesList(). + */ + public function testgetExtAdditionalTablesList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getExtAdditionalTablesList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getExtAvailableBBCriteria + * @todo Implement testgetExtAvailableBBCriteria(). + */ + public function testgetExtAvailableBBCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getExtAvailableBBCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAllStepCount + * @todo Implement testgetAllStepCount(). + */ + public function testgetAllStepCount() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAllStepCount', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getExtStepsCriteria + * @todo Implement testgetExtStepsCriteria(). + */ + public function testgetExtStepsCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getExtStepsCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAllStepTriggerCount + * @todo Implement testgetAllStepTriggerCount(). + */ + public function testgetAllStepTriggerCount() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAllStepTriggerCount', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getExtStepTriggersCriteria + * @todo Implement testgetExtStepTriggersCriteria(). + */ + public function testgetExtStepTriggersCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getExtStepTriggersCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getExtAvailableStepTriggersCriteria + * @todo Implement testgetExtAvailableStepTriggersCriteria(). + */ + public function testgetExtAvailableStepTriggersCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getExtAvailableStepTriggersCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAllDynaformCount + * @todo Implement testgetAllDynaformCount(). + */ + public function testgetAllDynaformCount() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAllDynaformCount', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getExtDynaformsList + * @todo Implement testgetExtDynaformsList(). + */ + public function testgetExtDynaformsList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getExtDynaformsList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAllInputDocumentCount + * @todo Implement testgetAllInputDocumentCount(). + */ + public function testgetAllInputDocumentCount() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAllInputDocumentCount', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getExtInputDocumentsCriteria + * @todo Implement testgetExtInputDocumentsCriteria(). + */ + public function testgetExtInputDocumentsCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getExtInputDocumentsCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAllOutputDocumentCount + * @todo Implement testgetAllOutputDocumentCount(). + */ + public function testgetAllOutputDocumentCount() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAllOutputDocumentCount', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getExtOutputDocumentsCriteria + * @todo Implement testgetExtOutputDocumentsCriteria(). + */ + public function testgetExtOutputDocumentsCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getExtOutputDocumentsCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::subProcessExtProperties + * @todo Implement testsubProcessExtProperties(). + */ + public function testsubProcessExtProperties() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'subProcessExtProperties', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAllProcessSupervisorsCount + * @todo Implement testgetAllProcessSupervisorsCount(). + */ + public function testgetAllProcessSupervisorsCount() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAllProcessSupervisorsCount', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::listExtProcessesSupervisors + * @todo Implement testlistExtProcessesSupervisors(). + */ + public function testlistExtProcessesSupervisors() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'listExtProcessesSupervisors', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::listExtNoProcessesUser + * @todo Implement testlistExtNoProcessesUser(). + */ + public function testlistExtNoProcessesUser() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'listExtNoProcessesUser', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAllSupervisorDynaformsCount + * @todo Implement testgetAllSupervisorDynaformsCount(). + */ + public function testgetAllSupervisorDynaformsCount() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAllSupervisorDynaformsCount', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getExtSupervisorDynaformsList + * @todo Implement testgetExtSupervisorDynaformsList(). + */ + public function testgetExtSupervisorDynaformsList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getExtSupervisorDynaformsList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getExtAvailableSupervisorDynaformsList + * @todo Implement testgetExtAvailableSupervisorDynaformsList(). + */ + public function testgetExtAvailableSupervisorDynaformsList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getExtAvailableSupervisorDynaformsList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAllSupervisorInputsCount + * @todo Implement testgetAllSupervisorInputsCount(). + */ + public function testgetAllSupervisorInputsCount() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAllSupervisorInputsCount', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getExtSupervisorInputsList + * @todo Implement testgetExtSupervisorInputsList(). + */ + public function testgetExtSupervisorInputsList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getExtSupervisorInputsList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getExtAvailableSupervisorInputsList + * @todo Implement testgetExtAvailableSupervisorInputsList(). + */ + public function testgetExtAvailableSupervisorInputsList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getExtAvailableSupervisorInputsList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAllDbSourceCount + * @todo Implement testgetAllDbSourceCount(). + */ + public function testgetAllDbSourceCount() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAllDbSourceCount', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getExtCriteriaDBSList + * @todo Implement testgetExtCriteriaDBSList(). + */ + public function testgetExtCriteriaDBSList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getExtCriteriaDBSList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::newExtObjectPermission + * @todo Implement testnewExtObjectPermission(). + */ + public function testnewExtObjectPermission() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'newExtObjectPermission', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::ExtcaseTracker + * @todo Implement testExtcaseTracker(). + */ + public function testExtcaseTracker() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'ExtcaseTracker', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAllCaseTrackerObjectCount + * @todo Implement testgetAllCaseTrackerObjectCount(). + */ + public function testgetAllCaseTrackerObjectCount() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAllCaseTrackerObjectCount', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getExtCaseTrackerObjectsCriteria + * @todo Implement testgetExtCaseTrackerObjectsCriteria(). + */ + public function testgetExtCaseTrackerObjectsCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getExtCaseTrackerObjectsCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAvailableExtCaseTrackerObjects + * @todo Implement testgetAvailableExtCaseTrackerObjects(). + */ + public function testgetAvailableExtCaseTrackerObjects() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAvailableExtCaseTrackerObjects', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAllReportTableCount + * @todo Implement testgetAllReportTableCount(). + */ + public function testgetAllReportTableCount() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAllReportTableCount', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getExtReportTables + * @todo Implement testgetExtReportTables(). + */ + public function testgetExtReportTables() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getExtReportTables', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getExtAvailableUsersList + * @todo Implement testgetExtAvailableUsersList(). + */ + public function testgetExtAvailableUsersList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getExtAvailableUsersList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getExtTaskUsersAdHocCriteria + * @todo Implement testgetExtTaskUsersAdHocCriteria(). + */ + public function testgetExtTaskUsersAdHocCriteria() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getExtTaskUsersAdHocCriteria', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::editExtObjectPermission + * @todo Implement testeditExtObjectPermission(). + */ + public function testeditExtObjectPermission() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'editExtObjectPermission', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getExtusersadhoc + * @todo Implement testgetExtusersadhoc(). + */ + public function testgetExtusersadhoc() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getExtusersadhoc', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::saveExtddEvents + * @todo Implement testsaveExtddEvents(). + */ + public function testsaveExtddEvents() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'saveExtddEvents', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::saveExtEvents + * @todo Implement testsaveExtEvents(). + */ + public function testsaveExtEvents() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'saveExtEvents', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAllTriggersCount + * @todo Implement testgetAllTriggersCount(). + */ + public function testgetAllTriggersCount() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAllTriggersCount', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getExtTriggersList + * @todo Implement testgetExtTriggersList(). + */ + public function testgetExtTriggersList() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getExtTriggersList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers processMap::getAllInputDocsByTask + * @todo Implement testgetAllInputDocsByTask(). + */ + public function testgetAllInputDocsByTask() + { + if (class_exists('processMap')) { + $methods = get_class_methods( 'processMap'); + $this->assertTrue( in_array( 'getAllInputDocsByTask', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classpropelTableTest.php b/tests/workflow/engine/classes/classpropelTableTest.php new file mode 100644 index 000000000..db14a4752 --- /dev/null +++ b/tests/workflow/engine/classes/classpropelTableTest.php @@ -0,0 +1,111 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classredirectDetailTest.php b/tests/workflow/engine/classes/classredirectDetailTest.php new file mode 100644 index 000000000..dde0e0da7 --- /dev/null +++ b/tests/workflow/engine/classes/classredirectDetailTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classreplacementLogoTest.php b/tests/workflow/engine/classes/classreplacementLogoTest.php new file mode 100644 index 000000000..f113a4281 --- /dev/null +++ b/tests/workflow/engine/classes/classreplacementLogoTest.php @@ -0,0 +1,51 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classserverConfTest.php b/tests/workflow/engine/classes/classserverConfTest.php new file mode 100644 index 000000000..9681e237e --- /dev/null +++ b/tests/workflow/engine/classes/classserverConfTest.php @@ -0,0 +1,291 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classspoolRunTest.php b/tests/workflow/engine/classes/classspoolRunTest.php new file mode 100644 index 000000000..da2a736ce --- /dev/null +++ b/tests/workflow/engine/classes/classspoolRunTest.php @@ -0,0 +1,171 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classstepDetailTest.php b/tests/workflow/engine/classes/classstepDetailTest.php new file mode 100644 index 000000000..74b5d2fac --- /dev/null +++ b/tests/workflow/engine/classes/classstepDetailTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classtar_fileTest.php b/tests/workflow/engine/classes/classtar_fileTest.php new file mode 100644 index 000000000..4c92f1af3 --- /dev/null +++ b/tests/workflow/engine/classes/classtar_fileTest.php @@ -0,0 +1,63 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classtaskExtendedPropertyTest.php b/tests/workflow/engine/classes/classtaskExtendedPropertyTest.php new file mode 100644 index 000000000..859aa426f --- /dev/null +++ b/tests/workflow/engine/classes/classtaskExtendedPropertyTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classtoolbarDetailTest.php b/tests/workflow/engine/classes/classtoolbarDetailTest.php new file mode 100644 index 000000000..595f4fa85 --- /dev/null +++ b/tests/workflow/engine/classes/classtoolbarDetailTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classtriggerDetailTest.php b/tests/workflow/engine/classes/classtriggerDetailTest.php new file mode 100644 index 000000000..43acb6d4e --- /dev/null +++ b/tests/workflow/engine/classes/classtriggerDetailTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classtriggerLibraryTest.php b/tests/workflow/engine/classes/classtriggerLibraryTest.php new file mode 100644 index 000000000..45ea5aea7 --- /dev/null +++ b/tests/workflow/engine/classes/classtriggerLibraryTest.php @@ -0,0 +1,123 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classuploadDocumentDataTest.php b/tests/workflow/engine/classes/classuploadDocumentDataTest.php new file mode 100644 index 000000000..0166f9967 --- /dev/null +++ b/tests/workflow/engine/classes/classuploadDocumentDataTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classworkspaceToolsTest.php b/tests/workflow/engine/classes/classworkspaceToolsTest.php new file mode 100644 index 000000000..0994c12ae --- /dev/null +++ b/tests/workflow/engine/classes/classworkspaceToolsTest.php @@ -0,0 +1,423 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classwsBaseTest.php b/tests/workflow/engine/classes/classwsBaseTest.php new file mode 100644 index 000000000..0b292d18c --- /dev/null +++ b/tests/workflow/engine/classes/classwsBaseTest.php @@ -0,0 +1,435 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classwsCreateDepartmentResponseTest.php b/tests/workflow/engine/classes/classwsCreateDepartmentResponseTest.php new file mode 100644 index 000000000..a2ea4b751 --- /dev/null +++ b/tests/workflow/engine/classes/classwsCreateDepartmentResponseTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classwsCreateGroupResponseTest.php b/tests/workflow/engine/classes/classwsCreateGroupResponseTest.php new file mode 100644 index 000000000..c281f5b47 --- /dev/null +++ b/tests/workflow/engine/classes/classwsCreateGroupResponseTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classwsCreateUserResponseTest.php b/tests/workflow/engine/classes/classwsCreateUserResponseTest.php new file mode 100644 index 000000000..ff649fd5e --- /dev/null +++ b/tests/workflow/engine/classes/classwsCreateUserResponseTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classwsGetCaseNotesResponseTest.php b/tests/workflow/engine/classes/classwsGetCaseNotesResponseTest.php new file mode 100644 index 000000000..92ee2fc77 --- /dev/null +++ b/tests/workflow/engine/classes/classwsGetCaseNotesResponseTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classwsGetVariableResponseTest.php b/tests/workflow/engine/classes/classwsGetVariableResponseTest.php new file mode 100644 index 000000000..37a4d2f69 --- /dev/null +++ b/tests/workflow/engine/classes/classwsGetVariableResponseTest.php @@ -0,0 +1,27 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classwsResponseTest.php b/tests/workflow/engine/classes/classwsResponseTest.php new file mode 100644 index 000000000..3e897559e --- /dev/null +++ b/tests/workflow/engine/classes/classwsResponseTest.php @@ -0,0 +1,51 @@ +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' ); + } + } + + } diff --git a/tests/workflow/engine/classes/classzip_fileTest.php b/tests/workflow/engine/classes/classzip_fileTest.php new file mode 100644 index 000000000..092789750 --- /dev/null +++ b/tests/workflow/engine/classes/classzip_fileTest.php @@ -0,0 +1,39 @@ +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' ); + } + } + + }