dolibarr 21.0.0-beta
|
Class MyObjectTest. More...
Public Member Functions | |
__construct ($name='') | |
Constructor We save global variables into local variables. | |
testSomething () | |
A sample test. | |
testMyObjectCreate () | |
testMyObjectCreate | |
testMyObjectDelete ($id) | |
testMyObjectDelete | |
Static Public Member Functions | |
static | setUpBeforeClass () |
Global test setup. | |
static | tearDownAfterClass () |
Global test teardown. | |
Protected Member Functions | |
setUp () | |
Unit test setup. | |
tearDown () | |
Unit test teardown. | |
Class MyObjectTest.
@backupGlobals disabled @backupStaticAttributes enabled
Definition at line 51 of file MyObjectTest.php.
MyObjectTest::__construct | ( | $name = '' | ) |
Constructor We save global variables into local variables.
string | $name | Name |
Definition at line 76 of file MyObjectTest.php.
References $conf.
|
protected |
Unit test setup.
Definition at line 110 of file MyObjectTest.php.
References $conf.
|
static |
Global test setup.
Definition at line 97 of file MyObjectTest.php.
References $conf.
|
protected |
|
static |
Global test teardown.
Definition at line 136 of file MyObjectTest.php.
References $conf.
MyObjectTest::testMyObjectCreate | ( | ) |
testMyObjectCreate
Definition at line 173 of file MyObjectTest.php.
References $conf.
MyObjectTest::testMyObjectDelete | ( | $id | ) |
testMyObjectDelete
int | $id | Id of object |
@depends testMyObjectCreate The depends says test is run only if previous is ok @phan-suppress PhanUndeclaredMethod
Definition at line 201 of file MyObjectTest.php.
MyObjectTest::testSomething | ( | ) |
A sample test.
Definition at line 151 of file MyObjectTest.php.
References $conf.