dolibarr 21.0.0-alpha
|
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 45 of file MyModuleFunctionalTest.php.
|
protected |
|
protected |
|
private |
Handle Dolibarr authentication.
Definition at line 134 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 90 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 214 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 227 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 244 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 201 of file MyModuleFunctionalTest.php.
References Dolibarr\test\functional\MyModuleFunctionalTest\authenticate().
Dolibarr\test\functional\MyModuleFunctionalTest::testEnableDeveloperMode | ( | ) |
Test enabling developer mode.
Definition at line 155 of file MyModuleFunctionalTest.php.
References Dolibarr\test\functional\MyModuleFunctionalTest\authenticate().
Dolibarr\test\functional\MyModuleFunctionalTest::testModuleEnabled | ( | ) |
Test enabling the module.
@depends testEnableDeveloperMode
Definition at line 175 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 257 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 274 of file MyModuleFunctionalTest.php.
References Dolibarr\test\functional\MyModuleFunctionalTest\authenticate().