Class MyObjectTest.
More...
Class MyObjectTest.
@backupGlobals disabled @backupStaticAttributes enabled
Definition at line 51 of file MyObjectTest.php.
◆ __construct()
MyObjectTest::__construct |
( |
| $name = '' | ) |
|
Constructor We save global variables into local variables.
- Parameters
-
Definition at line 76 of file MyObjectTest.php.
◆ setUp()
◆ setUpBeforeClass()
static MyObjectTest::setUpBeforeClass |
( |
| ) |
|
|
static |
Global test setup.
- Returns
- void No return value
Definition at line 97 of file MyObjectTest.php.
◆ tearDown()
MyObjectTest::tearDown |
( |
| ) |
|
|
protected |
Unit test teardown.
- Returns
- void No return value
Definition at line 126 of file MyObjectTest.php.
◆ tearDownAfterClass()
static MyObjectTest::tearDownAfterClass |
( |
| ) |
|
|
static |
Global test teardown.
- Returns
- void No return value
Definition at line 136 of file MyObjectTest.php.
◆ testMyObjectCreate()
MyObjectTest::testMyObjectCreate |
( |
| ) |
|
testMyObjectCreate
- Returns
- int @phan-suppress PhanUndeclaredMethod
Definition at line 173 of file MyObjectTest.php.
◆ testMyObjectDelete()
MyObjectTest::testMyObjectDelete |
( |
| $id | ) |
|
testMyObjectDelete
- Parameters
-
- Returns
- int
@depends testMyObjectCreate The depends says test is run only if previous is ok @phan-suppress PhanUndeclaredMethod
Definition at line 201 of file MyObjectTest.php.
References $id.
◆ testSomething()
MyObjectTest::testSomething |
( |
| ) |
|
A sample test.
- Returns
- bool @phan-suppress PhanUndeclaredMethod
Definition at line 151 of file MyObjectTest.php.
The documentation for this class was generated from the following file: