From 31ae1e1d36d43dbcce0e88af745bf23cfe7fbf50 Mon Sep 17 00:00:00 2001 From: Fernando Ontiveros Date: Thu, 10 May 2012 20:51:34 -0400 Subject: [PATCH] BUG 0000 Test Units for Gulliver.system classes --- tests/gulliver/system/classControllerTest.php | 241 +++ .../gulliver/system/classDBConnectionTest.php | 109 ++ .../gulliver/system/classDBRecordSetTest.php | 85 + tests/gulliver/system/classDBSessionTest.php | 73 + tests/gulliver/system/classDBTableTest.php | 145 ++ .../system/classDataBaseMaintenanceTest.php | 337 ++++ tests/gulliver/system/classFormTest.php | 145 ++ tests/gulliver/system/classGTest.php | 1669 +++++++++++++++++ tests/gulliver/system/classG_ErrorTest.php | 37 + tests/gulliver/system/classHelperTest.php | 109 ++ .../system/classHttpProxyControllerTest.php | 109 ++ tests/gulliver/system/classMenuTest.php | 145 ++ .../system/classNTLMSoapClientTest.php | 37 + .../gulliver/system/classPHPSQLParserTest.php | 217 +++ .../gulliver/system/classPMExceptionTest.php | 37 + .../classPMServiceNTLMSoapClientTest.php | 25 + .../classPMServiceProviderNTLMStreamTest.php | 49 + tests/gulliver/system/classPublisherTest.php | 49 + tests/gulliver/system/classRBACTest.php | 685 +++++++ tests/gulliver/system/classRestClientTest.php | 277 +++ tests/gulliver/system/classTableTest.php | 289 +++ .../system/classTemplatePowerParserTest.php | 109 ++ .../system/classTemplatePowerTest.php | 217 +++ tests/gulliver/system/classTreeTest.php | 85 + .../gulliver/system/classWebResourceTest.php | 61 + tests/gulliver/system/classXmlFormTest.php | 61 + .../system/classXmlForm_FieldTest.php | 325 ++++ .../system/classXmlForm_Field_ButtonTest.php | 25 + ...classXmlForm_Field_CaptionCurrencyTest.php | 25 + ...assXmlForm_Field_CaptionPercentageTest.php | 25 + .../system/classXmlForm_Field_CaptionTest.php | 37 + .../classXmlForm_Field_CheckGroupTest.php | 25 + .../classXmlForm_Field_CheckGroupViewTest.php | 25 + .../classXmlForm_Field_Checkbox2Test.php | 25 + .../classXmlForm_Field_CheckboxTest.php | 49 + .../classXmlForm_Field_CheckboxptTest.php | 49 + .../classXmlForm_Field_CurrencyTest.php | 37 + .../classXmlForm_Field_DVEditorTest.php | 37 + .../system/classXmlForm_Field_Date2Test.php | 73 + .../system/classXmlForm_Field_Date5Test.php | 97 + .../system/classXmlForm_Field_DateTest.php | 85 + .../classXmlForm_Field_DateViewTest.php | 25 + .../classXmlForm_Field_DropdownTest.php | 49 + .../classXmlForm_Field_DropdownptTest.php | 37 + .../classXmlForm_Field_FastSearchTest.php | 13 + .../system/classXmlForm_Field_FileTest.php | 25 + .../system/classXmlForm_Field_GridTest.php | 73 + .../system/classXmlForm_Field_HTMLTest.php | 25 + .../system/classXmlForm_Field_HiddenTest.php | 49 + .../system/classXmlForm_Field_ImageTest.php | 37 + .../classXmlForm_Field_JavaScriptTest.php | 61 + .../system/classXmlForm_Field_LabelTest.php | 13 + .../system/classXmlForm_Field_LinkTest.php | 49 + .../system/classXmlForm_Field_ListboxTest.php | 49 + .../classXmlForm_Field_PasswordTest.php | 25 + .../classXmlForm_Field_PercentageTest.php | 25 + .../system/classXmlForm_Field_PrintTest.php | 25 + .../classXmlForm_Field_RadioGroupTest.php | 37 + .../classXmlForm_Field_RadioGroupViewTest.php | 25 + .../system/classXmlForm_Field_ResetTest.php | 25 + .../classXmlForm_Field_SimpleTextTest.php | 37 + .../system/classXmlForm_Field_SubmitTest.php | 25 + .../classXmlForm_Field_SubtitleTest.php | 37 + .../system/classXmlForm_Field_SuggestTest.php | 49 + .../system/classXmlForm_Field_TextTest.php | 49 + .../classXmlForm_Field_TextareaTest.php | 37 + .../system/classXmlForm_Field_TitleTest.php | 37 + .../system/classXmlForm_Field_XmlMenuTest.php | 49 + .../system/classXmlForm_Field_XmlformTest.php | 49 + .../system/classXmlForm_Field_YesNoTest.php | 37 + .../classXmlForm_Field_cellMarkTest.php | 37 + tests/gulliver/system/classXml_NodeTest.php | 109 ++ .../gulliver/system/classXml_documentTest.php | 73 + tests/gulliver/system/classdatabaseTest.php | 505 +++++ .../system/classdatabase_baseTest.php | 109 ++ .../system/classdynaFormHandlerTest.php | 289 +++ tests/gulliver/system/classfilterFormTest.php | 25 + .../gulliver/system/classfunctionTestTest.php | 37 + .../system/classheadPublisherTest.php | 349 ++++ tests/gulliver/system/classi18n_POTest.php | 241 +++ tests/gulliver/system/classmailerTest.php | 97 + .../system/classobjectTemplateTest.php | 37 + tests/gulliver/system/classpagedTableTest.php | 133 ++ tests/gulliver/system/classsoapNtlmTest.php | 157 ++ tests/gulliver/system/classtestToolsTest.php | 109 ++ tests/gulliver/system/classunitTestTest.php | 85 + tests/gulliver/system/classxmlMenuTest.php | 13 + .../system/classxmlformTemplateTest.php | 133 ++ tests/gulliver/system/classymlDomainTest.php | 145 ++ .../gulliver/system/classymlTestCasesTest.php | 85 + 90 files changed, 10182 insertions(+) create mode 100644 tests/gulliver/system/classControllerTest.php create mode 100644 tests/gulliver/system/classDBConnectionTest.php create mode 100644 tests/gulliver/system/classDBRecordSetTest.php create mode 100644 tests/gulliver/system/classDBSessionTest.php create mode 100644 tests/gulliver/system/classDBTableTest.php create mode 100644 tests/gulliver/system/classDataBaseMaintenanceTest.php create mode 100644 tests/gulliver/system/classFormTest.php create mode 100644 tests/gulliver/system/classGTest.php create mode 100644 tests/gulliver/system/classG_ErrorTest.php create mode 100644 tests/gulliver/system/classHelperTest.php create mode 100644 tests/gulliver/system/classHttpProxyControllerTest.php create mode 100644 tests/gulliver/system/classMenuTest.php create mode 100644 tests/gulliver/system/classNTLMSoapClientTest.php create mode 100644 tests/gulliver/system/classPHPSQLParserTest.php create mode 100644 tests/gulliver/system/classPMExceptionTest.php create mode 100644 tests/gulliver/system/classPMServiceNTLMSoapClientTest.php create mode 100644 tests/gulliver/system/classPMServiceProviderNTLMStreamTest.php create mode 100644 tests/gulliver/system/classPublisherTest.php create mode 100644 tests/gulliver/system/classRBACTest.php create mode 100644 tests/gulliver/system/classRestClientTest.php create mode 100644 tests/gulliver/system/classTableTest.php create mode 100644 tests/gulliver/system/classTemplatePowerParserTest.php create mode 100644 tests/gulliver/system/classTemplatePowerTest.php create mode 100644 tests/gulliver/system/classTreeTest.php create mode 100644 tests/gulliver/system/classWebResourceTest.php create mode 100644 tests/gulliver/system/classXmlFormTest.php create mode 100644 tests/gulliver/system/classXmlForm_FieldTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_ButtonTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_CaptionCurrencyTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_CaptionPercentageTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_CaptionTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_CheckGroupTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_CheckGroupViewTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_Checkbox2Test.php create mode 100644 tests/gulliver/system/classXmlForm_Field_CheckboxTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_CheckboxptTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_CurrencyTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_DVEditorTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_Date2Test.php create mode 100644 tests/gulliver/system/classXmlForm_Field_Date5Test.php create mode 100644 tests/gulliver/system/classXmlForm_Field_DateTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_DateViewTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_DropdownTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_DropdownptTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_FastSearchTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_FileTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_GridTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_HTMLTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_HiddenTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_ImageTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_JavaScriptTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_LabelTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_LinkTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_ListboxTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_PasswordTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_PercentageTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_PrintTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_RadioGroupTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_RadioGroupViewTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_ResetTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_SimpleTextTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_SubmitTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_SubtitleTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_SuggestTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_TextTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_TextareaTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_TitleTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_XmlMenuTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_XmlformTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_YesNoTest.php create mode 100644 tests/gulliver/system/classXmlForm_Field_cellMarkTest.php create mode 100644 tests/gulliver/system/classXml_NodeTest.php create mode 100644 tests/gulliver/system/classXml_documentTest.php create mode 100644 tests/gulliver/system/classdatabaseTest.php create mode 100644 tests/gulliver/system/classdatabase_baseTest.php create mode 100644 tests/gulliver/system/classdynaFormHandlerTest.php create mode 100644 tests/gulliver/system/classfilterFormTest.php create mode 100644 tests/gulliver/system/classfunctionTestTest.php create mode 100644 tests/gulliver/system/classheadPublisherTest.php create mode 100644 tests/gulliver/system/classi18n_POTest.php create mode 100644 tests/gulliver/system/classmailerTest.php create mode 100644 tests/gulliver/system/classobjectTemplateTest.php create mode 100644 tests/gulliver/system/classpagedTableTest.php create mode 100644 tests/gulliver/system/classsoapNtlmTest.php create mode 100644 tests/gulliver/system/classtestToolsTest.php create mode 100644 tests/gulliver/system/classunitTestTest.php create mode 100644 tests/gulliver/system/classxmlMenuTest.php create mode 100644 tests/gulliver/system/classxmlformTemplateTest.php create mode 100644 tests/gulliver/system/classymlDomainTest.php create mode 100644 tests/gulliver/system/classymlTestCasesTest.php diff --git a/tests/gulliver/system/classControllerTest.php b/tests/gulliver/system/classControllerTest.php new file mode 100644 index 000000000..9b74b123f --- /dev/null +++ b/tests/gulliver/system/classControllerTest.php @@ -0,0 +1,241 @@ +assertTrue( in_array( '__set', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Controller::__get + * @todo Implement test__get(). + */ + public function test__get() + { + if (class_exists('Controller')) { + $methods = get_class_methods( 'Controller'); + $this->assertTrue( in_array( '__get', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Controller::__isset + * @todo Implement test__isset(). + */ + public function test__isset() + { + if (class_exists('Controller')) { + $methods = get_class_methods( 'Controller'); + $this->assertTrue( in_array( '__isset', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Controller::__unset + * @todo Implement test__unset(). + */ + public function test__unset() + { + if (class_exists('Controller')) { + $methods = get_class_methods( 'Controller'); + $this->assertTrue( in_array( '__unset', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Controller::setResponseType + * @todo Implement testsetResponseType(). + */ + public function testsetResponseType() + { + if (class_exists('Controller')) { + $methods = get_class_methods( 'Controller'); + $this->assertTrue( in_array( 'setResponseType', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Controller::call + * @todo Implement testcall(). + */ + public function testcall() + { + if (class_exists('Controller')) { + $methods = get_class_methods( 'Controller'); + $this->assertTrue( in_array( 'call', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Controller::setHttpRequestData + * @todo Implement testsetHttpRequestData(). + */ + public function testsetHttpRequestData() + { + if (class_exists('Controller')) { + $methods = get_class_methods( 'Controller'); + $this->assertTrue( in_array( 'setHttpRequestData', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Controller::setDebug + * @todo Implement testsetDebug(). + */ + public function testsetDebug() + { + if (class_exists('Controller')) { + $methods = get_class_methods( 'Controller'); + $this->assertTrue( in_array( 'setDebug', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Controller::getDebug + * @todo Implement testgetDebug(). + */ + public function testgetDebug() + { + if (class_exists('Controller')) { + $methods = get_class_methods( 'Controller'); + $this->assertTrue( in_array( 'getDebug', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Controller::includeExtJSLib + * @todo Implement testincludeExtJSLib(). + */ + public function testincludeExtJSLib() + { + if (class_exists('Controller')) { + $methods = get_class_methods( 'Controller'); + $this->assertTrue( in_array( 'includeExtJSLib', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Controller::includeExtJS + * @todo Implement testincludeExtJS(). + */ + public function testincludeExtJS() + { + if (class_exists('Controller')) { + $methods = get_class_methods( 'Controller'); + $this->assertTrue( in_array( 'includeExtJS', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Controller::setView + * @todo Implement testsetView(). + */ + public function testsetView() + { + if (class_exists('Controller')) { + $methods = get_class_methods( 'Controller'); + $this->assertTrue( in_array( 'setView', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Controller::setJSVar + * @todo Implement testsetJSVar(). + */ + public function testsetJSVar() + { + if (class_exists('Controller')) { + $methods = get_class_methods( 'Controller'); + $this->assertTrue( in_array( 'setJSVar', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Controller::setVar + * @todo Implement testsetVar(). + */ + public function testsetVar() + { + if (class_exists('Controller')) { + $methods = get_class_methods( 'Controller'); + $this->assertTrue( in_array( 'setVar', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Controller::getHeadPublisher + * @todo Implement testgetHeadPublisher(). + */ + public function testgetHeadPublisher() + { + if (class_exists('Controller')) { + $methods = get_class_methods( 'Controller'); + $this->assertTrue( in_array( 'getHeadPublisher', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Controller::setLayout + * @todo Implement testsetLayout(). + */ + public function testsetLayout() + { + if (class_exists('Controller')) { + $methods = get_class_methods( 'Controller'); + $this->assertTrue( in_array( 'setLayout', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Controller::render + * @todo Implement testrender(). + */ + public function testrender() + { + if (class_exists('Controller')) { + $methods = get_class_methods( 'Controller'); + $this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Controller::header + * @todo Implement testheader(). + */ + public function testheader() + { + if (class_exists('Controller')) { + $methods = get_class_methods( 'Controller'); + $this->assertTrue( in_array( 'header', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Controller::redirect + * @todo Implement testredirect(). + */ + public function testredirect() + { + if (class_exists('Controller')) { + $methods = get_class_methods( 'Controller'); + $this->assertTrue( in_array( 'redirect', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classDBConnectionTest.php b/tests/gulliver/system/classDBConnectionTest.php new file mode 100644 index 000000000..4f0011558 --- /dev/null +++ b/tests/gulliver/system/classDBConnectionTest.php @@ -0,0 +1,109 @@ +assertTrue( in_array( 'DBConnection', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBConnection::Reset + * @todo Implement testReset(). + */ + public function testReset() + { + if (class_exists('DBConnection')) { + $methods = get_class_methods( 'DBConnection'); + $this->assertTrue( in_array( 'Reset', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBConnection::Free + * @todo Implement testFree(). + */ + public function testFree() + { + if (class_exists('DBConnection')) { + $methods = get_class_methods( 'DBConnection'); + $this->assertTrue( in_array( 'Free', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBConnection::Close + * @todo Implement testClose(). + */ + public function testClose() + { + if (class_exists('DBConnection')) { + $methods = get_class_methods( 'DBConnection'); + $this->assertTrue( in_array( 'Close', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBConnection::logError + * @todo Implement testlogError(). + */ + public function testlogError() + { + if (class_exists('DBConnection')) { + $methods = get_class_methods( 'DBConnection'); + $this->assertTrue( in_array( 'logError', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBConnection::traceError + * @todo Implement testtraceError(). + */ + public function testtraceError() + { + if (class_exists('DBConnection')) { + $methods = get_class_methods( 'DBConnection'); + $this->assertTrue( in_array( 'traceError', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBConnection::printArgs + * @todo Implement testprintArgs(). + */ + public function testprintArgs() + { + if (class_exists('DBConnection')) { + $methods = get_class_methods( 'DBConnection'); + $this->assertTrue( in_array( 'printArgs', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBConnection::GetLastID + * @todo Implement testGetLastID(). + */ + public function testGetLastID() + { + if (class_exists('DBConnection')) { + $methods = get_class_methods( 'DBConnection'); + $this->assertTrue( in_array( 'GetLastID', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classDBRecordSetTest.php b/tests/gulliver/system/classDBRecordSetTest.php new file mode 100644 index 000000000..0bc964302 --- /dev/null +++ b/tests/gulliver/system/classDBRecordSetTest.php @@ -0,0 +1,85 @@ +assertTrue( in_array( 'DBRecordSet', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBRecordSet::SetTo + * @todo Implement testSetTo(). + */ + public function testSetTo() + { + if (class_exists('DBRecordSet')) { + $methods = get_class_methods( 'DBRecordSet'); + $this->assertTrue( in_array( 'SetTo', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBRecordSet::Free + * @todo Implement testFree(). + */ + public function testFree() + { + if (class_exists('DBRecordSet')) { + $methods = get_class_methods( 'DBRecordSet'); + $this->assertTrue( in_array( 'Free', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBRecordSet::Count + * @todo Implement testCount(). + */ + public function testCount() + { + if (class_exists('DBRecordSet')) { + $methods = get_class_methods( 'DBRecordSet'); + $this->assertTrue( in_array( 'Count', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBRecordSet::Read + * @todo Implement testRead(). + */ + public function testRead() + { + if (class_exists('DBRecordSet')) { + $methods = get_class_methods( 'DBRecordSet'); + $this->assertTrue( in_array( 'Read', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBRecordSet::ReadAbsolute + * @todo Implement testReadAbsolute(). + */ + public function testReadAbsolute() + { + if (class_exists('DBRecordSet')) { + $methods = get_class_methods( 'DBRecordSet'); + $this->assertTrue( in_array( 'ReadAbsolute', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classDBSessionTest.php b/tests/gulliver/system/classDBSessionTest.php new file mode 100644 index 000000000..a2e38f866 --- /dev/null +++ b/tests/gulliver/system/classDBSessionTest.php @@ -0,0 +1,73 @@ +assertTrue( in_array( 'DBSession', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBSession::setTo + * @todo Implement testsetTo(). + */ + public function testsetTo() + { + if (class_exists('DBSession')) { + $methods = get_class_methods( 'DBSession'); + $this->assertTrue( in_array( 'setTo', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBSession::UseDB + * @todo Implement testUseDB(). + */ + public function testUseDB() + { + if (class_exists('DBSession')) { + $methods = get_class_methods( 'DBSession'); + $this->assertTrue( in_array( 'UseDB', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBSession::Execute + * @todo Implement testExecute(). + */ + public function testExecute() + { + if (class_exists('DBSession')) { + $methods = get_class_methods( 'DBSession'); + $this->assertTrue( in_array( 'Execute', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBSession::Free + * @todo Implement testFree(). + */ + public function testFree() + { + if (class_exists('DBSession')) { + $methods = get_class_methods( 'DBSession'); + $this->assertTrue( in_array( 'Free', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classDBTableTest.php b/tests/gulliver/system/classDBTableTest.php new file mode 100644 index 000000000..667bf12b6 --- /dev/null +++ b/tests/gulliver/system/classDBTableTest.php @@ -0,0 +1,145 @@ +assertTrue( in_array( 'dBTable', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBTable::setTo + * @todo Implement testsetTo(). + */ + public function testsetTo() + { + if (class_exists('DBTable')) { + $methods = get_class_methods( 'DBTable'); + $this->assertTrue( in_array( 'setTo', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBTable::loadEmpty + * @todo Implement testloadEmpty(). + */ + public function testloadEmpty() + { + if (class_exists('DBTable')) { + $methods = get_class_methods( 'DBTable'); + $this->assertTrue( in_array( 'loadEmpty', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBTable::loadWhere + * @todo Implement testloadWhere(). + */ + public function testloadWhere() + { + if (class_exists('DBTable')) { + $methods = get_class_methods( 'DBTable'); + $this->assertTrue( in_array( 'loadWhere', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBTable::load + * @todo Implement testload(). + */ + public function testload() + { + if (class_exists('DBTable')) { + $methods = get_class_methods( 'DBTable'); + $this->assertTrue( in_array( 'load', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBTable::nextvalPGSql + * @todo Implement testnextvalPGSql(). + */ + public function testnextvalPGSql() + { + if (class_exists('DBTable')) { + $methods = get_class_methods( 'DBTable'); + $this->assertTrue( in_array( 'nextvalPGSql', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBTable::insert + * @todo Implement testinsert(). + */ + public function testinsert() + { + if (class_exists('DBTable')) { + $methods = get_class_methods( 'DBTable'); + $this->assertTrue( in_array( 'insert', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBTable::update + * @todo Implement testupdate(). + */ + public function testupdate() + { + if (class_exists('DBTable')) { + $methods = get_class_methods( 'DBTable'); + $this->assertTrue( in_array( 'update', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBTable::save + * @todo Implement testsave(). + */ + public function testsave() + { + if (class_exists('DBTable')) { + $methods = get_class_methods( 'DBTable'); + $this->assertTrue( in_array( 'save', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBTable::delete + * @todo Implement testdelete(). + */ + public function testdelete() + { + if (class_exists('DBTable')) { + $methods = get_class_methods( 'DBTable'); + $this->assertTrue( in_array( 'delete', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DBTable::next + * @todo Implement testnext(). + */ + public function testnext() + { + if (class_exists('DBTable')) { + $methods = get_class_methods( 'DBTable'); + $this->assertTrue( in_array( 'next', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classDataBaseMaintenanceTest.php b/tests/gulliver/system/classDataBaseMaintenanceTest.php new file mode 100644 index 000000000..0d48361eb --- /dev/null +++ b/tests/gulliver/system/classDataBaseMaintenanceTest.php @@ -0,0 +1,337 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::setUser + * @todo Implement testsetUser(). + */ + public function testsetUser() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'setUser', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::setPasswd + * @todo Implement testsetPasswd(). + */ + public function testsetPasswd() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'setPasswd', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::setHost + * @todo Implement testsetHost(). + */ + public function testsetHost() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'setHost', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::setTempDir + * @todo Implement testsetTempDir(). + */ + public function testsetTempDir() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'setTempDir', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::getTempDir + * @todo Implement testgetTempDir(). + */ + public function testgetTempDir() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'getTempDir', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::status + * @todo Implement teststatus(). + */ + public function teststatus() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'status', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::connect + * @todo Implement testconnect(). + */ + public function testconnect() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'connect', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::setDbName + * @todo Implement testsetDbName(). + */ + public function testsetDbName() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'setDbName', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::selectDataBase + * @todo Implement testselectDataBase(). + */ + public function testselectDataBase() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'selectDataBase', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::query + * @todo Implement testquery(). + */ + public function testquery() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'query', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::error + * @todo Implement testerror(). + */ + public function testerror() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'error', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::getTablesList + * @todo Implement testgetTablesList(). + */ + public function testgetTablesList() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'getTablesList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::dumpData + * @todo Implement testdumpData(). + */ + public function testdumpData() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'dumpData', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::restoreData + * @todo Implement testrestoreData(). + */ + public function testrestoreData() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'restoreData', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::backupData + * @todo Implement testbackupData(). + */ + public function testbackupData() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'backupData', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::backupSqlData + * @todo Implement testbackupSqlData(). + */ + public function testbackupSqlData() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'backupSqlData', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::restoreAllData + * @todo Implement testrestoreAllData(). + */ + public function testrestoreAllData() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'restoreAllData', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::createDb + * @todo Implement testcreateDb(). + */ + public function testcreateDb() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'createDb', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::restoreFromSql2 + * @todo Implement testrestoreFromSql2(). + */ + public function testrestoreFromSql2() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'restoreFromSql2', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::lockTables + * @todo Implement testlockTables(). + */ + public function testlockTables() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'lockTables', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::unlockTables + * @todo Implement testunlockTables(). + */ + public function testunlockTables() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'unlockTables', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::dumpSqlInserts + * @todo Implement testdumpSqlInserts(). + */ + public function testdumpSqlInserts() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'dumpSqlInserts', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::backupDataBase + * @todo Implement testbackupDataBase(). + */ + public function testbackupDataBase() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'backupDataBase', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::restoreFromSql + * @todo Implement testrestoreFromSql(). + */ + public function testrestoreFromSql() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'restoreFromSql', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::getSchemaFromTable + * @todo Implement testgetSchemaFromTable(). + */ + public function testgetSchemaFromTable() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'getSchemaFromTable', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers DataBaseMaintenance::removeCommentsIntoString + * @todo Implement testremoveCommentsIntoString(). + */ + public function testremoveCommentsIntoString() + { + if (class_exists('DataBaseMaintenance')) { + $methods = get_class_methods( 'DataBaseMaintenance'); + $this->assertTrue( in_array( 'removeCommentsIntoString', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classFormTest.php b/tests/gulliver/system/classFormTest.php new file mode 100644 index 000000000..79d56f9be --- /dev/null +++ b/tests/gulliver/system/classFormTest.php @@ -0,0 +1,145 @@ +assertTrue( in_array( 'setDefaultValues', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Form::Form + * @todo Implement testForm(). + */ + public function testForm() + { + if (class_exists('Form')) { + $methods = get_class_methods( 'Form'); + $this->assertTrue( in_array( 'Form', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Form::printTemplate + * @todo Implement testprintTemplate(). + */ + public function testprintTemplate() + { + if (class_exists('Form')) { + $methods = get_class_methods( 'Form'); + $this->assertTrue( in_array( 'printTemplate', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Form::render + * @todo Implement testrender(). + */ + public function testrender() + { + if (class_exists('Form')) { + $methods = get_class_methods( 'Form'); + $this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Form::setValues + * @todo Implement testsetValues(). + */ + public function testsetValues() + { + if (class_exists('Form')) { + $methods = get_class_methods( 'Form'); + $this->assertTrue( in_array( 'setValues', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Form::getFields + * @todo Implement testgetFields(). + */ + public function testgetFields() + { + if (class_exists('Form')) { + $methods = get_class_methods( 'Form'); + $this->assertTrue( in_array( 'getFields', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Form::validatePost + * @todo Implement testvalidatePost(). + */ + public function testvalidatePost() + { + if (class_exists('Form')) { + $methods = get_class_methods( 'Form'); + $this->assertTrue( in_array( 'validatePost', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Form::validateArray + * @todo Implement testvalidateArray(). + */ + public function testvalidateArray() + { + if (class_exists('Form')) { + $methods = get_class_methods( 'Form'); + $this->assertTrue( in_array( 'validateArray', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Form::getVars + * @todo Implement testgetVars(). + */ + public function testgetVars() + { + if (class_exists('Form')) { + $methods = get_class_methods( 'Form'); + $this->assertTrue( in_array( 'getVars', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Form::validateRequiredFields + * @todo Implement testvalidateRequiredFields(). + */ + public function testvalidateRequiredFields() + { + if (class_exists('Form')) { + $methods = get_class_methods( 'Form'); + $this->assertTrue( in_array( 'validateRequiredFields', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Form::validateFields + * @todo Implement testvalidateFields(). + */ + public function testvalidateFields() + { + if (class_exists('Form')) { + $methods = get_class_methods( 'Form'); + $this->assertTrue( in_array( 'validateFields', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classGTest.php b/tests/gulliver/system/classGTest.php new file mode 100644 index 000000000..071fc73a6 --- /dev/null +++ b/tests/gulliver/system/classGTest.php @@ -0,0 +1,1669 @@ +assertTrue( in_array( 'is_https', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::array_fill_value + * @todo Implement testarray_fill_value(). + */ + public function testarray_fill_value() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'array_fill_value', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::generate_password + * @todo Implement testgenerate_password(). + */ + public function testgenerate_password() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'generate_password', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::array_concat + * @todo Implement testarray_concat(). + */ + public function testarray_concat() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'array_concat', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::var_compare + * @todo Implement testvar_compare(). + */ + public function testvar_compare() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'var_compare', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::var_probe + * @todo Implement testvar_probe(). + */ + public function testvar_probe() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'var_probe', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::getVersion + * @todo Implement testgetVersion(). + */ + public function testgetVersion() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'getVersion', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::getIpAddress + * @todo Implement testgetIpAddress(). + */ + public function testgetIpAddress() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'getIpAddress', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::getMacAddress + * @todo Implement testgetMacAddress(). + */ + public function testgetMacAddress() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'getMacAddress', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::microtime_float + * @todo Implement testmicrotime_float(). + */ + public function testmicrotime_float() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'microtime_float', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::setFatalErrorHandler + * @todo Implement testsetFatalErrorHandler(). + */ + public function testsetFatalErrorHandler() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'setFatalErrorHandler', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::setErrorHandler + * @todo Implement testsetErrorHandler(). + */ + public function testsetErrorHandler() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'setErrorHandler', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::fatalErrorHandler + * @todo Implement testfatalErrorHandler(). + */ + public function testfatalErrorHandler() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'fatalErrorHandler', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::customErrorHandler + * @todo Implement testcustomErrorHandler(). + */ + public function testcustomErrorHandler() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'customErrorHandler', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::showErrorSource + * @todo Implement testshowErrorSource(). + */ + public function testshowErrorSource() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'showErrorSource', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::customErrorLog + * @todo Implement testcustomErrorLog(). + */ + public function testcustomErrorLog() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'customErrorLog', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::verboseError + * @todo Implement testverboseError(). + */ + public function testverboseError() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'verboseError', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::encrypt + * @todo Implement testencrypt(). + */ + public function testencrypt() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'encrypt', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::decrypt + * @todo Implement testdecrypt(). + */ + public function testdecrypt() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'decrypt', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::lookup + * @todo Implement testlookup(). + */ + public function testlookup() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'lookup', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::mk_dir + * @todo Implement testmk_dir(). + */ + public function testmk_dir() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'mk_dir', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::rm_dir + * @todo Implement testrm_dir(). + */ + public function testrm_dir() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'rm_dir', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::verifyPath + * @todo Implement testverifyPath(). + */ + public function testverifyPath() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'verifyPath', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::expandPath + * @todo Implement testexpandPath(). + */ + public function testexpandPath() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'expandPath', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::LoadSystem + * @todo Implement testLoadSystem(). + */ + public function testLoadSystem() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'LoadSystem', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::LoadSystemExist + * @todo Implement testLoadSystemExist(). + */ + public function testLoadSystemExist() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'LoadSystemExist', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::RenderPage + * @todo Implement testRenderPage(). + */ + public function testRenderPage() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'RenderPage', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::LoadSkin + * @todo Implement testLoadSkin(). + */ + public function testLoadSkin() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'LoadSkin', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::LoadInclude + * @todo Implement testLoadInclude(). + */ + public function testLoadInclude() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'LoadInclude', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::LoadAllModelClasses + * @todo Implement testLoadAllModelClasses(). + */ + public function testLoadAllModelClasses() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'LoadAllModelClasses', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::LoadAllPluginModelClasses + * @todo Implement testLoadAllPluginModelClasses(). + */ + public function testLoadAllPluginModelClasses() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'LoadAllPluginModelClasses', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::LoadTemplate + * @todo Implement testLoadTemplate(). + */ + public function testLoadTemplate() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'LoadTemplate', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::LoadClassRBAC + * @todo Implement testLoadClassRBAC(). + */ + public function testLoadClassRBAC() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'LoadClassRBAC', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::LoadClass + * @todo Implement testLoadClass(). + */ + public function testLoadClass() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'LoadClass', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::LoadThirdParty + * @todo Implement testLoadThirdParty(). + */ + public function testLoadThirdParty() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'LoadThirdParty', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::encryptlink + * @todo Implement testencryptlink(). + */ + public function testencryptlink() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'encryptlink', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::parseURI + * @todo Implement testparseURI(). + */ + public function testparseURI() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'parseURI', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::strip_slashes + * @todo Implement teststrip_slashes(). + */ + public function teststrip_slashes() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'strip_slashes', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::logTimeByPage + * @todo Implement testlogTimeByPage(). + */ + public function testlogTimeByPage() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'logTimeByPage', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::streamCSSBigFile + * @todo Implement teststreamCSSBigFile(). + */ + public function teststreamCSSBigFile() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'streamCSSBigFile', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::streamJSTranslationFile + * @todo Implement teststreamJSTranslationFile(). + */ + public function teststreamJSTranslationFile() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'streamJSTranslationFile', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::streamFile + * @todo Implement teststreamFile(). + */ + public function teststreamFile() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'streamFile', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::trimSourceCodeFile + * @todo Implement testtrimSourceCodeFile(). + */ + public function testtrimSourceCodeFile() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'trimSourceCodeFile', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::sendHeaders + * @todo Implement testsendHeaders(). + */ + public function testsendHeaders() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'sendHeaders', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::virtualURI + * @todo Implement testvirtualURI(). + */ + public function testvirtualURI() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'virtualURI', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::createUID + * @todo Implement testcreateUID(). + */ + public function testcreateUID() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'createUID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::getUIDName + * @todo Implement testgetUIDName(). + */ + public function testgetUIDName() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'getUIDName', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::formatNumber + * @todo Implement testformatNumber(). + */ + public function testformatNumber() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'formatNumber', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::formatDate + * @todo Implement testformatDate(). + */ + public function testformatDate() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'formatDate', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::getformatedDate + * @todo Implement testgetformatedDate(). + */ + public function testgetformatedDate() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'getformatedDate', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::arrayDiff + * @todo Implement testarrayDiff(). + */ + public function testarrayDiff() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'arrayDiff', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::complete_field + * @todo Implement testcomplete_field(). + */ + public function testcomplete_field() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'complete_field', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::sqlEscape + * @todo Implement testsqlEscape(). + */ + public function testsqlEscape() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'sqlEscape', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::MySQLSintaxis + * @todo Implement testMySQLSintaxis(). + */ + public function testMySQLSintaxis() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'MySQLSintaxis', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::replaceDataField + * @todo Implement testreplaceDataField(). + */ + public function testreplaceDataField() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'replaceDataField', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::loadLanguageFile + * @todo Implement testloadLanguageFile(). + */ + public function testloadLanguageFile() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'loadLanguageFile', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::registerLabel + * @todo Implement testregisterLabel(). + */ + public function testregisterLabel() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'registerLabel', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::LoadMenuXml + * @todo Implement testLoadMenuXml(). + */ + public function testLoadMenuXml() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'LoadMenuXml', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::SendMessageXml + * @todo Implement testSendMessageXml(). + */ + public function testSendMessageXml() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'SendMessageXml', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::SendTemporalMessage + * @todo Implement testSendTemporalMessage(). + */ + public function testSendTemporalMessage() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'SendTemporalMessage', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::SendMessage + * @todo Implement testSendMessage(). + */ + public function testSendMessage() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'SendMessage', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::SendMessageText + * @todo Implement testSendMessageText(). + */ + public function testSendMessageText() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'SendMessageText', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::LoadMessage + * @todo Implement testLoadMessage(). + */ + public function testLoadMessage() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'LoadMessage', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::LoadXmlLabel + * @todo Implement testLoadXmlLabel(). + */ + public function testLoadXmlLabel() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'LoadXmlLabel', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::LoadMessageXml + * @todo Implement testLoadMessageXml(). + */ + public function testLoadMessageXml() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'LoadMessageXml', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::LoadTranslationObject + * @todo Implement testLoadTranslationObject(). + */ + public function testLoadTranslationObject() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'LoadTranslationObject', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::LoadTranslation + * @todo Implement testLoadTranslation(). + */ + public function testLoadTranslation() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'LoadTranslation', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::getTranslations + * @todo Implement testgetTranslations(). + */ + public function testgetTranslations() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'getTranslations', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::LoadArrayFile + * @todo Implement testLoadArrayFile(). + */ + public function testLoadArrayFile() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'LoadArrayFile', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::expandUri + * @todo Implement testexpandUri(). + */ + public function testexpandUri() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'expandUri', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::genericForceLogin + * @todo Implement testgenericForceLogin(). + */ + public function testgenericForceLogin() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'genericForceLogin', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::capitalize + * @todo Implement testcapitalize(). + */ + public function testcapitalize() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'capitalize', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::toUpper + * @todo Implement testtoUpper(). + */ + public function testtoUpper() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'toUpper', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::toLower + * @todo Implement testtoLower(). + */ + public function testtoLower() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'toLower', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::http_build_query + * @todo Implement testhttp_build_query(). + */ + public function testhttp_build_query() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'http_build_query', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::header + * @todo Implement testheader(). + */ + public function testheader() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'header', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::forceLogin + * @todo Implement testforceLogin(). + */ + public function testforceLogin() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'forceLogin', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::add_slashes + * @todo Implement testadd_slashes(). + */ + public function testadd_slashes() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'add_slashes', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::uploadFile + * @todo Implement testuploadFile(). + */ + public function testuploadFile() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'uploadFile', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::resizeImage + * @todo Implement testresizeImage(). + */ + public function testresizeImage() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'resizeImage', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::array_merges + * @todo Implement testarray_merges(). + */ + public function testarray_merges() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'array_merges', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::array_merge_2 + * @todo Implement testarray_merge_2(). + */ + public function testarray_merge_2() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'array_merge_2', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::generateUniqueID + * @todo Implement testgenerateUniqueID(). + */ + public function testgenerateUniqueID() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'generateUniqueID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::generateCode + * @todo Implement testgenerateCode(). + */ + public function testgenerateCode() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'generateCode', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::verifyUniqueID + * @todo Implement testverifyUniqueID(). + */ + public function testverifyUniqueID() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'verifyUniqueID', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::is_utf8 + * @todo Implement testis_utf8(). + */ + public function testis_utf8() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'is_utf8', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::CurDate + * @todo Implement testCurDate(). + */ + public function testCurDate() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'CurDate', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::getSystemConstants + * @todo Implement testgetSystemConstants(). + */ + public function testgetSystemConstants() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'getSystemConstants', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::capitalizeWords + * @todo Implement testcapitalizeWords(). + */ + public function testcapitalizeWords() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'capitalizeWords', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::unhtmlentities + * @todo Implement testunhtmlentities(). + */ + public function testunhtmlentities() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'unhtmlentities', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::xmlParser + * @todo Implement testxmlParser(). + */ + public function testxmlParser() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'xmlParser', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::_del_p + * @todo Implement test_del_p(). + */ + public function test_del_p() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( '_del_p', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::ary2xml + * @todo Implement testary2xml(). + */ + public function testary2xml() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'ary2xml', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::ins2ary + * @todo Implement testins2ary(). + */ + public function testins2ary() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'ins2ary', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::evalJScript + * @todo Implement testevalJScript(). + */ + public function testevalJScript() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'evalJScript', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::inflect + * @todo Implement testinflect(). + */ + public function testinflect() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'inflect', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::pr + * @todo Implement testpr(). + */ + public function testpr() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'pr', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::dump + * @todo Implement testdump(). + */ + public function testdump() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'dump', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::stripCDATA + * @todo Implement teststripCDATA(). + */ + public function teststripCDATA() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'stripCDATA', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::sys_get_temp_dir + * @todo Implement testsys_get_temp_dir(). + */ + public function testsys_get_temp_dir() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'sys_get_temp_dir', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::PMWSCompositeResponse + * @todo Implement testPMWSCompositeResponse(). + */ + public function testPMWSCompositeResponse() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'PMWSCompositeResponse', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::emailAddress + * @todo Implement testemailAddress(). + */ + public function testemailAddress() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'emailAddress', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::json_encode + * @todo Implement testjson_encode(). + */ + public function testjson_encode() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'json_encode', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::json_decode + * @todo Implement testjson_decode(). + */ + public function testjson_decode() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'json_decode', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::isHttpRequest + * @todo Implement testisHttpRequest(). + */ + public function testisHttpRequest() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'isHttpRequest', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::sendMail + * @todo Implement testsendMail(). + */ + public function testsendMail() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'sendMail', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::envelopEmailAddresses + * @todo Implement testenvelopEmailAddresses(). + */ + public function testenvelopEmailAddresses() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'envelopEmailAddresses', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::gettype + * @todo Implement testgettype(). + */ + public function testgettype() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'gettype', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::removeComments + * @todo Implement testremoveComments(). + */ + public function testremoveComments() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'removeComments', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::getMemoryUsage + * @todo Implement testgetMemoryUsage(). + */ + public function testgetMemoryUsage() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'getMemoryUsage', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::getFormatUserList + * @todo Implement testgetFormatUserList(). + */ + public function testgetFormatUserList() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'getFormatUserList', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::getModel + * @todo Implement testgetModel(). + */ + public function testgetModel() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'getModel', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::is_rwritable + * @todo Implement testis_rwritable(). + */ + public function testis_rwritable() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'is_rwritable', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::rglob + * @todo Implement testrglob(). + */ + public function testrglob() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'rglob', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::browser_detection + * @todo Implement testbrowser_detection(). + */ + public function testbrowser_detection() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'browser_detection', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::get_os_data + * @todo Implement testget_os_data(). + */ + public function testget_os_data() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'get_os_data', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::get_item_version + * @todo Implement testget_item_version(). + */ + public function testget_item_version() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'get_item_version', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::get_set_count + * @todo Implement testget_set_count(). + */ + public function testget_set_count() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'get_set_count', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::check_is_mobile + * @todo Implement testcheck_is_mobile(). + */ + public function testcheck_is_mobile() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'check_is_mobile', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::get_mobile_data + * @todo Implement testget_mobile_data(). + */ + public function testget_mobile_data() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'get_mobile_data', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::getBrowser + * @todo Implement testgetBrowser(). + */ + public function testgetBrowser() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'getBrowser', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::script_time + * @todo Implement testscript_time(). + */ + public function testscript_time() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'script_time', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::getDirectorySize + * @todo Implement testgetDirectorySize(). + */ + public function testgetDirectorySize() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'getDirectorySize', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::getCacheFileNameByPattern + * @todo Implement testgetCacheFileNameByPattern(). + */ + public function testgetCacheFileNameByPattern() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'getCacheFileNameByPattern', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::getCheckSum + * @todo Implement testgetCheckSum(). + */ + public function testgetCheckSum() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'getCheckSum', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::parse_ini_string + * @todo Implement testparse_ini_string(). + */ + public function testparse_ini_string() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'parse_ini_string', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::disableEnableINIvariable + * @todo Implement testdisableEnableINIvariable(). + */ + public function testdisableEnableINIvariable() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'disableEnableINIvariable', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::setINIvariable + * @todo Implement testsetINIvariable(). + */ + public function testsetINIvariable() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'setINIvariable', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::write_php_ini + * @todo Implement testwrite_php_ini(). + */ + public function testwrite_php_ini() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'write_php_ini', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::verifyWriteAccess + * @todo Implement testverifyWriteAccess(). + */ + public function testverifyWriteAccess() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'verifyWriteAccess', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::renderTemplate + * @todo Implement testrenderTemplate(). + */ + public function testrenderTemplate() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'renderTemplate', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::parseTemplate + * @todo Implement testparseTemplate(). + */ + public function testparseTemplate() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'parseTemplate', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::update_php_ini + * @todo Implement testupdate_php_ini(). + */ + public function testupdate_php_ini() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'update_php_ini', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::is_writable_r + * @todo Implement testis_writable_r(). + */ + public function testis_writable_r() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'is_writable_r', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::eprint + * @todo Implement testeprint(). + */ + public function testeprint() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'eprint', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::println + * @todo Implement testprintln(). + */ + public function testprintln() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'println', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::eprintln + * @todo Implement testeprintln(). + */ + public function testeprintln() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( 'eprintln', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G::__ + * @todo Implement test__(). + */ + public function test__() + { + if (class_exists('G')) { + $methods = get_class_methods( 'G'); + $this->assertTrue( in_array( '__', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classG_ErrorTest.php b/tests/gulliver/system/classG_ErrorTest.php new file mode 100644 index 000000000..574c4a079 --- /dev/null +++ b/tests/gulliver/system/classG_ErrorTest.php @@ -0,0 +1,37 @@ +assertTrue( in_array( 'G_Error', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers G_Error::errorMessage + * @todo Implement testerrorMessage(). + */ + public function testerrorMessage() + { + if (class_exists('G_Error')) { + $methods = get_class_methods( 'G_Error'); + $this->assertTrue( in_array( 'errorMessage', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classHelperTest.php b/tests/gulliver/system/classHelperTest.php new file mode 100644 index 000000000..210a5529e --- /dev/null +++ b/tests/gulliver/system/classHelperTest.php @@ -0,0 +1,109 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Helper::addFile + * @todo Implement testaddFile(). + */ + public function testaddFile() + { + if (class_exists('Helper')) { + $methods = get_class_methods( 'Helper'); + $this->assertTrue( in_array( 'addFile', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Helper::addContent + * @todo Implement testaddContent(). + */ + public function testaddContent() + { + if (class_exists('Helper')) { + $methods = get_class_methods( 'Helper'); + $this->assertTrue( in_array( 'addContent', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Helper::setContentType + * @todo Implement testsetContentType(). + */ + public function testsetContentType() + { + if (class_exists('Helper')) { + $methods = get_class_methods( 'Helper'); + $this->assertTrue( in_array( 'setContentType', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Helper::init + * @todo Implement testinit(). + */ + public function testinit() + { + if (class_exists('Helper')) { + $methods = get_class_methods( 'Helper'); + $this->assertTrue( in_array( 'init', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Helper::minify + * @todo Implement testminify(). + */ + public function testminify() + { + if (class_exists('Helper')) { + $methods = get_class_methods( 'Helper'); + $this->assertTrue( in_array( 'minify', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Helper::flush + * @todo Implement testflush(). + */ + public function testflush() + { + if (class_exists('Helper')) { + $methods = get_class_methods( 'Helper'); + $this->assertTrue( in_array( 'flush', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Helper::serve + * @todo Implement testserve(). + */ + public function testserve() + { + if (class_exists('Helper')) { + $methods = get_class_methods( 'Helper'); + $this->assertTrue( in_array( 'serve', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classHttpProxyControllerTest.php b/tests/gulliver/system/classHttpProxyControllerTest.php new file mode 100644 index 000000000..800256f0a --- /dev/null +++ b/tests/gulliver/system/classHttpProxyControllerTest.php @@ -0,0 +1,109 @@ +assertTrue( in_array( '__set', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers HttpProxyController::__get + * @todo Implement test__get(). + */ + public function test__get() + { + if (class_exists('HttpProxyController')) { + $methods = get_class_methods( 'HttpProxyController'); + $this->assertTrue( in_array( '__get', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers HttpProxyController::__isset + * @todo Implement test__isset(). + */ + public function test__isset() + { + if (class_exists('HttpProxyController')) { + $methods = get_class_methods( 'HttpProxyController'); + $this->assertTrue( in_array( '__isset', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers HttpProxyController::__unset + * @todo Implement test__unset(). + */ + public function test__unset() + { + if (class_exists('HttpProxyController')) { + $methods = get_class_methods( 'HttpProxyController'); + $this->assertTrue( in_array( '__unset', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers HttpProxyController::call + * @todo Implement testcall(). + */ + public function testcall() + { + if (class_exists('HttpProxyController')) { + $methods = get_class_methods( 'HttpProxyController'); + $this->assertTrue( in_array( 'call', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers HttpProxyController::setHttpRequestData + * @todo Implement testsetHttpRequestData(). + */ + public function testsetHttpRequestData() + { + if (class_exists('HttpProxyController')) { + $methods = get_class_methods( 'HttpProxyController'); + $this->assertTrue( in_array( 'setHttpRequestData', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers HttpProxyController::setJsonResponse + * @todo Implement testsetJsonResponse(). + */ + public function testsetJsonResponse() + { + if (class_exists('HttpProxyController')) { + $methods = get_class_methods( 'HttpProxyController'); + $this->assertTrue( in_array( 'setJsonResponse', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers HttpProxyController::setSendResponse + * @todo Implement testsetSendResponse(). + */ + public function testsetSendResponse() + { + if (class_exists('HttpProxyController')) { + $methods = get_class_methods( 'HttpProxyController'); + $this->assertTrue( in_array( 'setSendResponse', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classMenuTest.php b/tests/gulliver/system/classMenuTest.php new file mode 100644 index 000000000..fdec1563d --- /dev/null +++ b/tests/gulliver/system/classMenuTest.php @@ -0,0 +1,145 @@ +assertTrue( in_array( 'SetClass', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Menu::Load + * @todo Implement testLoad(). + */ + public function testLoad() + { + if (class_exists('Menu')) { + $methods = get_class_methods( 'Menu'); + $this->assertTrue( in_array( 'Load', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Menu::OptionCount + * @todo Implement testOptionCount(). + */ + public function testOptionCount() + { + if (class_exists('Menu')) { + $methods = get_class_methods( 'Menu'); + $this->assertTrue( in_array( 'OptionCount', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Menu::AddOption + * @todo Implement testAddOption(). + */ + public function testAddOption() + { + if (class_exists('Menu')) { + $methods = get_class_methods( 'Menu'); + $this->assertTrue( in_array( 'AddOption', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Menu::AddIdOption + * @todo Implement testAddIdOption(). + */ + public function testAddIdOption() + { + if (class_exists('Menu')) { + $methods = get_class_methods( 'Menu'); + $this->assertTrue( in_array( 'AddIdOption', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Menu::AddRawOption + * @todo Implement testAddRawOption(). + */ + public function testAddRawOption() + { + if (class_exists('Menu')) { + $methods = get_class_methods( 'Menu'); + $this->assertTrue( in_array( 'AddRawOption', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Menu::AddIdRawOption + * @todo Implement testAddIdRawOption(). + */ + public function testAddIdRawOption() + { + if (class_exists('Menu')) { + $methods = get_class_methods( 'Menu'); + $this->assertTrue( in_array( 'AddIdRawOption', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Menu::DisableOptionPos + * @todo Implement testDisableOptionPos(). + */ + public function testDisableOptionPos() + { + if (class_exists('Menu')) { + $methods = get_class_methods( 'Menu'); + $this->assertTrue( in_array( 'DisableOptionPos', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Menu::DisableOptionId + * @todo Implement testDisableOptionId(). + */ + public function testDisableOptionId() + { + if (class_exists('Menu')) { + $methods = get_class_methods( 'Menu'); + $this->assertTrue( in_array( 'DisableOptionId', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Menu::RenderOption + * @todo Implement testRenderOption(). + */ + public function testRenderOption() + { + if (class_exists('Menu')) { + $methods = get_class_methods( 'Menu'); + $this->assertTrue( in_array( 'RenderOption', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Menu::generateArrayForTemplate + * @todo Implement testgenerateArrayForTemplate(). + */ + public function testgenerateArrayForTemplate() + { + if (class_exists('Menu')) { + $methods = get_class_methods( 'Menu'); + $this->assertTrue( in_array( 'generateArrayForTemplate', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classNTLMSoapClientTest.php b/tests/gulliver/system/classNTLMSoapClientTest.php new file mode 100644 index 000000000..48b0c68b3 --- /dev/null +++ b/tests/gulliver/system/classNTLMSoapClientTest.php @@ -0,0 +1,37 @@ +assertTrue( in_array( '__doRequest', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers NTLMSoapClient::__getLastRequestHeaders + * @todo Implement test__getLastRequestHeaders(). + */ + public function test__getLastRequestHeaders() + { + if (class_exists('NTLMSoapClient')) { + $methods = get_class_methods( 'NTLMSoapClient'); + $this->assertTrue( in_array( '__getLastRequestHeaders', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classPHPSQLParserTest.php b/tests/gulliver/system/classPHPSQLParserTest.php new file mode 100644 index 000000000..09fdeabbf --- /dev/null +++ b/tests/gulliver/system/classPHPSQLParserTest.php @@ -0,0 +1,217 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers PHPSQLParser::parse + * @todo Implement testparse(). + */ + public function testparse() + { + if (class_exists('PHPSQLParser')) { + $methods = get_class_methods( 'PHPSQLParser'); + $this->assertTrue( in_array( 'parse', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers PHPSQLParser::count_paren + * @todo Implement testcount_paren(). + */ + public function testcount_paren() + { + if (class_exists('PHPSQLParser')) { + $methods = get_class_methods( 'PHPSQLParser'); + $this->assertTrue( in_array( 'count_paren', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers PHPSQLParser::count_backtick + * @todo Implement testcount_backtick(). + */ + public function testcount_backtick() + { + if (class_exists('PHPSQLParser')) { + $methods = get_class_methods( 'PHPSQLParser'); + $this->assertTrue( in_array( 'count_backtick', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers PHPSQLParser::split_sql + * @todo Implement testsplit_sql(). + */ + public function testsplit_sql() + { + if (class_exists('PHPSQLParser')) { + $methods = get_class_methods( 'PHPSQLParser'); + $this->assertTrue( in_array( 'split_sql', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers PHPSQLParser::process_sql + * @todo Implement testprocess_sql(). + */ + public function testprocess_sql() + { + if (class_exists('PHPSQLParser')) { + $methods = get_class_methods( 'PHPSQLParser'); + $this->assertTrue( in_array( 'process_sql', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers PHPSQLParser::process_set_list + * @todo Implement testprocess_set_list(). + */ + public function testprocess_set_list() + { + if (class_exists('PHPSQLParser')) { + $methods = get_class_methods( 'PHPSQLParser'); + $this->assertTrue( in_array( 'process_set_list', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers PHPSQLParser::process_limit + * @todo Implement testprocess_limit(). + */ + public function testprocess_limit() + { + if (class_exists('PHPSQLParser')) { + $methods = get_class_methods( 'PHPSQLParser'); + $this->assertTrue( in_array( 'process_limit', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers PHPSQLParser::process_select + * @todo Implement testprocess_select(). + */ + public function testprocess_select() + { + if (class_exists('PHPSQLParser')) { + $methods = get_class_methods( 'PHPSQLParser'); + $this->assertTrue( in_array( 'process_select', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers PHPSQLParser::process_select_expr + * @todo Implement testprocess_select_expr(). + */ + public function testprocess_select_expr() + { + if (class_exists('PHPSQLParser')) { + $methods = get_class_methods( 'PHPSQLParser'); + $this->assertTrue( in_array( 'process_select_expr', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers PHPSQLParser::process_from + * @todo Implement testprocess_from(). + */ + public function testprocess_from() + { + if (class_exists('PHPSQLParser')) { + $methods = get_class_methods( 'PHPSQLParser'); + $this->assertTrue( in_array( 'process_from', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers PHPSQLParser::process_group + * @todo Implement testprocess_group(). + */ + public function testprocess_group() + { + if (class_exists('PHPSQLParser')) { + $methods = get_class_methods( 'PHPSQLParser'); + $this->assertTrue( in_array( 'process_group', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers PHPSQLParser::process_expr_list + * @todo Implement testprocess_expr_list(). + */ + public function testprocess_expr_list() + { + if (class_exists('PHPSQLParser')) { + $methods = get_class_methods( 'PHPSQLParser'); + $this->assertTrue( in_array( 'process_expr_list', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers PHPSQLParser::process_update + * @todo Implement testprocess_update(). + */ + public function testprocess_update() + { + if (class_exists('PHPSQLParser')) { + $methods = get_class_methods( 'PHPSQLParser'); + $this->assertTrue( in_array( 'process_update', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers PHPSQLParser::process_delete + * @todo Implement testprocess_delete(). + */ + public function testprocess_delete() + { + if (class_exists('PHPSQLParser')) { + $methods = get_class_methods( 'PHPSQLParser'); + $this->assertTrue( in_array( 'process_delete', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers PHPSQLParser::process_insert + * @todo Implement testprocess_insert(). + */ + public function testprocess_insert() + { + if (class_exists('PHPSQLParser')) { + $methods = get_class_methods( 'PHPSQLParser'); + $this->assertTrue( in_array( 'process_insert', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers PHPSQLParser::load_reserved_words + * @todo Implement testload_reserved_words(). + */ + public function testload_reserved_words() + { + if (class_exists('PHPSQLParser')) { + $methods = get_class_methods( 'PHPSQLParser'); + $this->assertTrue( in_array( 'load_reserved_words', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classPMExceptionTest.php b/tests/gulliver/system/classPMExceptionTest.php new file mode 100644 index 000000000..4dcf6e6be --- /dev/null +++ b/tests/gulliver/system/classPMExceptionTest.php @@ -0,0 +1,37 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers PMException::__toString + * @todo Implement test__toString(). + */ + public function test__toString() + { + if (class_exists('PMException')) { + $methods = get_class_methods( 'PMException'); + $this->assertTrue( in_array( '__toString', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classPMServiceNTLMSoapClientTest.php b/tests/gulliver/system/classPMServiceNTLMSoapClientTest.php new file mode 100644 index 000000000..be957fc09 --- /dev/null +++ b/tests/gulliver/system/classPMServiceNTLMSoapClientTest.php @@ -0,0 +1,25 @@ +assertTrue( in_array( 'setAuthClient', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classPMServiceProviderNTLMStreamTest.php b/tests/gulliver/system/classPMServiceProviderNTLMStreamTest.php new file mode 100644 index 000000000..223064b7d --- /dev/null +++ b/tests/gulliver/system/classPMServiceProviderNTLMStreamTest.php @@ -0,0 +1,49 @@ +assertTrue( in_array( 'getuser', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers PMServiceProviderNTLMStream::getpassword + * @todo Implement testgetpassword(). + */ + public function testgetpassword() + { + if (class_exists('PMServiceProviderNTLMStream')) { + $methods = get_class_methods( 'PMServiceProviderNTLMStream'); + $this->assertTrue( in_array( 'getpassword', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers PMServiceProviderNTLMStream::setAuthStream + * @todo Implement testsetAuthStream(). + */ + public function testsetAuthStream() + { + if (class_exists('PMServiceProviderNTLMStream')) { + $methods = get_class_methods( 'PMServiceProviderNTLMStream'); + $this->assertTrue( in_array( 'setAuthStream', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classPublisherTest.php b/tests/gulliver/system/classPublisherTest.php new file mode 100644 index 000000000..0171d8e3d --- /dev/null +++ b/tests/gulliver/system/classPublisherTest.php @@ -0,0 +1,49 @@ +assertTrue( in_array( 'AddContent', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Publisher::RenderContent + * @todo Implement testRenderContent(). + */ + public function testRenderContent() + { + if (class_exists('Publisher')) { + $methods = get_class_methods( 'Publisher'); + $this->assertTrue( in_array( 'RenderContent', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Publisher::RenderContent0 + * @todo Implement testRenderContent0(). + */ + public function testRenderContent0() + { + if (class_exists('Publisher')) { + $methods = get_class_methods( 'Publisher'); + $this->assertTrue( in_array( 'RenderContent0', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classRBACTest.php b/tests/gulliver/system/classRBACTest.php new file mode 100644 index 000000000..29c9805c5 --- /dev/null +++ b/tests/gulliver/system/classRBACTest.php @@ -0,0 +1,685 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::getSingleton + * @todo Implement testgetSingleton(). + */ + public function testgetSingleton() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'getSingleton', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::initRBAC + * @todo Implement testinitRBAC(). + */ + public function testinitRBAC() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'initRBAC', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::loadUserRolePermission + * @todo Implement testloadUserRolePermission(). + */ + public function testloadUserRolePermission() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'loadUserRolePermission', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::checkAutomaticRegister + * @todo Implement testcheckAutomaticRegister(). + */ + public function testcheckAutomaticRegister() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'checkAutomaticRegister', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::VerifyWithOtherAuthenticationSource + * @todo Implement testVerifyWithOtherAuthenticationSource(). + */ + public function testVerifyWithOtherAuthenticationSource() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'VerifyWithOtherAuthenticationSource', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::VerifyLogin + * @todo Implement testVerifyLogin(). + */ + public function testVerifyLogin() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'VerifyLogin', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::verifyUser + * @todo Implement testverifyUser(). + */ + public function testverifyUser() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'verifyUser', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::verifyUserId + * @todo Implement testverifyUserId(). + */ + public function testverifyUserId() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'verifyUserId', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::userCanAccess + * @todo Implement testuserCanAccess(). + */ + public function testuserCanAccess() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'userCanAccess', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::createUser + * @todo Implement testcreateUser(). + */ + public function testcreateUser() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'createUser', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::updateUser + * @todo Implement testupdateUser(). + */ + public function testupdateUser() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'updateUser', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::assignRoleToUser + * @todo Implement testassignRoleToUser(). + */ + public function testassignRoleToUser() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'assignRoleToUser', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::removeRolesFromUser + * @todo Implement testremoveRolesFromUser(). + */ + public function testremoveRolesFromUser() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'removeRolesFromUser', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::changeUserStatus + * @todo Implement testchangeUserStatus(). + */ + public function testchangeUserStatus() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'changeUserStatus', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::removeUser + * @todo Implement testremoveUser(). + */ + public function testremoveUser() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'removeUser', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::load + * @todo Implement testload(). + */ + public function testload() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'load', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::createPermision + * @todo Implement testcreatePermision(). + */ + public function testcreatePermision() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'createPermision', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::listAllRoles + * @todo Implement testlistAllRoles(). + */ + public function testlistAllRoles() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'listAllRoles', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::getAllRoles + * @todo Implement testgetAllRoles(). + */ + public function testgetAllRoles() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'getAllRoles', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::getAllRolesFilter + * @todo Implement testgetAllRolesFilter(). + */ + public function testgetAllRolesFilter() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'getAllRolesFilter', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::listAllPermissions + * @todo Implement testlistAllPermissions(). + */ + public function testlistAllPermissions() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'listAllPermissions', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::createRole + * @todo Implement testcreateRole(). + */ + public function testcreateRole() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'createRole', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::removeRole + * @todo Implement testremoveRole(). + */ + public function testremoveRole() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'removeRole', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::verifyNewRole + * @todo Implement testverifyNewRole(). + */ + public function testverifyNewRole() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'verifyNewRole', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::updateRole + * @todo Implement testupdateRole(). + */ + public function testupdateRole() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'updateRole', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::loadById + * @todo Implement testloadById(). + */ + public function testloadById() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'loadById', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::getRoleUsers + * @todo Implement testgetRoleUsers(). + */ + public function testgetRoleUsers() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'getRoleUsers', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::getAllUsersByRole + * @todo Implement testgetAllUsersByRole(). + */ + public function testgetAllUsersByRole() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'getAllUsersByRole', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::getAllUsersByDepartment + * @todo Implement testgetAllUsersByDepartment(). + */ + public function testgetAllUsersByDepartment() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'getAllUsersByDepartment', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::getRoleCode + * @todo Implement testgetRoleCode(). + */ + public function testgetRoleCode() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'getRoleCode', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::deleteUserRole + * @todo Implement testdeleteUserRole(). + */ + public function testdeleteUserRole() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'deleteUserRole', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::getAllUsers + * @todo Implement testgetAllUsers(). + */ + public function testgetAllUsers() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'getAllUsers', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::assignUserToRole + * @todo Implement testassignUserToRole(). + */ + public function testassignUserToRole() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'assignUserToRole', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::getRolePermissions + * @todo Implement testgetRolePermissions(). + */ + public function testgetRolePermissions() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'getRolePermissions', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::getAllPermissions + * @todo Implement testgetAllPermissions(). + */ + public function testgetAllPermissions() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'getAllPermissions', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::assignPermissionRole + * @todo Implement testassignPermissionRole(). + */ + public function testassignPermissionRole() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'assignPermissionRole', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::assignPermissionToRole + * @todo Implement testassignPermissionToRole(). + */ + public function testassignPermissionToRole() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'assignPermissionToRole', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::deletePermissionRole + * @todo Implement testdeletePermissionRole(). + */ + public function testdeletePermissionRole() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'deletePermissionRole', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::numUsersWithRole + * @todo Implement testnumUsersWithRole(). + */ + public function testnumUsersWithRole() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'numUsersWithRole', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::createSystem + * @todo Implement testcreateSystem(). + */ + public function testcreateSystem() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'createSystem', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::verifyByCode + * @todo Implement testverifyByCode(). + */ + public function testverifyByCode() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'verifyByCode', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::getAllAuthSources + * @todo Implement testgetAllAuthSources(). + */ + public function testgetAllAuthSources() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'getAllAuthSources', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::getAllAuthSourcesByUser + * @todo Implement testgetAllAuthSourcesByUser(). + */ + public function testgetAllAuthSourcesByUser() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'getAllAuthSourcesByUser', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::getAuthenticationSources + * @todo Implement testgetAuthenticationSources(). + */ + public function testgetAuthenticationSources() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'getAuthenticationSources', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::getAuthSource + * @todo Implement testgetAuthSource(). + */ + public function testgetAuthSource() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'getAuthSource', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::createAuthSource + * @todo Implement testcreateAuthSource(). + */ + public function testcreateAuthSource() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'createAuthSource', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::updateAuthSource + * @todo Implement testupdateAuthSource(). + */ + public function testupdateAuthSource() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'updateAuthSource', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::removeAuthSource + * @todo Implement testremoveAuthSource(). + */ + public function testremoveAuthSource() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'removeAuthSource', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::getAllUsersByAuthSource + * @todo Implement testgetAllUsersByAuthSource(). + */ + public function testgetAllUsersByAuthSource() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'getAllUsersByAuthSource', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::getListUsersByAuthSource + * @todo Implement testgetListUsersByAuthSource(). + */ + public function testgetListUsersByAuthSource() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'getListUsersByAuthSource', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::searchUsers + * @todo Implement testsearchUsers(). + */ + public function testsearchUsers() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'searchUsers', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::requirePermissions + * @todo Implement testrequirePermissions(). + */ + public function testrequirePermissions() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'requirePermissions', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::getAllFiles + * @todo Implement testgetAllFiles(). + */ + public function testgetAllFiles() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'getAllFiles', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::getFilesTimestamp + * @todo Implement testgetFilesTimestamp(). + */ + public function testgetFilesTimestamp() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'getFilesTimestamp', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RBAC::cleanSessionFiles + * @todo Implement testcleanSessionFiles(). + */ + public function testcleanSessionFiles() + { + if (class_exists('RBAC')) { + $methods = get_class_methods( 'RBAC'); + $this->assertTrue( in_array( 'cleanSessionFiles', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classRestClientTest.php b/tests/gulliver/system/classRestClientTest.php new file mode 100644 index 000000000..ad3930a58 --- /dev/null +++ b/tests/gulliver/system/classRestClientTest.php @@ -0,0 +1,277 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RestClient::execute + * @todo Implement testexecute(). + */ + public function testexecute() + { + if (class_exists('RestClient')) { + $methods = get_class_methods( 'RestClient'); + $this->assertTrue( in_array( 'execute', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RestClient::treatURL + * @todo Implement testtreatURL(). + */ + public function testtreatURL() + { + if (class_exists('RestClient')) { + $methods = get_class_methods( 'RestClient'); + $this->assertTrue( in_array( 'treatURL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RestClient::treatResponse + * @todo Implement testtreatResponse(). + */ + public function testtreatResponse() + { + if (class_exists('RestClient')) { + $methods = get_class_methods( 'RestClient'); + $this->assertTrue( in_array( 'treatResponse', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RestClient::getHeaders + * @todo Implement testgetHeaders(). + */ + public function testgetHeaders() + { + if (class_exists('RestClient')) { + $methods = get_class_methods( 'RestClient'); + $this->assertTrue( in_array( 'getHeaders', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RestClient::getResponse + * @todo Implement testgetResponse(). + */ + public function testgetResponse() + { + if (class_exists('RestClient')) { + $methods = get_class_methods( 'RestClient'); + $this->assertTrue( in_array( 'getResponse', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RestClient::getResponseCode + * @todo Implement testgetResponseCode(). + */ + public function testgetResponseCode() + { + if (class_exists('RestClient')) { + $methods = get_class_methods( 'RestClient'); + $this->assertTrue( in_array( 'getResponseCode', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RestClient::getResponseMessage + * @todo Implement testgetResponseMessage(). + */ + public function testgetResponseMessage() + { + if (class_exists('RestClient')) { + $methods = get_class_methods( 'RestClient'); + $this->assertTrue( in_array( 'getResponseMessage', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RestClient::getResponseContentType + * @todo Implement testgetResponseContentType(). + */ + public function testgetResponseContentType() + { + if (class_exists('RestClient')) { + $methods = get_class_methods( 'RestClient'); + $this->assertTrue( in_array( 'getResponseContentType', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RestClient::setNoFollow + * @todo Implement testsetNoFollow(). + */ + public function testsetNoFollow() + { + if (class_exists('RestClient')) { + $methods = get_class_methods( 'RestClient'); + $this->assertTrue( in_array( 'setNoFollow', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RestClient::close + * @todo Implement testclose(). + */ + public function testclose() + { + if (class_exists('RestClient')) { + $methods = get_class_methods( 'RestClient'); + $this->assertTrue( in_array( 'close', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RestClient::setUrl + * @todo Implement testsetUrl(). + */ + public function testsetUrl() + { + if (class_exists('RestClient')) { + $methods = get_class_methods( 'RestClient'); + $this->assertTrue( in_array( 'setUrl', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RestClient::setContentType + * @todo Implement testsetContentType(). + */ + public function testsetContentType() + { + if (class_exists('RestClient')) { + $methods = get_class_methods( 'RestClient'); + $this->assertTrue( in_array( 'setContentType', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RestClient::setCredentials + * @todo Implement testsetCredentials(). + */ + public function testsetCredentials() + { + if (class_exists('RestClient')) { + $methods = get_class_methods( 'RestClient'); + $this->assertTrue( in_array( 'setCredentials', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RestClient::setMethod + * @todo Implement testsetMethod(). + */ + public function testsetMethod() + { + if (class_exists('RestClient')) { + $methods = get_class_methods( 'RestClient'); + $this->assertTrue( in_array( 'setMethod', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RestClient::setParameters + * @todo Implement testsetParameters(). + */ + public function testsetParameters() + { + if (class_exists('RestClient')) { + $methods = get_class_methods( 'RestClient'); + $this->assertTrue( in_array( 'setParameters', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RestClient::createClient + * @todo Implement testcreateClient(). + */ + public function testcreateClient() + { + if (class_exists('RestClient')) { + $methods = get_class_methods( 'RestClient'); + $this->assertTrue( in_array( 'createClient', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RestClient::post + * @todo Implement testpost(). + */ + public function testpost() + { + if (class_exists('RestClient')) { + $methods = get_class_methods( 'RestClient'); + $this->assertTrue( in_array( 'post', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RestClient::put + * @todo Implement testput(). + */ + public function testput() + { + if (class_exists('RestClient')) { + $methods = get_class_methods( 'RestClient'); + $this->assertTrue( in_array( 'put', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RestClient::get + * @todo Implement testget(). + */ + public function testget() + { + if (class_exists('RestClient')) { + $methods = get_class_methods( 'RestClient'); + $this->assertTrue( in_array( 'get', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RestClient::delete + * @todo Implement testdelete(). + */ + public function testdelete() + { + if (class_exists('RestClient')) { + $methods = get_class_methods( 'RestClient'); + $this->assertTrue( in_array( 'delete', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers RestClient::call + * @todo Implement testcall(). + */ + public function testcall() + { + if (class_exists('RestClient')) { + $methods = get_class_methods( 'RestClient'); + $this->assertTrue( in_array( 'call', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classTableTest.php b/tests/gulliver/system/classTableTest.php new file mode 100644 index 000000000..e2a997404 --- /dev/null +++ b/tests/gulliver/system/classTableTest.php @@ -0,0 +1,289 @@ +assertTrue( in_array( 'Table', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Table::SetTo + * @todo Implement testSetTo(). + */ + public function testSetTo() + { + if (class_exists('Table')) { + $methods = get_class_methods( 'Table'); + $this->assertTrue( in_array( 'SetTo', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Table::SetSource + * @todo Implement testSetSource(). + */ + public function testSetSource() + { + if (class_exists('Table')) { + $methods = get_class_methods( 'Table'); + $this->assertTrue( in_array( 'SetSource', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Table::GetSource + * @todo Implement testGetSource(). + */ + public function testGetSource() + { + if (class_exists('Table')) { + $methods = get_class_methods( 'Table'); + $this->assertTrue( in_array( 'GetSource', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Table::TotalCount + * @todo Implement testTotalCount(). + */ + public function testTotalCount() + { + if (class_exists('Table')) { + $methods = get_class_methods( 'Table'); + $this->assertTrue( in_array( 'TotalCount', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Table::Count + * @todo Implement testCount(). + */ + public function testCount() + { + if (class_exists('Table')) { + $methods = get_class_methods( 'Table'); + $this->assertTrue( in_array( 'Count', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Table::CurRow + * @todo Implement testCurRow(). + */ + public function testCurRow() + { + if (class_exists('Table')) { + $methods = get_class_methods( 'Table'); + $this->assertTrue( in_array( 'CurRow', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Table::ColumnCount + * @todo Implement testColumnCount(). + */ + public function testColumnCount() + { + if (class_exists('Table')) { + $methods = get_class_methods( 'Table'); + $this->assertTrue( in_array( 'ColumnCount', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Table::Read + * @todo Implement testRead(). + */ + public function testRead() + { + if (class_exists('Table')) { + $methods = get_class_methods( 'Table'); + $this->assertTrue( in_array( 'Read', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Table::Seek + * @todo Implement testSeek(). + */ + public function testSeek() + { + if (class_exists('Table')) { + $methods = get_class_methods( 'Table'); + $this->assertTrue( in_array( 'Seek', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Table::MoveFirst + * @todo Implement testMoveFirst(). + */ + public function testMoveFirst() + { + if (class_exists('Table')) { + $methods = get_class_methods( 'Table'); + $this->assertTrue( in_array( 'MoveFirst', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Table::EOF + * @todo Implement testEOF(). + */ + public function testEOF() + { + if (class_exists('Table')) { + $methods = get_class_methods( 'Table'); + $this->assertTrue( in_array( 'EOF', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Table::AddColumn + * @todo Implement testAddColumn(). + */ + public function testAddColumn() + { + if (class_exists('Table')) { + $methods = get_class_methods( 'Table'); + $this->assertTrue( in_array( 'AddColumn', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Table::AddRawColumn + * @todo Implement testAddRawColumn(). + */ + public function testAddRawColumn() + { + if (class_exists('Table')) { + $methods = get_class_methods( 'Table'); + $this->assertTrue( in_array( 'AddRawColumn', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Table::RenderTitle + * @todo Implement testRenderTitle(). + */ + public function testRenderTitle() + { + if (class_exists('Table')) { + $methods = get_class_methods( 'Table'); + $this->assertTrue( in_array( 'RenderTitle', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Table::RenderTitle_ajax + * @todo Implement testRenderTitle_ajax(). + */ + public function testRenderTitle_ajax() + { + if (class_exists('Table')) { + $methods = get_class_methods( 'Table'); + $this->assertTrue( in_array( 'RenderTitle_ajax', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Table::RenderTitle2 + * @todo Implement testRenderTitle2(). + */ + public function testRenderTitle2() + { + if (class_exists('Table')) { + $methods = get_class_methods( 'Table'); + $this->assertTrue( in_array( 'RenderTitle2', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Table::RenderColumn + * @todo Implement testRenderColumn(). + */ + public function testRenderColumn() + { + if (class_exists('Table')) { + $methods = get_class_methods( 'Table'); + $this->assertTrue( in_array( 'RenderColumn', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Table::SetAction + * @todo Implement testSetAction(). + */ + public function testSetAction() + { + if (class_exists('Table')) { + $methods = get_class_methods( 'Table'); + $this->assertTrue( in_array( 'SetAction', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Table::setTranslate + * @todo Implement testsetTranslate(). + */ + public function testsetTranslate() + { + if (class_exists('Table')) { + $methods = get_class_methods( 'Table'); + $this->assertTrue( in_array( 'setTranslate', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Table::translateValue + * @todo Implement testtranslateValue(). + */ + public function testtranslateValue() + { + if (class_exists('Table')) { + $methods = get_class_methods( 'Table'); + $this->assertTrue( in_array( 'translateValue', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Table::setContext + * @todo Implement testsetContext(). + */ + public function testsetContext() + { + if (class_exists('Table')) { + $methods = get_class_methods( 'Table'); + $this->assertTrue( in_array( 'setContext', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Table::ParsingFromHtml + * @todo Implement testParsingFromHtml(). + */ + public function testParsingFromHtml() + { + if (class_exists('Table')) { + $methods = get_class_methods( 'Table'); + $this->assertTrue( in_array( 'ParsingFromHtml', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classTemplatePowerParserTest.php b/tests/gulliver/system/classTemplatePowerParserTest.php new file mode 100644 index 000000000..aa949b11d --- /dev/null +++ b/tests/gulliver/system/classTemplatePowerParserTest.php @@ -0,0 +1,109 @@ +assertTrue( in_array( 'TemplatePowerParser', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePowerParser::__errorAlert + * @todo Implement test__errorAlert(). + */ + public function test__errorAlert() + { + if (class_exists('TemplatePowerParser')) { + $methods = get_class_methods( 'TemplatePowerParser'); + $this->assertTrue( in_array( '__errorAlert', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePowerParser::__prepare + * @todo Implement test__prepare(). + */ + public function test__prepare() + { + if (class_exists('TemplatePowerParser')) { + $methods = get_class_methods( 'TemplatePowerParser'); + $this->assertTrue( in_array( '__prepare', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePowerParser::__cleanUp + * @todo Implement test__cleanUp(). + */ + public function test__cleanUp() + { + if (class_exists('TemplatePowerParser')) { + $methods = get_class_methods( 'TemplatePowerParser'); + $this->assertTrue( in_array( '__cleanUp', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePowerParser::__prepareTemplate + * @todo Implement test__prepareTemplate(). + */ + public function test__prepareTemplate() + { + if (class_exists('TemplatePowerParser')) { + $methods = get_class_methods( 'TemplatePowerParser'); + $this->assertTrue( in_array( '__prepareTemplate', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePowerParser::__parseTemplate + * @todo Implement test__parseTemplate(). + */ + public function test__parseTemplate() + { + if (class_exists('TemplatePowerParser')) { + $methods = get_class_methods( 'TemplatePowerParser'); + $this->assertTrue( in_array( '__parseTemplate', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePowerParser::version + * @todo Implement testversion(). + */ + public function testversion() + { + if (class_exists('TemplatePowerParser')) { + $methods = get_class_methods( 'TemplatePowerParser'); + $this->assertTrue( in_array( 'version', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePowerParser::assignInclude + * @todo Implement testassignInclude(). + */ + public function testassignInclude() + { + if (class_exists('TemplatePowerParser')) { + $methods = get_class_methods( 'TemplatePowerParser'); + $this->assertTrue( in_array( 'assignInclude', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classTemplatePowerTest.php b/tests/gulliver/system/classTemplatePowerTest.php new file mode 100644 index 000000000..fc7c5f43a --- /dev/null +++ b/tests/gulliver/system/classTemplatePowerTest.php @@ -0,0 +1,217 @@ +assertTrue( in_array( 'TemplatePower', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePower::__deSerializeTPL + * @todo Implement test__deSerializeTPL(). + */ + public function test__deSerializeTPL() + { + if (class_exists('TemplatePower')) { + $methods = get_class_methods( 'TemplatePower'); + $this->assertTrue( in_array( '__deSerializeTPL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePower::__makeContentRoot + * @todo Implement test__makeContentRoot(). + */ + public function test__makeContentRoot() + { + if (class_exists('TemplatePower')) { + $methods = get_class_methods( 'TemplatePower'); + $this->assertTrue( in_array( '__makeContentRoot', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePower::__assign + * @todo Implement test__assign(). + */ + public function test__assign() + { + if (class_exists('TemplatePower')) { + $methods = get_class_methods( 'TemplatePower'); + $this->assertTrue( in_array( '__assign', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePower::__assignGlobal + * @todo Implement test__assignGlobal(). + */ + public function test__assignGlobal() + { + if (class_exists('TemplatePower')) { + $methods = get_class_methods( 'TemplatePower'); + $this->assertTrue( in_array( '__assignGlobal', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePower::__outputContent + * @todo Implement test__outputContent(). + */ + public function test__outputContent() + { + if (class_exists('TemplatePower')) { + $methods = get_class_methods( 'TemplatePower'); + $this->assertTrue( in_array( '__outputContent', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePower::__printVars + * @todo Implement test__printVars(). + */ + public function test__printVars() + { + if (class_exists('TemplatePower')) { + $methods = get_class_methods( 'TemplatePower'); + $this->assertTrue( in_array( '__printVars', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePower::serializedBase + * @todo Implement testserializedBase(). + */ + public function testserializedBase() + { + if (class_exists('TemplatePower')) { + $methods = get_class_methods( 'TemplatePower'); + $this->assertTrue( in_array( 'serializedBase', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePower::showUnAssigned + * @todo Implement testshowUnAssigned(). + */ + public function testshowUnAssigned() + { + if (class_exists('TemplatePower')) { + $methods = get_class_methods( 'TemplatePower'); + $this->assertTrue( in_array( 'showUnAssigned', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePower::prepare + * @todo Implement testprepare(). + */ + public function testprepare() + { + if (class_exists('TemplatePower')) { + $methods = get_class_methods( 'TemplatePower'); + $this->assertTrue( in_array( 'prepare', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePower::newBlock + * @todo Implement testnewBlock(). + */ + public function testnewBlock() + { + if (class_exists('TemplatePower')) { + $methods = get_class_methods( 'TemplatePower'); + $this->assertTrue( in_array( 'newBlock', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePower::assignGlobal + * @todo Implement testassignGlobal(). + */ + public function testassignGlobal() + { + if (class_exists('TemplatePower')) { + $methods = get_class_methods( 'TemplatePower'); + $this->assertTrue( in_array( 'assignGlobal', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePower::assign + * @todo Implement testassign(). + */ + public function testassign() + { + if (class_exists('TemplatePower')) { + $methods = get_class_methods( 'TemplatePower'); + $this->assertTrue( in_array( 'assign', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePower::gotoBlock + * @todo Implement testgotoBlock(). + */ + public function testgotoBlock() + { + if (class_exists('TemplatePower')) { + $methods = get_class_methods( 'TemplatePower'); + $this->assertTrue( in_array( 'gotoBlock', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePower::getVarValue + * @todo Implement testgetVarValue(). + */ + public function testgetVarValue() + { + if (class_exists('TemplatePower')) { + $methods = get_class_methods( 'TemplatePower'); + $this->assertTrue( in_array( 'getVarValue', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePower::printToScreen + * @todo Implement testprintToScreen(). + */ + public function testprintToScreen() + { + if (class_exists('TemplatePower')) { + $methods = get_class_methods( 'TemplatePower'); + $this->assertTrue( in_array( 'printToScreen', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers TemplatePower::getOutputContent + * @todo Implement testgetOutputContent(). + */ + public function testgetOutputContent() + { + if (class_exists('TemplatePower')) { + $methods = get_class_methods( 'TemplatePower'); + $this->assertTrue( in_array( 'getOutputContent', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classTreeTest.php b/tests/gulliver/system/classTreeTest.php new file mode 100644 index 000000000..6890535cd --- /dev/null +++ b/tests/gulliver/system/classTreeTest.php @@ -0,0 +1,85 @@ +assertTrue( in_array( 'Tree', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Tree::addChild + * @todo Implement testaddChild(). + */ + public function testaddChild() + { + if (class_exists('Tree')) { + $methods = get_class_methods( 'Tree'); + $this->assertTrue( in_array( 'addChild', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Tree::printPlus + * @todo Implement testprintPlus(). + */ + public function testprintPlus() + { + if (class_exists('Tree')) { + $methods = get_class_methods( 'Tree'); + $this->assertTrue( in_array( 'printPlus', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Tree::printLabel + * @todo Implement testprintLabel(). + */ + public function testprintLabel() + { + if (class_exists('Tree')) { + $methods = get_class_methods( 'Tree'); + $this->assertTrue( in_array( 'printLabel', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Tree::printContent + * @todo Implement testprintContent(). + */ + public function testprintContent() + { + if (class_exists('Tree')) { + $methods = get_class_methods( 'Tree'); + $this->assertTrue( in_array( 'printContent', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Tree::render + * @todo Implement testrender(). + */ + public function testrender() + { + if (class_exists('Tree')) { + $methods = get_class_methods( 'Tree'); + $this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classWebResourceTest.php b/tests/gulliver/system/classWebResourceTest.php new file mode 100644 index 000000000..99a6ce288 --- /dev/null +++ b/tests/gulliver/system/classWebResourceTest.php @@ -0,0 +1,61 @@ +assertTrue( in_array( 'WebResource', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers WebResource::_encode + * @todo Implement test_encode(). + */ + public function test_encode() + { + if (class_exists('WebResource')) { + $methods = get_class_methods( 'WebResource'); + $this->assertTrue( in_array( '_encode', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers WebResource::json_encode + * @todo Implement testjson_encode(). + */ + public function testjson_encode() + { + if (class_exists('WebResource')) { + $methods = get_class_methods( 'WebResource'); + $this->assertTrue( in_array( 'json_encode', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers WebResource::json_decode + * @todo Implement testjson_decode(). + */ + public function testjson_decode() + { + if (class_exists('WebResource')) { + $methods = get_class_methods( 'WebResource'); + $this->assertTrue( in_array( 'json_decode', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlFormTest.php b/tests/gulliver/system/classXmlFormTest.php new file mode 100644 index 000000000..1ee588304 --- /dev/null +++ b/tests/gulliver/system/classXmlFormTest.php @@ -0,0 +1,61 @@ +assertTrue( in_array( 'parseFile', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm::setValues + * @todo Implement testsetValues(). + */ + public function testsetValues() + { + if (class_exists('XmlForm')) { + $methods = get_class_methods( 'XmlForm'); + $this->assertTrue( in_array( 'setValues', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm::render + * @todo Implement testrender(). + */ + public function testrender() + { + if (class_exists('XmlForm')) { + $methods = get_class_methods( 'XmlForm'); + $this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm::cloneObject + * @todo Implement testcloneObject(). + */ + public function testcloneObject() + { + if (class_exists('XmlForm')) { + $methods = get_class_methods( 'XmlForm'); + $this->assertTrue( in_array( 'cloneObject', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_FieldTest.php b/tests/gulliver/system/classXmlForm_FieldTest.php new file mode 100644 index 000000000..8b6a834e4 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_FieldTest.php @@ -0,0 +1,325 @@ +assertTrue( in_array( 'XmlForm_Field', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::validateValue + * @todo Implement testvalidateValue(). + */ + public function testvalidateValue() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'validateValue', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::executeXmlDB + * @todo Implement testexecuteXmlDB(). + */ + public function testexecuteXmlDB() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'executeXmlDB', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::executePropel + * @todo Implement testexecutePropel(). + */ + public function testexecutePropel() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'executePropel', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::executeSQL + * @todo Implement testexecuteSQL(). + */ + public function testexecuteSQL() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'executeSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::htmlentities + * @todo Implement testhtmlentities(). + */ + public function testhtmlentities() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'htmlentities', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::render + * @todo Implement testrender(). + */ + public function testrender() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::renderGrid + * @todo Implement testrenderGrid(). + */ + public function testrenderGrid() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::renderTable + * @todo Implement testrenderTable(). + */ + public function testrenderTable() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'renderTable', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::dependentOf + * @todo Implement testdependentOf(). + */ + public function testdependentOf() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'dependentOf', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::mask + * @todo Implement testmask(). + */ + public function testmask() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'mask', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::getAttributes + * @todo Implement testgetAttributes(). + */ + public function testgetAttributes() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'getAttributes', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::getEvents + * @todo Implement testgetEvents(). + */ + public function testgetEvents() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'getEvents', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::attachEvents + * @todo Implement testattachEvents(). + */ + public function testattachEvents() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'attachEvents', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::createXmlNode + * @todo Implement testcreateXmlNode(). + */ + public function testcreateXmlNode() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'createXmlNode', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::updateXmlNode + * @todo Implement testupdateXmlNode(). + */ + public function testupdateXmlNode() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'updateXmlNode', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::getXmlAttributes + * @todo Implement testgetXmlAttributes(). + */ + public function testgetXmlAttributes() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'getXmlAttributes', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::maskValue + * @todo Implement testmaskValue(). + */ + public function testmaskValue() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'maskValue', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::cloneObject + * @todo Implement testcloneObject(). + */ + public function testcloneObject() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'cloneObject', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::getPMTableValue + * @todo Implement testgetPMTableValue(). + */ + public function testgetPMTableValue() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'getPMTableValue', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::NSRequiredValue + * @todo Implement testNSRequiredValue(). + */ + public function testNSRequiredValue() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'NSRequiredValue', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::NSGridLabel + * @todo Implement testNSGridLabel(). + */ + public function testNSGridLabel() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'NSGridLabel', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::NSDefaultValue + * @todo Implement testNSDefaultValue(). + */ + public function testNSDefaultValue() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'NSDefaultValue', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::NSGridType + * @todo Implement testNSGridType(). + */ + public function testNSGridType() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'NSGridType', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::NSDependentFields + * @todo Implement testNSDependentFields(). + */ + public function testNSDependentFields() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'NSDependentFields', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field::renderHint + * @todo Implement testrenderHint(). + */ + public function testrenderHint() + { + if (class_exists('XmlForm_Field')) { + $methods = get_class_methods( 'XmlForm_Field'); + $this->assertTrue( in_array( 'renderHint', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_ButtonTest.php b/tests/gulliver/system/classXmlForm_Field_ButtonTest.php new file mode 100644 index 000000000..e7bb9e305 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_ButtonTest.php @@ -0,0 +1,25 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_CaptionCurrencyTest.php b/tests/gulliver/system/classXmlForm_Field_CaptionCurrencyTest.php new file mode 100644 index 000000000..96b268101 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_CaptionCurrencyTest.php @@ -0,0 +1,25 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_CaptionPercentageTest.php b/tests/gulliver/system/classXmlForm_Field_CaptionPercentageTest.php new file mode 100644 index 000000000..51b6caba0 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_CaptionPercentageTest.php @@ -0,0 +1,25 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_CaptionTest.php b/tests/gulliver/system/classXmlForm_Field_CaptionTest.php new file mode 100644 index 000000000..4e64212a3 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_CaptionTest.php @@ -0,0 +1,37 @@ +assertTrue( in_array( 'validateValue', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Caption::render + * @todo Implement testrender(). + */ + public function testrender() + { + if (class_exists('XmlForm_Field_Caption')) { + $methods = get_class_methods( 'XmlForm_Field_Caption'); + $this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_CheckGroupTest.php b/tests/gulliver/system/classXmlForm_Field_CheckGroupTest.php new file mode 100644 index 000000000..6acc6c719 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_CheckGroupTest.php @@ -0,0 +1,25 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_CheckGroupViewTest.php b/tests/gulliver/system/classXmlForm_Field_CheckGroupViewTest.php new file mode 100644 index 000000000..2c8826fd0 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_CheckGroupViewTest.php @@ -0,0 +1,25 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_Checkbox2Test.php b/tests/gulliver/system/classXmlForm_Field_Checkbox2Test.php new file mode 100644 index 000000000..364beea80 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_Checkbox2Test.php @@ -0,0 +1,25 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_CheckboxTest.php b/tests/gulliver/system/classXmlForm_Field_CheckboxTest.php new file mode 100644 index 000000000..6e9e71dc7 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_CheckboxTest.php @@ -0,0 +1,49 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Checkbox::renderGrid + * @todo Implement testrenderGrid(). + */ + public function testrenderGrid() + { + if (class_exists('XmlForm_Field_Checkbox')) { + $methods = get_class_methods( 'XmlForm_Field_Checkbox'); + $this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Checkbox::maskValue + * @todo Implement testmaskValue(). + */ + public function testmaskValue() + { + if (class_exists('XmlForm_Field_Checkbox')) { + $methods = get_class_methods( 'XmlForm_Field_Checkbox'); + $this->assertTrue( in_array( 'maskValue', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_CheckboxptTest.php b/tests/gulliver/system/classXmlForm_Field_CheckboxptTest.php new file mode 100644 index 000000000..588ad6b35 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_CheckboxptTest.php @@ -0,0 +1,49 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Checkboxpt::renderGrid + * @todo Implement testrenderGrid(). + */ + public function testrenderGrid() + { + if (class_exists('XmlForm_Field_Checkboxpt')) { + $methods = get_class_methods( 'XmlForm_Field_Checkboxpt'); + $this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Checkboxpt::maskValue + * @todo Implement testmaskValue(). + */ + public function testmaskValue() + { + if (class_exists('XmlForm_Field_Checkboxpt')) { + $methods = get_class_methods( 'XmlForm_Field_Checkboxpt'); + $this->assertTrue( in_array( 'maskValue', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_CurrencyTest.php b/tests/gulliver/system/classXmlForm_Field_CurrencyTest.php new file mode 100644 index 000000000..ca5829c55 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_CurrencyTest.php @@ -0,0 +1,37 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Currency::renderGrid + * @todo Implement testrenderGrid(). + */ + public function testrenderGrid() + { + if (class_exists('XmlForm_Field_Currency')) { + $methods = get_class_methods( 'XmlForm_Field_Currency'); + $this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_DVEditorTest.php b/tests/gulliver/system/classXmlForm_Field_DVEditorTest.php new file mode 100644 index 000000000..a97b5ebe3 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_DVEditorTest.php @@ -0,0 +1,37 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_DVEditor::attachEvents + * @todo Implement testattachEvents(). + */ + public function testattachEvents() + { + if (class_exists('XmlForm_Field_DVEditor')) { + $methods = get_class_methods( 'XmlForm_Field_DVEditor'); + $this->assertTrue( in_array( 'attachEvents', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_Date2Test.php b/tests/gulliver/system/classXmlForm_Field_Date2Test.php new file mode 100644 index 000000000..9dcc07cb0 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_Date2Test.php @@ -0,0 +1,73 @@ +assertTrue( in_array( 'verifyDateFormat', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Date2::isvalidBeforeFormat + * @todo Implement testisvalidBeforeFormat(). + */ + public function testisvalidBeforeFormat() + { + if (class_exists('XmlForm_Field_Date2')) { + $methods = get_class_methods( 'XmlForm_Field_Date2'); + $this->assertTrue( in_array( 'isvalidBeforeFormat', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Date2::calculateBeforeFormat + * @todo Implement testcalculateBeforeFormat(). + */ + public function testcalculateBeforeFormat() + { + if (class_exists('XmlForm_Field_Date2')) { + $methods = get_class_methods( 'XmlForm_Field_Date2'); + $this->assertTrue( in_array( 'calculateBeforeFormat', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Date2::render + * @todo Implement testrender(). + */ + public function testrender() + { + if (class_exists('XmlForm_Field_Date2')) { + $methods = get_class_methods( 'XmlForm_Field_Date2'); + $this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Date2::renderGrid + * @todo Implement testrenderGrid(). + */ + public function testrenderGrid() + { + if (class_exists('XmlForm_Field_Date2')) { + $methods = get_class_methods( 'XmlForm_Field_Date2'); + $this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_Date5Test.php b/tests/gulliver/system/classXmlForm_Field_Date5Test.php new file mode 100644 index 000000000..ae1df0b53 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_Date5Test.php @@ -0,0 +1,97 @@ +assertTrue( in_array( 'verifyDateFormat', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Date5::isvalidBeforeFormat + * @todo Implement testisvalidBeforeFormat(). + */ + public function testisvalidBeforeFormat() + { + if (class_exists('XmlForm_Field_Date5')) { + $methods = get_class_methods( 'XmlForm_Field_Date5'); + $this->assertTrue( in_array( 'isvalidBeforeFormat', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Date5::calculateBeforeFormat + * @todo Implement testcalculateBeforeFormat(). + */ + public function testcalculateBeforeFormat() + { + if (class_exists('XmlForm_Field_Date5')) { + $methods = get_class_methods( 'XmlForm_Field_Date5'); + $this->assertTrue( in_array( 'calculateBeforeFormat', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Date5::render + * @todo Implement testrender(). + */ + public function testrender() + { + if (class_exists('XmlForm_Field_Date5')) { + $methods = get_class_methods( 'XmlForm_Field_Date5'); + $this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Date5::renderGrid + * @todo Implement testrenderGrid(). + */ + public function testrenderGrid() + { + if (class_exists('XmlForm_Field_Date5')) { + $methods = get_class_methods( 'XmlForm_Field_Date5'); + $this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Date5::__draw_widget + * @todo Implement test__draw_widget(). + */ + public function test__draw_widget() + { + if (class_exists('XmlForm_Field_Date5')) { + $methods = get_class_methods( 'XmlForm_Field_Date5'); + $this->assertTrue( in_array( '__draw_widget', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Date5::getSplitDate + * @todo Implement testgetSplitDate(). + */ + public function testgetSplitDate() + { + if (class_exists('XmlForm_Field_Date5')) { + $methods = get_class_methods( 'XmlForm_Field_Date5'); + $this->assertTrue( in_array( 'getSplitDate', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_DateTest.php b/tests/gulliver/system/classXmlForm_Field_DateTest.php new file mode 100644 index 000000000..164c5c4e6 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_DateTest.php @@ -0,0 +1,85 @@ +assertTrue( in_array( 'verifyDateFormat', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Date::isvalidBeforeFormat + * @todo Implement testisvalidBeforeFormat(). + */ + public function testisvalidBeforeFormat() + { + if (class_exists('XmlForm_Field_Date')) { + $methods = get_class_methods( 'XmlForm_Field_Date'); + $this->assertTrue( in_array( 'isvalidBeforeFormat', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Date::calculateBeforeFormat + * @todo Implement testcalculateBeforeFormat(). + */ + public function testcalculateBeforeFormat() + { + if (class_exists('XmlForm_Field_Date')) { + $methods = get_class_methods( 'XmlForm_Field_Date'); + $this->assertTrue( in_array( 'calculateBeforeFormat', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Date::render + * @todo Implement testrender(). + */ + public function testrender() + { + if (class_exists('XmlForm_Field_Date')) { + $methods = get_class_methods( 'XmlForm_Field_Date'); + $this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Date::renderGrid + * @todo Implement testrenderGrid(). + */ + public function testrenderGrid() + { + if (class_exists('XmlForm_Field_Date')) { + $methods = get_class_methods( 'XmlForm_Field_Date'); + $this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Date::__draw_widget + * @todo Implement test__draw_widget(). + */ + public function test__draw_widget() + { + if (class_exists('XmlForm_Field_Date')) { + $methods = get_class_methods( 'XmlForm_Field_Date'); + $this->assertTrue( in_array( '__draw_widget', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_DateViewTest.php b/tests/gulliver/system/classXmlForm_Field_DateViewTest.php new file mode 100644 index 000000000..3ccc2ec55 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_DateViewTest.php @@ -0,0 +1,25 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_DropdownTest.php b/tests/gulliver/system/classXmlForm_Field_DropdownTest.php new file mode 100644 index 000000000..5203990a6 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_DropdownTest.php @@ -0,0 +1,49 @@ +assertTrue( in_array( 'validateValue', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Dropdown::render + * @todo Implement testrender(). + */ + public function testrender() + { + if (class_exists('XmlForm_Field_Dropdown')) { + $methods = get_class_methods( 'XmlForm_Field_Dropdown'); + $this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Dropdown::renderGrid + * @todo Implement testrenderGrid(). + */ + public function testrenderGrid() + { + if (class_exists('XmlForm_Field_Dropdown')) { + $methods = get_class_methods( 'XmlForm_Field_Dropdown'); + $this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_DropdownptTest.php b/tests/gulliver/system/classXmlForm_Field_DropdownptTest.php new file mode 100644 index 000000000..ad622cf00 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_DropdownptTest.php @@ -0,0 +1,37 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Dropdownpt::maskValue + * @todo Implement testmaskValue(). + */ + public function testmaskValue() + { + if (class_exists('XmlForm_Field_Dropdownpt')) { + $methods = get_class_methods( 'XmlForm_Field_Dropdownpt'); + $this->assertTrue( in_array( 'maskValue', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_FastSearchTest.php b/tests/gulliver/system/classXmlForm_Field_FastSearchTest.php new file mode 100644 index 000000000..9b02677f4 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_FastSearchTest.php @@ -0,0 +1,13 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_GridTest.php b/tests/gulliver/system/classXmlForm_Field_GridTest.php new file mode 100644 index 000000000..ddc62ddd5 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_GridTest.php @@ -0,0 +1,73 @@ +assertTrue( in_array( 'XmlForm_Field_Grid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Grid::parseFile + * @todo Implement testparseFile(). + */ + public function testparseFile() + { + if (class_exists('XmlForm_Field_Grid')) { + $methods = get_class_methods( 'XmlForm_Field_Grid'); + $this->assertTrue( in_array( 'parseFile', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Grid::render + * @todo Implement testrender(). + */ + public function testrender() + { + if (class_exists('XmlForm_Field_Grid')) { + $methods = get_class_methods( 'XmlForm_Field_Grid'); + $this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Grid::renderGrid + * @todo Implement testrenderGrid(). + */ + public function testrenderGrid() + { + if (class_exists('XmlForm_Field_Grid')) { + $methods = get_class_methods( 'XmlForm_Field_Grid'); + $this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Grid::flipValues + * @todo Implement testflipValues(). + */ + public function testflipValues() + { + if (class_exists('XmlForm_Field_Grid')) { + $methods = get_class_methods( 'XmlForm_Field_Grid'); + $this->assertTrue( in_array( 'flipValues', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_HTMLTest.php b/tests/gulliver/system/classXmlForm_Field_HTMLTest.php new file mode 100644 index 000000000..2a090229c --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_HTMLTest.php @@ -0,0 +1,25 @@ +assertTrue( in_array( 'attachEvents', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_HiddenTest.php b/tests/gulliver/system/classXmlForm_Field_HiddenTest.php new file mode 100644 index 000000000..114597fc7 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_HiddenTest.php @@ -0,0 +1,49 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Hidden::renderGrid + * @todo Implement testrenderGrid(). + */ + public function testrenderGrid() + { + if (class_exists('XmlForm_Field_Hidden')) { + $methods = get_class_methods( 'XmlForm_Field_Hidden'); + $this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Hidden::renderTable + * @todo Implement testrenderTable(). + */ + public function testrenderTable() + { + if (class_exists('XmlForm_Field_Hidden')) { + $methods = get_class_methods( 'XmlForm_Field_Hidden'); + $this->assertTrue( in_array( 'renderTable', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_ImageTest.php b/tests/gulliver/system/classXmlForm_Field_ImageTest.php new file mode 100644 index 000000000..3e02fbe23 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_ImageTest.php @@ -0,0 +1,37 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Image::masktophp + * @todo Implement testmasktophp(). + */ + public function testmasktophp() + { + if (class_exists('XmlForm_Field_Image')) { + $methods = get_class_methods( 'XmlForm_Field_Image'); + $this->assertTrue( in_array( 'masktophp', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_JavaScriptTest.php b/tests/gulliver/system/classXmlForm_Field_JavaScriptTest.php new file mode 100644 index 000000000..8e212e96d --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_JavaScriptTest.php @@ -0,0 +1,61 @@ +assertTrue( in_array( 'XmlForm_Field_JavaScript', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_JavaScript::render + * @todo Implement testrender(). + */ + public function testrender() + { + if (class_exists('XmlForm_Field_JavaScript')) { + $methods = get_class_methods( 'XmlForm_Field_JavaScript'); + $this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_JavaScript::renderGrid + * @todo Implement testrenderGrid(). + */ + public function testrenderGrid() + { + if (class_exists('XmlForm_Field_JavaScript')) { + $methods = get_class_methods( 'XmlForm_Field_JavaScript'); + $this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_JavaScript::validateValue + * @todo Implement testvalidateValue(). + */ + public function testvalidateValue() + { + if (class_exists('XmlForm_Field_JavaScript')) { + $methods = get_class_methods( 'XmlForm_Field_JavaScript'); + $this->assertTrue( in_array( 'validateValue', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_LabelTest.php b/tests/gulliver/system/classXmlForm_Field_LabelTest.php new file mode 100644 index 000000000..e96e9605d --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_LabelTest.php @@ -0,0 +1,13 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Link::renderGrid + * @todo Implement testrenderGrid(). + */ + public function testrenderGrid() + { + if (class_exists('XmlForm_Field_Link')) { + $methods = get_class_methods( 'XmlForm_Field_Link'); + $this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Link::renderTable + * @todo Implement testrenderTable(). + */ + public function testrenderTable() + { + if (class_exists('XmlForm_Field_Link')) { + $methods = get_class_methods( 'XmlForm_Field_Link'); + $this->assertTrue( in_array( 'renderTable', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_ListboxTest.php b/tests/gulliver/system/classXmlForm_Field_ListboxTest.php new file mode 100644 index 000000000..19e69f983 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_ListboxTest.php @@ -0,0 +1,49 @@ +assertTrue( in_array( 'validateValue', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Listbox::render + * @todo Implement testrender(). + */ + public function testrender() + { + if (class_exists('XmlForm_Field_Listbox')) { + $methods = get_class_methods( 'XmlForm_Field_Listbox'); + $this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Listbox::renderGrid + * @todo Implement testrenderGrid(). + */ + public function testrenderGrid() + { + if (class_exists('XmlForm_Field_Listbox')) { + $methods = get_class_methods( 'XmlForm_Field_Listbox'); + $this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_PasswordTest.php b/tests/gulliver/system/classXmlForm_Field_PasswordTest.php new file mode 100644 index 000000000..d0415424c --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_PasswordTest.php @@ -0,0 +1,25 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_PercentageTest.php b/tests/gulliver/system/classXmlForm_Field_PercentageTest.php new file mode 100644 index 000000000..ba1950775 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_PercentageTest.php @@ -0,0 +1,25 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_PrintTest.php b/tests/gulliver/system/classXmlForm_Field_PrintTest.php new file mode 100644 index 000000000..9678c6a7b --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_PrintTest.php @@ -0,0 +1,25 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_RadioGroupTest.php b/tests/gulliver/system/classXmlForm_Field_RadioGroupTest.php new file mode 100644 index 000000000..cd94b8243 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_RadioGroupTest.php @@ -0,0 +1,37 @@ +assertTrue( in_array( 'validateValue', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_RadioGroup::render + * @todo Implement testrender(). + */ + public function testrender() + { + if (class_exists('XmlForm_Field_RadioGroup')) { + $methods = get_class_methods( 'XmlForm_Field_RadioGroup'); + $this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_RadioGroupViewTest.php b/tests/gulliver/system/classXmlForm_Field_RadioGroupViewTest.php new file mode 100644 index 000000000..a30871d64 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_RadioGroupViewTest.php @@ -0,0 +1,25 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_ResetTest.php b/tests/gulliver/system/classXmlForm_Field_ResetTest.php new file mode 100644 index 000000000..375009bc2 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_ResetTest.php @@ -0,0 +1,25 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_SimpleTextTest.php b/tests/gulliver/system/classXmlForm_Field_SimpleTextTest.php new file mode 100644 index 000000000..161d26081 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_SimpleTextTest.php @@ -0,0 +1,37 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_SimpleText::renderGrid + * @todo Implement testrenderGrid(). + */ + public function testrenderGrid() + { + if (class_exists('XmlForm_Field_SimpleText')) { + $methods = get_class_methods( 'XmlForm_Field_SimpleText'); + $this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_SubmitTest.php b/tests/gulliver/system/classXmlForm_Field_SubmitTest.php new file mode 100644 index 000000000..16714d934 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_SubmitTest.php @@ -0,0 +1,25 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_SubtitleTest.php b/tests/gulliver/system/classXmlForm_Field_SubtitleTest.php new file mode 100644 index 000000000..a835d64c0 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_SubtitleTest.php @@ -0,0 +1,37 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Subtitle::validateValue + * @todo Implement testvalidateValue(). + */ + public function testvalidateValue() + { + if (class_exists('XmlForm_Field_Subtitle')) { + $methods = get_class_methods( 'XmlForm_Field_Subtitle'); + $this->assertTrue( in_array( 'validateValue', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_SuggestTest.php b/tests/gulliver/system/classXmlForm_Field_SuggestTest.php new file mode 100644 index 000000000..a98358be4 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_SuggestTest.php @@ -0,0 +1,49 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Suggest::renderGrid + * @todo Implement testrenderGrid(). + */ + public function testrenderGrid() + { + if (class_exists('XmlForm_Field_Suggest')) { + $methods = get_class_methods( 'XmlForm_Field_Suggest'); + $this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Suggest::renderTable + * @todo Implement testrenderTable(). + */ + public function testrenderTable() + { + if (class_exists('XmlForm_Field_Suggest')) { + $methods = get_class_methods( 'XmlForm_Field_Suggest'); + $this->assertTrue( in_array( 'renderTable', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_TextTest.php b/tests/gulliver/system/classXmlForm_Field_TextTest.php new file mode 100644 index 000000000..8b030d20e --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_TextTest.php @@ -0,0 +1,49 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Text::renderGrid + * @todo Implement testrenderGrid(). + */ + public function testrenderGrid() + { + if (class_exists('XmlForm_Field_Text')) { + $methods = get_class_methods( 'XmlForm_Field_Text'); + $this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Text::renderTable + * @todo Implement testrenderTable(). + */ + public function testrenderTable() + { + if (class_exists('XmlForm_Field_Text')) { + $methods = get_class_methods( 'XmlForm_Field_Text'); + $this->assertTrue( in_array( 'renderTable', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_TextareaTest.php b/tests/gulliver/system/classXmlForm_Field_TextareaTest.php new file mode 100644 index 000000000..d50775579 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_TextareaTest.php @@ -0,0 +1,37 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Textarea::renderGrid + * @todo Implement testrenderGrid(). + */ + public function testrenderGrid() + { + if (class_exists('XmlForm_Field_Textarea')) { + $methods = get_class_methods( 'XmlForm_Field_Textarea'); + $this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_TitleTest.php b/tests/gulliver/system/classXmlForm_Field_TitleTest.php new file mode 100644 index 000000000..17e34ce41 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_TitleTest.php @@ -0,0 +1,37 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Title::validateValue + * @todo Implement testvalidateValue(). + */ + public function testvalidateValue() + { + if (class_exists('XmlForm_Field_Title')) { + $methods = get_class_methods( 'XmlForm_Field_Title'); + $this->assertTrue( in_array( 'validateValue', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_XmlMenuTest.php b/tests/gulliver/system/classXmlForm_Field_XmlMenuTest.php new file mode 100644 index 000000000..882d4fc98 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_XmlMenuTest.php @@ -0,0 +1,49 @@ +assertTrue( in_array( 'XmlForm_Field_XmlMenu', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_XmlMenu::render + * @todo Implement testrender(). + */ + public function testrender() + { + if (class_exists('XmlForm_Field_XmlMenu')) { + $methods = get_class_methods( 'XmlForm_Field_XmlMenu'); + $this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_XmlMenu::renderGrid + * @todo Implement testrenderGrid(). + */ + public function testrenderGrid() + { + if (class_exists('XmlForm_Field_XmlMenu')) { + $methods = get_class_methods( 'XmlForm_Field_XmlMenu'); + $this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_XmlformTest.php b/tests/gulliver/system/classXmlForm_Field_XmlformTest.php new file mode 100644 index 000000000..59093c1a5 --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_XmlformTest.php @@ -0,0 +1,49 @@ +assertTrue( in_array( 'XmlForm_Field_Xmlform', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Xmlform::parseFile + * @todo Implement testparseFile(). + */ + public function testparseFile() + { + if (class_exists('XmlForm_Field_Xmlform')) { + $methods = get_class_methods( 'XmlForm_Field_Xmlform'); + $this->assertTrue( in_array( 'parseFile', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_Xmlform::render + * @todo Implement testrender(). + */ + public function testrender() + { + if (class_exists('XmlForm_Field_Xmlform')) { + $methods = get_class_methods( 'XmlForm_Field_Xmlform'); + $this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_YesNoTest.php b/tests/gulliver/system/classXmlForm_Field_YesNoTest.php new file mode 100644 index 000000000..f3981c31f --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_YesNoTest.php @@ -0,0 +1,37 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_YesNo::renderGrid + * @todo Implement testrenderGrid(). + */ + public function testrenderGrid() + { + if (class_exists('XmlForm_Field_YesNo')) { + $methods = get_class_methods( 'XmlForm_Field_YesNo'); + $this->assertTrue( in_array( 'renderGrid', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXmlForm_Field_cellMarkTest.php b/tests/gulliver/system/classXmlForm_Field_cellMarkTest.php new file mode 100644 index 000000000..50e5dd3cb --- /dev/null +++ b/tests/gulliver/system/classXmlForm_Field_cellMarkTest.php @@ -0,0 +1,37 @@ +assertTrue( in_array( 'tdStyle', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers XmlForm_Field_cellMark::tdClass + * @todo Implement testtdClass(). + */ + public function testtdClass() + { + if (class_exists('XmlForm_Field_cellMark')) { + $methods = get_class_methods( 'XmlForm_Field_cellMark'); + $this->assertTrue( in_array( 'tdClass', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXml_NodeTest.php b/tests/gulliver/system/classXml_NodeTest.php new file mode 100644 index 000000000..c4dcd3ab5 --- /dev/null +++ b/tests/gulliver/system/classXml_NodeTest.php @@ -0,0 +1,109 @@ +assertTrue( in_array( 'Xml_Node', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Xml_Node::addAttribute + * @todo Implement testaddAttribute(). + */ + public function testaddAttribute() + { + if (class_exists('Xml_Node')) { + $methods = get_class_methods( 'Xml_Node'); + $this->assertTrue( in_array( 'addAttribute', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Xml_Node::addChildNode + * @todo Implement testaddChildNode(). + */ + public function testaddChildNode() + { + if (class_exists('Xml_Node')) { + $methods = get_class_methods( 'Xml_Node'); + $this->assertTrue( in_array( 'addChildNode', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Xml_Node::toTree + * @todo Implement testtoTree(). + */ + public function testtoTree() + { + if (class_exists('Xml_Node')) { + $methods = get_class_methods( 'Xml_Node'); + $this->assertTrue( in_array( 'toTree', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Xml_Node::toArray + * @todo Implement testtoArray(). + */ + public function testtoArray() + { + if (class_exists('Xml_Node')) { + $methods = get_class_methods( 'Xml_Node'); + $this->assertTrue( in_array( 'toArray', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Xml_Node::findNode + * @todo Implement testfindNode(). + */ + public function testfindNode() + { + if (class_exists('Xml_Node')) { + $methods = get_class_methods( 'Xml_Node'); + $this->assertTrue( in_array( 'findNode', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Xml_Node::getXML + * @todo Implement testgetXML(). + */ + public function testgetXML() + { + if (class_exists('Xml_Node')) { + $methods = get_class_methods( 'Xml_Node'); + $this->assertTrue( in_array( 'getXML', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Xml_Node::getCDATAValue + * @todo Implement testgetCDATAValue(). + */ + public function testgetCDATAValue() + { + if (class_exists('Xml_Node')) { + $methods = get_class_methods( 'Xml_Node'); + $this->assertTrue( in_array( 'getCDATAValue', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classXml_documentTest.php b/tests/gulliver/system/classXml_documentTest.php new file mode 100644 index 000000000..1ce47dc71 --- /dev/null +++ b/tests/gulliver/system/classXml_documentTest.php @@ -0,0 +1,73 @@ +assertTrue( in_array( 'Xml_document', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Xml_document::parseXmlFile + * @todo Implement testparseXmlFile(). + */ + public function testparseXmlFile() + { + if (class_exists('Xml_document')) { + $methods = get_class_methods( 'Xml_document'); + $this->assertTrue( in_array( 'parseXmlFile', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Xml_document::findNode + * @todo Implement testfindNode(). + */ + public function testfindNode() + { + if (class_exists('Xml_document')) { + $methods = get_class_methods( 'Xml_document'); + $this->assertTrue( in_array( 'findNode', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Xml_document::getXML + * @todo Implement testgetXML(). + */ + public function testgetXML() + { + if (class_exists('Xml_document')) { + $methods = get_class_methods( 'Xml_document'); + $this->assertTrue( in_array( 'getXML', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers Xml_document::save + * @todo Implement testsave(). + */ + public function testsave() + { + if (class_exists('Xml_document')) { + $methods = get_class_methods( 'Xml_document'); + $this->assertTrue( in_array( 'save', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classdatabaseTest.php b/tests/gulliver/system/classdatabaseTest.php new file mode 100644 index 000000000..997bb2d86 --- /dev/null +++ b/tests/gulliver/system/classdatabaseTest.php @@ -0,0 +1,505 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::generateCreateTableSQL + * @todo Implement testgenerateCreateTableSQL(). + */ + public function testgenerateCreateTableSQL() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'generateCreateTableSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::generateDropTableSQL + * @todo Implement testgenerateDropTableSQL(). + */ + public function testgenerateDropTableSQL() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'generateDropTableSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::generateDropColumnSQL + * @todo Implement testgenerateDropColumnSQL(). + */ + public function testgenerateDropColumnSQL() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'generateDropColumnSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::generateAddColumnSQL + * @todo Implement testgenerateAddColumnSQL(). + */ + public function testgenerateAddColumnSQL() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'generateAddColumnSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::generateChangeColumnSQL + * @todo Implement testgenerateChangeColumnSQL(). + */ + public function testgenerateChangeColumnSQL() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'generateChangeColumnSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::generateGetPrimaryKeysSQL + * @todo Implement testgenerateGetPrimaryKeysSQL(). + */ + public function testgenerateGetPrimaryKeysSQL() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'generateGetPrimaryKeysSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::generateDropPrimaryKeysSQL + * @todo Implement testgenerateDropPrimaryKeysSQL(). + */ + public function testgenerateDropPrimaryKeysSQL() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'generateDropPrimaryKeysSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::generateAddPrimaryKeysSQL + * @todo Implement testgenerateAddPrimaryKeysSQL(). + */ + public function testgenerateAddPrimaryKeysSQL() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'generateAddPrimaryKeysSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::generateDropKeySQL + * @todo Implement testgenerateDropKeySQL(). + */ + public function testgenerateDropKeySQL() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'generateDropKeySQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::generateAddKeysSQL + * @todo Implement testgenerateAddKeysSQL(). + */ + public function testgenerateAddKeysSQL() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'generateAddKeysSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::generateShowTablesSQL + * @todo Implement testgenerateShowTablesSQL(). + */ + public function testgenerateShowTablesSQL() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'generateShowTablesSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::generateShowTablesLikeSQL + * @todo Implement testgenerateShowTablesLikeSQL(). + */ + public function testgenerateShowTablesLikeSQL() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'generateShowTablesLikeSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::generateDescTableSQL + * @todo Implement testgenerateDescTableSQL(). + */ + public function testgenerateDescTableSQL() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'generateDescTableSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::generateTableIndexSQL + * @todo Implement testgenerateTableIndexSQL(). + */ + public function testgenerateTableIndexSQL() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'generateTableIndexSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::isConnected + * @todo Implement testisConnected(). + */ + public function testisConnected() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'isConnected', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::logQuery + * @todo Implement testlogQuery(). + */ + public function testlogQuery() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'logQuery', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::executeQuery + * @todo Implement testexecuteQuery(). + */ + public function testexecuteQuery() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'executeQuery', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::countResults + * @todo Implement testcountResults(). + */ + public function testcountResults() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'countResults', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::getRegistry + * @todo Implement testgetRegistry(). + */ + public function testgetRegistry() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'getRegistry', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::close + * @todo Implement testclose(). + */ + public function testclose() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'close', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::generateInsertSQL + * @todo Implement testgenerateInsertSQL(). + */ + public function testgenerateInsertSQL() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'generateInsertSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::generateUpdateSQL + * @todo Implement testgenerateUpdateSQL(). + */ + public function testgenerateUpdateSQL() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'generateUpdateSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::generateDeleteSQL + * @todo Implement testgenerateDeleteSQL(). + */ + public function testgenerateDeleteSQL() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'generateDeleteSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::generateSelectSQL + * @todo Implement testgenerateSelectSQL(). + */ + public function testgenerateSelectSQL() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'generateSelectSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::putQuotes + * @todo Implement testputQuotes(). + */ + public function testputQuotes() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'putQuotes', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::concatString + * @todo Implement testconcatString(). + */ + public function testconcatString() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'concatString', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::getCaseWhen + * @todo Implement testgetCaseWhen(). + */ + public function testgetCaseWhen() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'getCaseWhen', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::createTableObjectPermission + * @todo Implement testcreateTableObjectPermission(). + */ + public function testcreateTableObjectPermission() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'createTableObjectPermission', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::getSelectReport4 + * @todo Implement testgetSelectReport4(). + */ + public function testgetSelectReport4() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'getSelectReport4', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::getSelectReport4Filter + * @todo Implement testgetSelectReport4Filter(). + */ + public function testgetSelectReport4Filter() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'getSelectReport4Filter', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::getSelectReport5 + * @todo Implement testgetSelectReport5(). + */ + public function testgetSelectReport5() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'getSelectReport5', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::getSelectReport5Filter + * @todo Implement testgetSelectReport5Filter(). + */ + public function testgetSelectReport5Filter() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'getSelectReport5Filter', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::getServerVersion + * @todo Implement testgetServerVersion(). + */ + public function testgetServerVersion() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'getServerVersion', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::getDropTable + * @todo Implement testgetDropTable(). + */ + public function testgetDropTable() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'getDropTable', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::getTableDescription + * @todo Implement testgetTableDescription(). + */ + public function testgetTableDescription() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'getTableDescription', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::getFieldNull + * @todo Implement testgetFieldNull(). + */ + public function testgetFieldNull() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'getFieldNull', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::getValidate + * @todo Implement testgetValidate(). + */ + public function testgetValidate() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'getValidate', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::reportTableExist + * @todo Implement testreportTableExist(). + */ + public function testreportTableExist() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'reportTableExist', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::getLimitRenderTable + * @todo Implement testgetLimitRenderTable(). + */ + public function testgetLimitRenderTable() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'getLimitRenderTable', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database::tableExists + * @todo Implement testtableExists(). + */ + public function testtableExists() + { + if (class_exists('database')) { + $methods = get_class_methods( 'database'); + $this->assertTrue( in_array( 'tableExists', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classdatabase_baseTest.php b/tests/gulliver/system/classdatabase_baseTest.php new file mode 100644 index 000000000..14849e098 --- /dev/null +++ b/tests/gulliver/system/classdatabase_baseTest.php @@ -0,0 +1,109 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database_base::generateDropTableSQL + * @todo Implement testgenerateDropTableSQL(). + */ + public function testgenerateDropTableSQL() + { + if (class_exists('database_base')) { + $methods = get_class_methods( 'database_base'); + $this->assertTrue( in_array( 'generateDropTableSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database_base::generateCreateTableSQL + * @todo Implement testgenerateCreateTableSQL(). + */ + public function testgenerateCreateTableSQL() + { + if (class_exists('database_base')) { + $methods = get_class_methods( 'database_base'); + $this->assertTrue( in_array( 'generateCreateTableSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database_base::generateDropColumnSQL + * @todo Implement testgenerateDropColumnSQL(). + */ + public function testgenerateDropColumnSQL() + { + if (class_exists('database_base')) { + $methods = get_class_methods( 'database_base'); + $this->assertTrue( in_array( 'generateDropColumnSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database_base::generateAddColumnSQL + * @todo Implement testgenerateAddColumnSQL(). + */ + public function testgenerateAddColumnSQL() + { + if (class_exists('database_base')) { + $methods = get_class_methods( 'database_base'); + $this->assertTrue( in_array( 'generateAddColumnSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database_base::generateChangeColumnSQL + * @todo Implement testgenerateChangeColumnSQL(). + */ + public function testgenerateChangeColumnSQL() + { + if (class_exists('database_base')) { + $methods = get_class_methods( 'database_base'); + $this->assertTrue( in_array( 'generateChangeColumnSQL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database_base::executeQuery + * @todo Implement testexecuteQuery(). + */ + public function testexecuteQuery() + { + if (class_exists('database_base')) { + $methods = get_class_methods( 'database_base'); + $this->assertTrue( in_array( 'executeQuery', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers database_base::close + * @todo Implement testclose(). + */ + public function testclose() + { + if (class_exists('database_base')) { + $methods = get_class_methods( 'database_base'); + $this->assertTrue( in_array( 'close', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classdynaFormHandlerTest.php b/tests/gulliver/system/classdynaFormHandlerTest.php new file mode 100644 index 000000000..66288a832 --- /dev/null +++ b/tests/gulliver/system/classdynaFormHandlerTest.php @@ -0,0 +1,289 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers dynaFormHandler::load + * @todo Implement testload(). + */ + public function testload() + { + if (class_exists('dynaFormHandler')) { + $methods = get_class_methods( 'dynaFormHandler'); + $this->assertTrue( in_array( 'load', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers dynaFormHandler::reload + * @todo Implement testreload(). + */ + public function testreload() + { + if (class_exists('dynaFormHandler')) { + $methods = get_class_methods( 'dynaFormHandler'); + $this->assertTrue( in_array( 'reload', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers dynaFormHandler::__cloneEmpty + * @todo Implement test__cloneEmpty(). + */ + public function test__cloneEmpty() + { + if (class_exists('dynaFormHandler')) { + $methods = get_class_methods( 'dynaFormHandler'); + $this->assertTrue( in_array( '__cloneEmpty', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers dynaFormHandler::toString + * @todo Implement testtoString(). + */ + public function testtoString() + { + if (class_exists('dynaFormHandler')) { + $methods = get_class_methods( 'dynaFormHandler'); + $this->assertTrue( in_array( 'toString', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers dynaFormHandler::getNode + * @todo Implement testgetNode(). + */ + public function testgetNode() + { + if (class_exists('dynaFormHandler')) { + $methods = get_class_methods( 'dynaFormHandler'); + $this->assertTrue( in_array( 'getNode', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers dynaFormHandler::setNode + * @todo Implement testsetNode(). + */ + public function testsetNode() + { + if (class_exists('dynaFormHandler')) { + $methods = get_class_methods( 'dynaFormHandler'); + $this->assertTrue( in_array( 'setNode', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers dynaFormHandler::add + * @todo Implement testadd(). + */ + public function testadd() + { + if (class_exists('dynaFormHandler')) { + $methods = get_class_methods( 'dynaFormHandler'); + $this->assertTrue( in_array( 'add', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers dynaFormHandler::replace + * @todo Implement testreplace(). + */ + public function testreplace() + { + if (class_exists('dynaFormHandler')) { + $methods = get_class_methods( 'dynaFormHandler'); + $this->assertTrue( in_array( 'replace', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers dynaFormHandler::save + * @todo Implement testsave(). + */ + public function testsave() + { + if (class_exists('dynaFormHandler')) { + $methods = get_class_methods( 'dynaFormHandler'); + $this->assertTrue( in_array( 'save', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers dynaFormHandler::fixXmlFile + * @todo Implement testfixXmlFile(). + */ + public function testfixXmlFile() + { + if (class_exists('dynaFormHandler')) { + $methods = get_class_methods( 'dynaFormHandler'); + $this->assertTrue( in_array( 'fixXmlFile', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers dynaFormHandler::setHeaderAttribute + * @todo Implement testsetHeaderAttribute(). + */ + public function testsetHeaderAttribute() + { + if (class_exists('dynaFormHandler')) { + $methods = get_class_methods( 'dynaFormHandler'); + $this->assertTrue( in_array( 'setHeaderAttribute', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers dynaFormHandler::modifyHeaderAttribute + * @todo Implement testmodifyHeaderAttribute(). + */ + public function testmodifyHeaderAttribute() + { + if (class_exists('dynaFormHandler')) { + $methods = get_class_methods( 'dynaFormHandler'); + $this->assertTrue( in_array( 'modifyHeaderAttribute', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers dynaFormHandler::updateAttribute + * @todo Implement testupdateAttribute(). + */ + public function testupdateAttribute() + { + if (class_exists('dynaFormHandler')) { + $methods = get_class_methods( 'dynaFormHandler'); + $this->assertTrue( in_array( 'updateAttribute', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers dynaFormHandler::remove + * @todo Implement testremove(). + */ + public function testremove() + { + if (class_exists('dynaFormHandler')) { + $methods = get_class_methods( 'dynaFormHandler'); + $this->assertTrue( in_array( 'remove', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers dynaFormHandler::nodeExists + * @todo Implement testnodeExists(). + */ + public function testnodeExists() + { + if (class_exists('dynaFormHandler')) { + $methods = get_class_methods( 'dynaFormHandler'); + $this->assertTrue( in_array( 'nodeExists', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers dynaFormHandler::moveUp + * @todo Implement testmoveUp(). + */ + public function testmoveUp() + { + if (class_exists('dynaFormHandler')) { + $methods = get_class_methods( 'dynaFormHandler'); + $this->assertTrue( in_array( 'moveUp', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers dynaFormHandler::moveDown + * @todo Implement testmoveDown(). + */ + public function testmoveDown() + { + if (class_exists('dynaFormHandler')) { + $methods = get_class_methods( 'dynaFormHandler'); + $this->assertTrue( in_array( 'moveDown', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers dynaFormHandler::getFields + * @todo Implement testgetFields(). + */ + public function testgetFields() + { + if (class_exists('dynaFormHandler')) { + $methods = get_class_methods( 'dynaFormHandler'); + $this->assertTrue( in_array( 'getFields', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers dynaFormHandler::getFieldNames + * @todo Implement testgetFieldNames(). + */ + public function testgetFieldNames() + { + if (class_exists('dynaFormHandler')) { + $methods = get_class_methods( 'dynaFormHandler'); + $this->assertTrue( in_array( 'getFieldNames', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers dynaFormHandler::addChilds + * @todo Implement testaddChilds(). + */ + public function testaddChilds() + { + if (class_exists('dynaFormHandler')) { + $methods = get_class_methods( 'dynaFormHandler'); + $this->assertTrue( in_array( 'addChilds', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers dynaFormHandler::addOrUpdateChild + * @todo Implement testaddOrUpdateChild(). + */ + public function testaddOrUpdateChild() + { + if (class_exists('dynaFormHandler')) { + $methods = get_class_methods( 'dynaFormHandler'); + $this->assertTrue( in_array( 'addOrUpdateChild', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers dynaFormHandler::getArray + * @todo Implement testgetArray(). + */ + public function testgetArray() + { + if (class_exists('dynaFormHandler')) { + $methods = get_class_methods( 'dynaFormHandler'); + $this->assertTrue( in_array( 'getArray', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classfilterFormTest.php b/tests/gulliver/system/classfilterFormTest.php new file mode 100644 index 000000000..c89e0cfc2 --- /dev/null +++ b/tests/gulliver/system/classfilterFormTest.php @@ -0,0 +1,25 @@ +assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classfunctionTestTest.php b/tests/gulliver/system/classfunctionTestTest.php new file mode 100644 index 000000000..a05127bb3 --- /dev/null +++ b/tests/gulliver/system/classfunctionTestTest.php @@ -0,0 +1,37 @@ +assertTrue( in_array( 'functionTest', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers functionTest::sample + * @todo Implement testsample(). + */ + public function testsample() + { + if (class_exists('functionTest')) { + $methods = get_class_methods( 'functionTest'); + $this->assertTrue( in_array( 'sample', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classheadPublisherTest.php b/tests/gulliver/system/classheadPublisherTest.php new file mode 100644 index 000000000..0454279a5 --- /dev/null +++ b/tests/gulliver/system/classheadPublisherTest.php @@ -0,0 +1,349 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::getSingleton + * @todo Implement testgetSingleton(). + */ + public function testgetSingleton() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'getSingleton', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::setTitle + * @todo Implement testsetTitle(). + */ + public function testsetTitle() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'setTitle', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::addMaborakFile + * @todo Implement testaddMaborakFile(). + */ + public function testaddMaborakFile() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'addMaborakFile', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::addScriptFile + * @todo Implement testaddScriptFile(). + */ + public function testaddScriptFile() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'addScriptFile', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::addInstanceModule + * @todo Implement testaddInstanceModule(). + */ + public function testaddInstanceModule() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'addInstanceModule', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::addClassModule + * @todo Implement testaddClassModule(). + */ + public function testaddClassModule() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'addClassModule', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::addScriptCode + * @todo Implement testaddScriptCode(). + */ + public function testaddScriptCode() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'addScriptCode', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::printHeader + * @todo Implement testprintHeader(). + */ + public function testprintHeader() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'printHeader', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::printRawHeader + * @todo Implement testprintRawHeader(). + */ + public function testprintRawHeader() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'printRawHeader', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::clearScripts + * @todo Implement testclearScripts(). + */ + public function testclearScripts() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'clearScripts', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::includeExtJs + * @todo Implement testincludeExtJs(). + */ + public function testincludeExtJs() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'includeExtJs', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::getExtJsStylesheets + * @todo Implement testgetExtJsStylesheets(). + */ + public function testgetExtJsStylesheets() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'getExtJsStylesheets', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::getExtJsScripts + * @todo Implement testgetExtJsScripts(). + */ + public function testgetExtJsScripts() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'getExtJsScripts', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::getExtJsVariablesScript + * @todo Implement testgetExtJsVariablesScript(). + */ + public function testgetExtJsVariablesScript() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'getExtJsVariablesScript', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::getExtJsLibraries + * @todo Implement testgetExtJsLibraries(). + */ + public function testgetExtJsLibraries() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'getExtJsLibraries', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::usingExtJs + * @todo Implement testusingExtJs(). + */ + public function testusingExtJs() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'usingExtJs', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::setExtSkin + * @todo Implement testsetExtSkin(). + */ + public function testsetExtSkin() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'setExtSkin', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::addExtJsScript + * @todo Implement testaddExtJsScript(). + */ + public function testaddExtJsScript() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'addExtJsScript', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::AddContent + * @todo Implement testAddContent(). + */ + public function testAddContent() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'AddContent', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::getContent + * @todo Implement testgetContent(). + */ + public function testgetContent() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'getContent', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::Assign + * @todo Implement testAssign(). + */ + public function testAssign() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'Assign', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::AssignVar + * @todo Implement testAssignVar(). + */ + public function testAssignVar() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'AssignVar', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::getVars + * @todo Implement testgetVars(). + */ + public function testgetVars() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'getVars', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::AssignNumber + * @todo Implement testAssignNumber(). + */ + public function testAssignNumber() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'AssignNumber', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::renderExtJs + * @todo Implement testrenderExtJs(). + */ + public function testrenderExtJs() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'renderExtJs', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::stripCodeQuotes + * @todo Implement teststripCodeQuotes(). + */ + public function teststripCodeQuotes() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'stripCodeQuotes', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers headPublisher::disableHeaderScripts + * @todo Implement testdisableHeaderScripts(). + */ + public function testdisableHeaderScripts() + { + if (class_exists('headPublisher')) { + $methods = get_class_methods( 'headPublisher'); + $this->assertTrue( in_array( 'disableHeaderScripts', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classi18n_POTest.php b/tests/gulliver/system/classi18n_POTest.php new file mode 100644 index 000000000..49a4fe4ec --- /dev/null +++ b/tests/gulliver/system/classi18n_POTest.php @@ -0,0 +1,241 @@ +assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers i18n_PO::buildInit + * @todo Implement testbuildInit(). + */ + public function testbuildInit() + { + if (class_exists('i18n_PO')) { + $methods = get_class_methods( 'i18n_PO'); + $this->assertTrue( in_array( 'buildInit', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers i18n_PO::readInit + * @todo Implement testreadInit(). + */ + public function testreadInit() + { + if (class_exists('i18n_PO')) { + $methods = get_class_methods( 'i18n_PO'); + $this->assertTrue( in_array( 'readInit', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers i18n_PO::addHeader + * @todo Implement testaddHeader(). + */ + public function testaddHeader() + { + if (class_exists('i18n_PO')) { + $methods = get_class_methods( 'i18n_PO'); + $this->assertTrue( in_array( 'addHeader', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers i18n_PO::addTranslatorComment + * @todo Implement testaddTranslatorComment(). + */ + public function testaddTranslatorComment() + { + if (class_exists('i18n_PO')) { + $methods = get_class_methods( 'i18n_PO'); + $this->assertTrue( in_array( 'addTranslatorComment', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers i18n_PO::addExtractedComment + * @todo Implement testaddExtractedComment(). + */ + public function testaddExtractedComment() + { + if (class_exists('i18n_PO')) { + $methods = get_class_methods( 'i18n_PO'); + $this->assertTrue( in_array( 'addExtractedComment', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers i18n_PO::addReference + * @todo Implement testaddReference(). + */ + public function testaddReference() + { + if (class_exists('i18n_PO')) { + $methods = get_class_methods( 'i18n_PO'); + $this->assertTrue( in_array( 'addReference', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers i18n_PO::addFlag + * @todo Implement testaddFlag(). + */ + public function testaddFlag() + { + if (class_exists('i18n_PO')) { + $methods = get_class_methods( 'i18n_PO'); + $this->assertTrue( in_array( 'addFlag', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers i18n_PO::addPreviousUntranslatedString + * @todo Implement testaddPreviousUntranslatedString(). + */ + public function testaddPreviousUntranslatedString() + { + if (class_exists('i18n_PO')) { + $methods = get_class_methods( 'i18n_PO'); + $this->assertTrue( in_array( 'addPreviousUntranslatedString', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers i18n_PO::addTranslation + * @todo Implement testaddTranslation(). + */ + public function testaddTranslation() + { + if (class_exists('i18n_PO')) { + $methods = get_class_methods( 'i18n_PO'); + $this->assertTrue( in_array( 'addTranslation', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers i18n_PO::_writeLine + * @todo Implement test_writeLine(). + */ + public function test_writeLine() + { + if (class_exists('i18n_PO')) { + $methods = get_class_methods( 'i18n_PO'); + $this->assertTrue( in_array( '_writeLine', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers i18n_PO::_write + * @todo Implement test_write(). + */ + public function test_write() + { + if (class_exists('i18n_PO')) { + $methods = get_class_methods( 'i18n_PO'); + $this->assertTrue( in_array( '_write', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers i18n_PO::prepare + * @todo Implement testprepare(). + */ + public function testprepare() + { + if (class_exists('i18n_PO')) { + $methods = get_class_methods( 'i18n_PO'); + $this->assertTrue( in_array( 'prepare', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers i18n_PO::headerStroke + * @todo Implement testheaderStroke(). + */ + public function testheaderStroke() + { + if (class_exists('i18n_PO')) { + $methods = get_class_methods( 'i18n_PO'); + $this->assertTrue( in_array( 'headerStroke', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers i18n_PO::skipCommets + * @todo Implement testskipCommets(). + */ + public function testskipCommets() + { + if (class_exists('i18n_PO')) { + $methods = get_class_methods( 'i18n_PO'); + $this->assertTrue( in_array( 'skipCommets', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers i18n_PO::readHeaders + * @todo Implement testreadHeaders(). + */ + public function testreadHeaders() + { + if (class_exists('i18n_PO')) { + $methods = get_class_methods( 'i18n_PO'); + $this->assertTrue( in_array( 'readHeaders', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers i18n_PO::getHeaders + * @todo Implement testgetHeaders(). + */ + public function testgetHeaders() + { + if (class_exists('i18n_PO')) { + $methods = get_class_methods( 'i18n_PO'); + $this->assertTrue( in_array( 'getHeaders', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers i18n_PO::getTranslation + * @todo Implement testgetTranslation(). + */ + public function testgetTranslation() + { + if (class_exists('i18n_PO')) { + $methods = get_class_methods( 'i18n_PO'); + $this->assertTrue( in_array( 'getTranslation', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers i18n_PO::__destruct + * @todo Implement test__destruct(). + */ + public function test__destruct() + { + if (class_exists('i18n_PO')) { + $methods = get_class_methods( 'i18n_PO'); + $this->assertTrue( in_array( '__destruct', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classmailerTest.php b/tests/gulliver/system/classmailerTest.php new file mode 100644 index 000000000..f772debd1 --- /dev/null +++ b/tests/gulliver/system/classmailerTest.php @@ -0,0 +1,97 @@ +assertTrue( in_array( 'instanceMailer', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers mailer::arpaEMAIL + * @todo Implement testarpaEMAIL(). + */ + public function testarpaEMAIL() + { + if (class_exists('mailer')) { + $methods = get_class_methods( 'mailer'); + $this->assertTrue( in_array( 'arpaEMAIL', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers mailer::sendTemplate + * @todo Implement testsendTemplate(). + */ + public function testsendTemplate() + { + if (class_exists('mailer')) { + $methods = get_class_methods( 'mailer'); + $this->assertTrue( in_array( 'sendTemplate', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers mailer::sendHtml + * @todo Implement testsendHtml(). + */ + public function testsendHtml() + { + if (class_exists('mailer')) { + $methods = get_class_methods( 'mailer'); + $this->assertTrue( in_array( 'sendHtml', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers mailer::sendText + * @todo Implement testsendText(). + */ + public function testsendText() + { + if (class_exists('mailer')) { + $methods = get_class_methods( 'mailer'); + $this->assertTrue( in_array( 'sendText', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers mailer::replaceFields + * @todo Implement testreplaceFields(). + */ + public function testreplaceFields() + { + if (class_exists('mailer')) { + $methods = get_class_methods( 'mailer'); + $this->assertTrue( in_array( 'replaceFields', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers mailer::html2text + * @todo Implement testhtml2text(). + */ + public function testhtml2text() + { + if (class_exists('mailer')) { + $methods = get_class_methods( 'mailer'); + $this->assertTrue( in_array( 'html2text', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classobjectTemplateTest.php b/tests/gulliver/system/classobjectTemplateTest.php new file mode 100644 index 000000000..c059aa0ee --- /dev/null +++ b/tests/gulliver/system/classobjectTemplateTest.php @@ -0,0 +1,37 @@ +assertTrue( in_array( 'objectTemplate', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers objectTemplate::printObject + * @todo Implement testprintObject(). + */ + public function testprintObject() + { + if (class_exists('objectTemplate')) { + $methods = get_class_methods( 'objectTemplate'); + $this->assertTrue( in_array( 'printObject', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classpagedTableTest.php b/tests/gulliver/system/classpagedTableTest.php new file mode 100644 index 000000000..d30367c20 --- /dev/null +++ b/tests/gulliver/system/classpagedTableTest.php @@ -0,0 +1,133 @@ +assertTrue( in_array( 'analizeSql', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers pagedTable::prepareQuery + * @todo Implement testprepareQuery(). + */ + public function testprepareQuery() + { + if (class_exists('pagedTable')) { + $methods = get_class_methods( 'pagedTable'); + $this->assertTrue( in_array( 'prepareQuery', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers pagedTable::setupFromXmlform + * @todo Implement testsetupFromXmlform(). + */ + public function testsetupFromXmlform() + { + if (class_exists('pagedTable')) { + $methods = get_class_methods( 'pagedTable'); + $this->assertTrue( in_array( 'setupFromXmlform', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers pagedTable::count + * @todo Implement testcount(). + */ + public function testcount() + { + if (class_exists('pagedTable')) { + $methods = get_class_methods( 'pagedTable'); + $this->assertTrue( in_array( 'count', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers pagedTable::renderTitle + * @todo Implement testrenderTitle(). + */ + public function testrenderTitle() + { + if (class_exists('pagedTable')) { + $methods = get_class_methods( 'pagedTable'); + $this->assertTrue( in_array( 'renderTitle', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers pagedTable::renderField + * @todo Implement testrenderField(). + */ + public function testrenderField() + { + if (class_exists('pagedTable')) { + $methods = get_class_methods( 'pagedTable'); + $this->assertTrue( in_array( 'renderField', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers pagedTable::defaultStyle + * @todo Implement testdefaultStyle(). + */ + public function testdefaultStyle() + { + if (class_exists('pagedTable')) { + $methods = get_class_methods( 'pagedTable'); + $this->assertTrue( in_array( 'defaultStyle', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers pagedTable::renderTable + * @todo Implement testrenderTable(). + */ + public function testrenderTable() + { + if (class_exists('pagedTable')) { + $methods = get_class_methods( 'pagedTable'); + $this->assertTrue( in_array( 'renderTable', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers pagedTable::printForm + * @todo Implement testprintForm(). + */ + public function testprintForm() + { + if (class_exists('pagedTable')) { + $methods = get_class_methods( 'pagedTable'); + $this->assertTrue( in_array( 'printForm', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers pagedTable::var_dump2 + * @todo Implement testvar_dump2(). + */ + public function testvar_dump2() + { + if (class_exists('pagedTable')) { + $methods = get_class_methods( 'pagedTable'); + $this->assertTrue( in_array( 'var_dump2', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classsoapNtlmTest.php b/tests/gulliver/system/classsoapNtlmTest.php new file mode 100644 index 000000000..7238f4c51 --- /dev/null +++ b/tests/gulliver/system/classsoapNtlmTest.php @@ -0,0 +1,157 @@ +assertTrue( in_array( 'getuser', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers soapNtlm::getpassword + * @todo Implement testgetpassword(). + */ + public function testgetpassword() + { + if (class_exists('soapNtlm')) { + $methods = get_class_methods( 'soapNtlm'); + $this->assertTrue( in_array( 'getpassword', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers soapNtlm::stream_open + * @todo Implement teststream_open(). + */ + public function teststream_open() + { + if (class_exists('soapNtlm')) { + $methods = get_class_methods( 'soapNtlm'); + $this->assertTrue( in_array( 'stream_open', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers soapNtlm::stream_close + * @todo Implement teststream_close(). + */ + public function teststream_close() + { + if (class_exists('soapNtlm')) { + $methods = get_class_methods( 'soapNtlm'); + $this->assertTrue( in_array( 'stream_close', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers soapNtlm::stream_read + * @todo Implement teststream_read(). + */ + public function teststream_read() + { + if (class_exists('soapNtlm')) { + $methods = get_class_methods( 'soapNtlm'); + $this->assertTrue( in_array( 'stream_read', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers soapNtlm::stream_write + * @todo Implement teststream_write(). + */ + public function teststream_write() + { + if (class_exists('soapNtlm')) { + $methods = get_class_methods( 'soapNtlm'); + $this->assertTrue( in_array( 'stream_write', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers soapNtlm::stream_eof + * @todo Implement teststream_eof(). + */ + public function teststream_eof() + { + if (class_exists('soapNtlm')) { + $methods = get_class_methods( 'soapNtlm'); + $this->assertTrue( in_array( 'stream_eof', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers soapNtlm::stream_tell + * @todo Implement teststream_tell(). + */ + public function teststream_tell() + { + if (class_exists('soapNtlm')) { + $methods = get_class_methods( 'soapNtlm'); + $this->assertTrue( in_array( 'stream_tell', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers soapNtlm::stream_flush + * @todo Implement teststream_flush(). + */ + public function teststream_flush() + { + if (class_exists('soapNtlm')) { + $methods = get_class_methods( 'soapNtlm'); + $this->assertTrue( in_array( 'stream_flush', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers soapNtlm::stream_stat + * @todo Implement teststream_stat(). + */ + public function teststream_stat() + { + if (class_exists('soapNtlm')) { + $methods = get_class_methods( 'soapNtlm'); + $this->assertTrue( in_array( 'stream_stat', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers soapNtlm::url_stat + * @todo Implement testurl_stat(). + */ + public function testurl_stat() + { + if (class_exists('soapNtlm')) { + $methods = get_class_methods( 'soapNtlm'); + $this->assertTrue( in_array( 'url_stat', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers soapNtlm::createBuffer + * @todo Implement testcreateBuffer(). + */ + public function testcreateBuffer() + { + if (class_exists('soapNtlm')) { + $methods = get_class_methods( 'soapNtlm'); + $this->assertTrue( in_array( 'createBuffer', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classtestToolsTest.php b/tests/gulliver/system/classtestToolsTest.php new file mode 100644 index 000000000..6d87cfb74 --- /dev/null +++ b/tests/gulliver/system/classtestToolsTest.php @@ -0,0 +1,109 @@ +assertTrue( in_array( 'importDB', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers testTools::importLocalDB + * @todo Implement testimportLocalDB(). + */ + public function testimportLocalDB() + { + if (class_exists('testTools')) { + $methods = get_class_methods( 'testTools'); + $this->assertTrue( in_array( 'importLocalDB', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers testTools::callMethod + * @todo Implement testcallMethod(). + */ + public function testcallMethod() + { + if (class_exists('testTools')) { + $methods = get_class_methods( 'testTools'); + $this->assertTrue( in_array( 'callMethod', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers testTools::arrayAppend + * @todo Implement testarrayAppend(). + */ + public function testarrayAppend() + { + if (class_exists('testTools')) { + $methods = get_class_methods( 'testTools'); + $this->assertTrue( in_array( 'arrayAppend', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers testTools::arrayDelete + * @todo Implement testarrayDelete(). + */ + public function testarrayDelete() + { + if (class_exists('testTools')) { + $methods = get_class_methods( 'testTools'); + $this->assertTrue( in_array( 'arrayDelete', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers testTools::replaceVariables + * @todo Implement testreplaceVariables(). + */ + public function testreplaceVariables() + { + if (class_exists('testTools')) { + $methods = get_class_methods( 'testTools'); + $this->assertTrue( in_array( 'replaceVariables', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers testTools::findValue + * @todo Implement testfindValue(). + */ + public function testfindValue() + { + if (class_exists('testTools')) { + $methods = get_class_methods( 'testTools'); + $this->assertTrue( in_array( 'findValue', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers testTools::domain + * @todo Implement testdomain(). + */ + public function testdomain() + { + if (class_exists('testTools')) { + $methods = get_class_methods( 'testTools'); + $this->assertTrue( in_array( 'domain', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classunitTestTest.php b/tests/gulliver/system/classunitTestTest.php new file mode 100644 index 000000000..a9fade444 --- /dev/null +++ b/tests/gulliver/system/classunitTestTest.php @@ -0,0 +1,85 @@ +assertTrue( in_array( 'unitTest', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers unitTest::load + * @todo Implement testload(). + */ + public function testload() + { + if (class_exists('unitTest')) { + $methods = get_class_methods( 'unitTest'); + $this->assertTrue( in_array( 'load', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers unitTest::runSingle + * @todo Implement testrunSingle(). + */ + public function testrunSingle() + { + if (class_exists('unitTest')) { + $methods = get_class_methods( 'unitTest'); + $this->assertTrue( in_array( 'runSingle', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers unitTest::runMultiple + * @todo Implement testrunMultiple(). + */ + public function testrunMultiple() + { + if (class_exists('unitTest')) { + $methods = get_class_methods( 'unitTest'); + $this->assertTrue( in_array( 'runMultiple', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers unitTest::runAll + * @todo Implement testrunAll(). + */ + public function testrunAll() + { + if (class_exists('unitTest')) { + $methods = get_class_methods( 'unitTest'); + $this->assertTrue( in_array( 'runAll', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers unitTest::sampleTestFunction + * @todo Implement testsampleTestFunction(). + */ + public function testsampleTestFunction() + { + if (class_exists('unitTest')) { + $methods = get_class_methods( 'unitTest'); + $this->assertTrue( in_array( 'sampleTestFunction', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classxmlMenuTest.php b/tests/gulliver/system/classxmlMenuTest.php new file mode 100644 index 000000000..92e34a654 --- /dev/null +++ b/tests/gulliver/system/classxmlMenuTest.php @@ -0,0 +1,13 @@ +assertTrue( in_array( 'xmlformTemplate', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers xmlformTemplate::printTemplate + * @todo Implement testprintTemplate(). + */ + public function testprintTemplate() + { + if (class_exists('xmlformTemplate')) { + $methods = get_class_methods( 'xmlformTemplate'); + $this->assertTrue( in_array( 'printTemplate', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers xmlformTemplate::printJavaScript + * @todo Implement testprintJavaScript(). + */ + public function testprintJavaScript() + { + if (class_exists('xmlformTemplate')) { + $methods = get_class_methods( 'xmlformTemplate'); + $this->assertTrue( in_array( 'printJavaScript', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers xmlformTemplate::printJSFile + * @todo Implement testprintJSFile(). + */ + public function testprintJSFile() + { + if (class_exists('xmlformTemplate')) { + $methods = get_class_methods( 'xmlformTemplate'); + $this->assertTrue( in_array( 'printJSFile', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers xmlformTemplate::getFields + * @todo Implement testgetFields(). + */ + public function testgetFields() + { + if (class_exists('xmlformTemplate')) { + $methods = get_class_methods( 'xmlformTemplate'); + $this->assertTrue( in_array( 'getFields', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers xmlformTemplate::printObject + * @todo Implement testprintObject(). + */ + public function testprintObject() + { + if (class_exists('xmlformTemplate')) { + $methods = get_class_methods( 'xmlformTemplate'); + $this->assertTrue( in_array( 'printObject', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers xmlformTemplate::_get_template + * @todo Implement test_get_template(). + */ + public function test_get_template() + { + if (class_exists('xmlformTemplate')) { + $methods = get_class_methods( 'xmlformTemplate'); + $this->assertTrue( in_array( '_get_template', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers xmlformTemplate::_get_timestamp + * @todo Implement test_get_timestamp(). + */ + public function test_get_timestamp() + { + if (class_exists('xmlformTemplate')) { + $methods = get_class_methods( 'xmlformTemplate'); + $this->assertTrue( in_array( '_get_timestamp', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers xmlformTemplate::_get_secure + * @todo Implement test_get_secure(). + */ + public function test_get_secure() + { + if (class_exists('xmlformTemplate')) { + $methods = get_class_methods( 'xmlformTemplate'); + $this->assertTrue( in_array( '_get_secure', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers xmlformTemplate::_get_trusted + * @todo Implement test_get_trusted(). + */ + public function test_get_trusted() + { + if (class_exists('xmlformTemplate')) { + $methods = get_class_methods( 'xmlformTemplate'); + $this->assertTrue( in_array( '_get_trusted', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classymlDomainTest.php b/tests/gulliver/system/classymlDomainTest.php new file mode 100644 index 000000000..67afcd4cb --- /dev/null +++ b/tests/gulliver/system/classymlDomainTest.php @@ -0,0 +1,145 @@ +assertTrue( in_array( 'ymlDomain', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers ymlDomain::addDomain + * @todo Implement testaddDomain(). + */ + public function testaddDomain() + { + if (class_exists('ymlDomain')) { + $methods = get_class_methods( 'ymlDomain'); + $this->assertTrue( in_array( 'addDomain', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers ymlDomain::addDomainValue + * @todo Implement testaddDomainValue(). + */ + public function testaddDomainValue() + { + if (class_exists('ymlDomain')) { + $methods = get_class_methods( 'ymlDomain'); + $this->assertTrue( in_array( 'addDomainValue', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers ymlDomain::exists + * @todo Implement testexists(). + */ + public function testexists() + { + if (class_exists('ymlDomain')) { + $methods = get_class_methods( 'ymlDomain'); + $this->assertTrue( in_array( 'exists', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers ymlDomain::get + * @todo Implement testget(). + */ + public function testget() + { + if (class_exists('ymlDomain')) { + $methods = get_class_methods( 'ymlDomain'); + $this->assertTrue( in_array( 'get', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers ymlDomain::name2keys + * @todo Implement testname2keys(). + */ + public function testname2keys() + { + if (class_exists('ymlDomain')) { + $methods = get_class_methods( 'ymlDomain'); + $this->assertTrue( in_array( 'name2keys', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers ymlDomain::load + * @todo Implement testload(). + */ + public function testload() + { + if (class_exists('ymlDomain')) { + $methods = get_class_methods( 'ymlDomain'); + $this->assertTrue( in_array( 'load', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers ymlDomain::find + * @todo Implement testfind(). + */ + public function testfind() + { + if (class_exists('ymlDomain')) { + $methods = get_class_methods( 'ymlDomain'); + $this->assertTrue( in_array( 'find', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers ymlDomain::getNode + * @todo Implement testgetNode(). + */ + public function testgetNode() + { + if (class_exists('ymlDomain')) { + $methods = get_class_methods( 'ymlDomain'); + $this->assertTrue( in_array( 'getNode', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers ymlDomain::plainArray + * @todo Implement testplainArray(). + */ + public function testplainArray() + { + if (class_exists('ymlDomain')) { + $methods = get_class_methods( 'ymlDomain'); + $this->assertTrue( in_array( 'plainArray', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers ymlDomain::arrayAppend + * @todo Implement testarrayAppend(). + */ + public function testarrayAppend() + { + if (class_exists('ymlDomain')) { + $methods = get_class_methods( 'ymlDomain'); + $this->assertTrue( in_array( 'arrayAppend', $methods ), 'seems like this function is outside this class' ); + } + } + + } diff --git a/tests/gulliver/system/classymlTestCasesTest.php b/tests/gulliver/system/classymlTestCasesTest.php new file mode 100644 index 000000000..ac7319882 --- /dev/null +++ b/tests/gulliver/system/classymlTestCasesTest.php @@ -0,0 +1,85 @@ +assertTrue( in_array( 'ymlTestCases', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers ymlTestCases::load + * @todo Implement testload(). + */ + public function testload() + { + if (class_exists('ymlTestCases')) { + $methods = get_class_methods( 'ymlTestCases'); + $this->assertTrue( in_array( 'load', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers ymlTestCases::addToPlan + * @todo Implement testaddToPlan(). + */ + public function testaddToPlan() + { + if (class_exists('ymlTestCases')) { + $methods = get_class_methods( 'ymlTestCases'); + $this->assertTrue( in_array( 'addToPlan', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers ymlTestCases::run + * @todo Implement testrun(). + */ + public function testrun() + { + if (class_exists('ymlTestCases')) { + $methods = get_class_methods( 'ymlTestCases'); + $this->assertTrue( in_array( 'run', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers ymlTestCases::runSingle + * @todo Implement testrunSingle(). + */ + public function testrunSingle() + { + if (class_exists('ymlTestCases')) { + $methods = get_class_methods( 'ymlTestCases'); + $this->assertTrue( in_array( 'runSingle', $methods ), 'seems like this function is outside this class' ); + } + } + + /** + * @covers ymlTestCases::runMultiple + * @todo Implement testrunMultiple(). + */ + public function testrunMultiple() + { + if (class_exists('ymlTestCases')) { + $methods = get_class_methods( 'ymlTestCases'); + $this->assertTrue( in_array( 'runMultiple', $methods ), 'seems like this function is outside this class' ); + } + } + + }