dolibarr  9.0.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
test\unit\MyObjectTest Class Reference
+ Inheritance diagram for test\unit\MyObjectTest:
+ Collaboration diagram for test\unit\MyObjectTest:

Public Member Functions

 testSomething ()
 A sample test. More...
 

Static Public Member Functions

static setUpBeforeClass ()
 Global test setup. More...
 
static tearDownAfterClass ()
 Global test teardown. More...
 

Protected Member Functions

 setUp ()
 Unit test setup. More...
 
 assertPreConditions ()
 Verify pre conditions. More...
 
 assertPostConditions ()
 Verify post conditions. More...
 
 tearDown ()
 Unit test teardown. More...
 
 onNotSuccessfulTest (Exception $e)
 Unsuccessful test. More...
 

Detailed Description

Definition at line 31 of file MyObjectTest.php.

Member Function Documentation

◆ assertPostConditions()

test\unit\MyObjectTest::assertPostConditions ( )
protected

Verify post conditions.

Returns
void

Definition at line 75 of file MyObjectTest.php.

◆ assertPreConditions()

test\unit\MyObjectTest::assertPreConditions ( )
protected

Verify pre conditions.

Returns
void

Definition at line 55 of file MyObjectTest.php.

◆ onNotSuccessfulTest()

test\unit\MyObjectTest::onNotSuccessfulTest ( Exception  $e)
protected

Unsuccessful test.

Parameters
Exception$eException
Returns
void
Exceptions
Exception

Definition at line 105 of file MyObjectTest.php.

◆ setUp()

test\unit\MyObjectTest::setUp ( )
protected

Unit test setup.

Returns
void

Definition at line 46 of file MyObjectTest.php.

◆ setUpBeforeClass()

static test\unit\MyObjectTest::setUpBeforeClass ( )
static

Global test setup.

Returns
void

Definition at line 37 of file MyObjectTest.php.

◆ tearDown()

test\unit\MyObjectTest::tearDown ( )
protected

Unit test teardown.

Returns
void

Definition at line 84 of file MyObjectTest.php.

◆ tearDownAfterClass()

static test\unit\MyObjectTest::tearDownAfterClass ( )
static

Global test teardown.

Returns
void

Definition at line 93 of file MyObjectTest.php.

◆ testSomething()

test\unit\MyObjectTest::testSomething ( )

A sample test.

Returns
bool

Definition at line 64 of file MyObjectTest.php.


The documentation for this class was generated from the following file: