dolibarr 20.0.0
|
Public Member Functions | |
setUp () | |
Unit test setup. | |
testEnableDeveloperMode () | |
Test enabling developer mode. | |
testModuleEnabled () | |
Test enabling the module. | |
testConfigurationPage () | |
Test access to the configuration page. | |
testAboutPage () | |
Test access to the about page. | |
testAboutPageRendersMarkdownReadme () | |
Test about page is rendering Markdown. | |
testBoxDeclared () | |
Test box is properly declared. | |
testTriggerDeclared () | |
Test trigger is properly enabled. | |
testTriggerEnabled () | |
Test trigger is properly declared. | |
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. | |
assertPreConditions () | |
Verify pre conditions. | |
assertPostConditions () | |
Verify post conditions. | |
Private Member Functions | |
authenticate () | |
Handle Dolibarr authentication. | |
Definition at line 44 of file MyModuleFunctionalTest.php.
|
protected |
|
protected |
|
private |
Handle Dolibarr authentication.
Definition at line 130 of file MyModuleFunctionalTest.php.
Referenced by Dolibarr\test\functional\MyModuleFunctionalTest\testAboutPage(), Dolibarr\test\functional\MyModuleFunctionalTest\testAboutPageRendersMarkdownReadme(), Dolibarr\test\functional\MyModuleFunctionalTest\testBoxDeclared(), Dolibarr\test\functional\MyModuleFunctionalTest\testConfigurationPage(), Dolibarr\test\functional\MyModuleFunctionalTest\testEnableDeveloperMode(), Dolibarr\test\functional\MyModuleFunctionalTest\testModuleEnabled(), Dolibarr\test\functional\MyModuleFunctionalTest\testTriggerDeclared(), and Dolibarr\test\functional\MyModuleFunctionalTest\testTriggerEnabled().
|
protected |
Helper function to select links by href.
string | $value | Href |
Definition at line 88 of file MyModuleFunctionalTest.php.
Referenced by Dolibarr\test\functional\MyModuleFunctionalTest\testModuleEnabled().
Dolibarr\test\functional\MyModuleFunctionalTest::setUp | ( | ) |
|
static |
Dolibarr\test\functional\MyModuleFunctionalTest::tearDown | ( | ) |
|
static |
Dolibarr\test\functional\MyModuleFunctionalTest::testAboutPage | ( | ) |
Test access to the about page.
@depends testConfigurationPage
Definition at line 210 of file MyModuleFunctionalTest.php.
References Dolibarr\test\functional\MyModuleFunctionalTest\authenticate().
Dolibarr\test\functional\MyModuleFunctionalTest::testAboutPageRendersMarkdownReadme | ( | ) |
Test about page is rendering Markdown.
@depends testAboutPage
Definition at line 223 of file MyModuleFunctionalTest.php.
References Dolibarr\test\functional\MyModuleFunctionalTest\authenticate().
Dolibarr\test\functional\MyModuleFunctionalTest::testBoxDeclared | ( | ) |
Test box is properly declared.
@depends testModuleEnabled
Definition at line 240 of file MyModuleFunctionalTest.php.
References Dolibarr\test\functional\MyModuleFunctionalTest\authenticate().
Dolibarr\test\functional\MyModuleFunctionalTest::testConfigurationPage | ( | ) |
Test access to the configuration page.
@depends testModuleEnabled
Definition at line 197 of file MyModuleFunctionalTest.php.
References Dolibarr\test\functional\MyModuleFunctionalTest\authenticate().
Dolibarr\test\functional\MyModuleFunctionalTest::testEnableDeveloperMode | ( | ) |
Test enabling developer mode.
Definition at line 151 of file MyModuleFunctionalTest.php.
References Dolibarr\test\functional\MyModuleFunctionalTest\authenticate().
Dolibarr\test\functional\MyModuleFunctionalTest::testModuleEnabled | ( | ) |
Test enabling the module.
@depends testEnableDeveloperMode
Definition at line 171 of file MyModuleFunctionalTest.php.
References Dolibarr\test\functional\MyModuleFunctionalTest\authenticate(), and Dolibarr\test\functional\MyModuleFunctionalTest\byHref().
Dolibarr\test\functional\MyModuleFunctionalTest::testTriggerDeclared | ( | ) |
Test trigger is properly enabled.
@depends testModuleEnabled
Definition at line 253 of file MyModuleFunctionalTest.php.
References Dolibarr\test\functional\MyModuleFunctionalTest\authenticate().
Dolibarr\test\functional\MyModuleFunctionalTest::testTriggerEnabled | ( | ) |
Test trigger is properly declared.
@depends testTriggerDeclared
Definition at line 270 of file MyModuleFunctionalTest.php.
References Dolibarr\test\functional\MyModuleFunctionalTest\authenticate().