dolibarr
x.y.z
|
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... | |
Definition at line 44 of file MyModuleFunctionalTest.php.
|
protected |
|
protected |
|
private |
Handle Dolibarr authentication.
Definition at line 130 of file MyModuleFunctionalTest.php.
Referenced by test\functional\MyModuleFunctionalTest\testAboutPage(), test\functional\MyModuleFunctionalTest\testAboutPageRendersMarkdownReadme(), test\functional\MyModuleFunctionalTest\testBoxDeclared(), test\functional\MyModuleFunctionalTest\testConfigurationPage(), test\functional\MyModuleFunctionalTest\testEnableDeveloperMode(), test\functional\MyModuleFunctionalTest\testModuleEnabled(), test\functional\MyModuleFunctionalTest\testTriggerDeclared(), and 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 test\functional\MyModuleFunctionalTest\testModuleEnabled().
test\functional\MyModuleFunctionalTest::setUp | ( | ) |
|
static |
test\functional\MyModuleFunctionalTest::tearDown | ( | ) |
|
static |
test\functional\MyModuleFunctionalTest::testAboutPage | ( | ) |
Test access to the about page.
@depends testConfigurationPage
Definition at line 210 of file MyModuleFunctionalTest.php.
References test\functional\MyModuleFunctionalTest\authenticate().
test\functional\MyModuleFunctionalTest::testAboutPageRendersMarkdownReadme | ( | ) |
Test about page is rendering Markdown.
@depends testAboutPage
Definition at line 223 of file MyModuleFunctionalTest.php.
References test\functional\MyModuleFunctionalTest\authenticate().
test\functional\MyModuleFunctionalTest::testBoxDeclared | ( | ) |
Test box is properly declared.
@depends testModuleEnabled
Definition at line 240 of file MyModuleFunctionalTest.php.
References test\functional\MyModuleFunctionalTest\authenticate().
test\functional\MyModuleFunctionalTest::testConfigurationPage | ( | ) |
Test access to the configuration page.
@depends testModuleEnabled
Definition at line 197 of file MyModuleFunctionalTest.php.
References test\functional\MyModuleFunctionalTest\authenticate().
test\functional\MyModuleFunctionalTest::testEnableDeveloperMode | ( | ) |
Test enabling developer mode.
Definition at line 151 of file MyModuleFunctionalTest.php.
References test\functional\MyModuleFunctionalTest\authenticate().
test\functional\MyModuleFunctionalTest::testModuleEnabled | ( | ) |
Test enabling the module.
@depends testEnableDeveloperMode
Definition at line 171 of file MyModuleFunctionalTest.php.
References test\functional\MyModuleFunctionalTest\authenticate(), and test\functional\MyModuleFunctionalTest\byHref().
test\functional\MyModuleFunctionalTest::testTriggerDeclared | ( | ) |
Test trigger is properly enabled.
@depends testModuleEnabled
Definition at line 253 of file MyModuleFunctionalTest.php.
References test\functional\MyModuleFunctionalTest\authenticate().
test\functional\MyModuleFunctionalTest::testTriggerEnabled | ( | ) |
Test trigger is properly declared.
@depends testTriggerDeclared
Definition at line 270 of file MyModuleFunctionalTest.php.
References test\functional\MyModuleFunctionalTest\authenticate().