dolibarr  9.0.0
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. More...
 
 testEnableDeveloperMode ()
 Test enabling developer mode. More...
 
 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. More...
 

Static Public Member Functions

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

Protected Member Functions

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

Private Member Functions

 authenticate ()
 Handle Dolibarr authentication. More...
 

Detailed Description

Definition at line 44 of file MyModuleFunctionalTest.php.

Member Function Documentation

◆ assertPostConditions()

test\functional\MyModuleFunctionalTest::assertPostConditions ( )
protected

Verify post conditions.

Returns
void

Definition at line 285 of file MyModuleFunctionalTest.php.

◆ assertPreConditions()

test\functional\MyModuleFunctionalTest::assertPreConditions ( )
protected

Verify pre conditions.

Returns
void

Definition at line 122 of file MyModuleFunctionalTest.php.

◆ authenticate()

test\functional\MyModuleFunctionalTest::authenticate ( )
private

◆ byHref()

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().

◆ setUp()

test\functional\MyModuleFunctionalTest::setUp ( )

Unit test setup.

Returns
void

Definition at line 112 of file MyModuleFunctionalTest.php.

◆ setUpBeforeClass()

static test\functional\MyModuleFunctionalTest::setUpBeforeClass ( )
static

Global test setup.

Returns
void

Definition at line 104 of file MyModuleFunctionalTest.php.

◆ tearDown()

test\functional\MyModuleFunctionalTest::tearDown ( )

Unit test teardown.

Returns
void

Definition at line 293 of file MyModuleFunctionalTest.php.

◆ tearDownAfterClass()

static test\functional\MyModuleFunctionalTest::tearDownAfterClass ( )
static

Global test teardown.

Returns
void

Definition at line 301 of file MyModuleFunctionalTest.php.

◆ testAboutPage()

test\functional\MyModuleFunctionalTest::testAboutPage ( )

Test access to the about page.

testConfigurationPage

Returns
bool

Definition at line 210 of file MyModuleFunctionalTest.php.

References test\functional\MyModuleFunctionalTest\authenticate().

◆ testAboutPageRendersMarkdownReadme()

test\functional\MyModuleFunctionalTest::testAboutPageRendersMarkdownReadme ( )

Test about page is rendering Markdown.

testAboutPage

Returns
bool

Definition at line 223 of file MyModuleFunctionalTest.php.

References test\functional\MyModuleFunctionalTest\authenticate().

◆ testBoxDeclared()

test\functional\MyModuleFunctionalTest::testBoxDeclared ( )

Test box is properly declared.

testModuleEnabled

Returns
bool

Definition at line 240 of file MyModuleFunctionalTest.php.

References test\functional\MyModuleFunctionalTest\authenticate().

◆ testConfigurationPage()

test\functional\MyModuleFunctionalTest::testConfigurationPage ( )

Test access to the configuration page.

testModuleEnabled

Returns
bool

Definition at line 197 of file MyModuleFunctionalTest.php.

References test\functional\MyModuleFunctionalTest\authenticate().

◆ testEnableDeveloperMode()

test\functional\MyModuleFunctionalTest::testEnableDeveloperMode ( )

Test enabling developer mode.

Returns
bool

Definition at line 151 of file MyModuleFunctionalTest.php.

References test\functional\MyModuleFunctionalTest\authenticate().

◆ testModuleEnabled()

test\functional\MyModuleFunctionalTest::testModuleEnabled ( )

Test enabling the module.

testEnableDeveloperMode

Returns
bool

Definition at line 171 of file MyModuleFunctionalTest.php.

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

◆ testTriggerDeclared()

test\functional\MyModuleFunctionalTest::testTriggerDeclared ( )

Test trigger is properly enabled.

testModuleEnabled

Returns
bool

Definition at line 253 of file MyModuleFunctionalTest.php.

References test\functional\MyModuleFunctionalTest\authenticate().

◆ testTriggerEnabled()

test\functional\MyModuleFunctionalTest::testTriggerEnabled ( )

Test trigger is properly declared.

testTriggerDeclared

Returns
bool

Definition at line 270 of file MyModuleFunctionalTest.php.

References test\functional\MyModuleFunctionalTest\authenticate().


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