dolibarr  7.0.0-beta
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
test\functional\MyModuleFunctionalTest Class Reference
+ Inheritance diagram for test\functional\MyModuleFunctionalTest:
+ Collaboration diagram for test\functional\MyModuleFunctionalTest:

Public Member Functions

 setUp ()
 Unit test setup.
 
 testEnableDeveloperMode ()
 Test enabling developer mode.
 
 testModuleEnabled ()
 Test enabling the module. More...
 
 testConfigurationPage ()
 Test access to the configuration page. More...
 
 testAboutPage ()
 Test access to the about page. More...
 
 testAboutPageRendersMarkdownReadme ()
 Test about page is rendering Markdown. More...
 
 testBoxDeclared ()
 Test box is properly declared. More...
 
 testTriggerDeclared ()
 Test trigger is properly enabled. More...
 
 testTriggerEnabled ()
 Test trigger is properly declared. More...
 
 tearDown ()
 Unit test teardown.
 

Static Public Member Functions

static setUpBeforeClass ()
 Global test setup.
 
static tearDownAfterClass ()
 Global test teardown.
 

Protected Member Functions

 byHref ($value)
 Helper function to select links by href. More...
 
 assertPreConditions ()
 Verify pre conditions.
 
 assertPostConditions ()
 Verify post conditions.
 

Private Member Functions

 authenticate ()
 Handle Dolibarr authentication.
 

Detailed Description

Definition at line 44 of file MyModuleFunctionalTest.php.

Member Function Documentation

test\functional\MyModuleFunctionalTest::byHref (   $value)
protected

Helper function to select links by href.

Parameters
string$valueHref
Returns
mixed Helper string

Definition at line 88 of file MyModuleFunctionalTest.php.

Referenced by test\functional\MyModuleFunctionalTest\testModuleEnabled().

test\functional\MyModuleFunctionalTest::testAboutPage ( )

Test access to the about page.

testConfigurationPage

Definition at line 202 of file MyModuleFunctionalTest.php.

References test\functional\MyModuleFunctionalTest\authenticate().

test\functional\MyModuleFunctionalTest::testAboutPageRendersMarkdownReadme ( )

Test about page is rendering Markdown.

testAboutPage

Definition at line 214 of file MyModuleFunctionalTest.php.

References test\functional\MyModuleFunctionalTest\authenticate().

test\functional\MyModuleFunctionalTest::testBoxDeclared ( )

Test box is properly declared.

testModuleEnabled

Definition at line 230 of file MyModuleFunctionalTest.php.

References test\functional\MyModuleFunctionalTest\authenticate().

test\functional\MyModuleFunctionalTest::testConfigurationPage ( )

Test access to the configuration page.

testModuleEnabled

Definition at line 190 of file MyModuleFunctionalTest.php.

References test\functional\MyModuleFunctionalTest\authenticate().

test\functional\MyModuleFunctionalTest::testModuleEnabled ( )

Test enabling the module.

testEnableDeveloperMode

Definition at line 165 of file MyModuleFunctionalTest.php.

References test\functional\MyModuleFunctionalTest\authenticate(), and test\functional\MyModuleFunctionalTest\byHref().

test\functional\MyModuleFunctionalTest::testTriggerDeclared ( )

Test trigger is properly enabled.

testModuleEnabled

Definition at line 242 of file MyModuleFunctionalTest.php.

References test\functional\MyModuleFunctionalTest\authenticate().

test\functional\MyModuleFunctionalTest::testTriggerEnabled ( )

Test trigger is properly declared.

testTriggerDeclared

Definition at line 258 of file MyModuleFunctionalTest.php.

References test\functional\MyModuleFunctionalTest\authenticate().


The documentation for this class was generated from the following file: