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

Public Member Functions

 __construct ()
 Constructor We save global variables into local variables. More...
 
 testSomething ()
 A sample test. More...
 
 testMyObjectCreate ()
 testMyObjectCreate More...
 
 testMyObjectDelete ($id)
 testMyObjectDelete 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...
 
 tearDown ()
 Unit test teardown. More...
 

Detailed Description

Definition at line 45 of file MyObjectTest.php.

Constructor & Destructor Documentation

MyObjectTest::__construct ( )

Constructor We save global variables into local variables.

Returns
MyObject

Definition at line 58 of file MyObjectTest.php.

References print.

Member Function Documentation

MyObjectTest::setUp ( )
protected

Unit test setup.

Returns
void

Definition at line 90 of file MyObjectTest.php.

References print.

static MyObjectTest::setUpBeforeClass ( )
static

Global test setup.

Returns
void

Definition at line 78 of file MyObjectTest.php.

References print.

MyObjectTest::tearDown ( )
protected

Unit test teardown.

Returns
void

Definition at line 105 of file MyObjectTest.php.

References print.

static MyObjectTest::tearDownAfterClass ( )
static

Global test teardown.

Returns
void

Definition at line 114 of file MyObjectTest.php.

References print.

MyObjectTest::testMyObjectCreate ( )

testMyObjectCreate

Returns
int

Definition at line 149 of file MyObjectTest.php.

References print.

MyObjectTest::testMyObjectDelete (   $id)

testMyObjectDelete

Parameters
int$idId of object
Returns
int

testMyObjectCreate The depends says test is run only if previous is ok

Definition at line 176 of file MyObjectTest.php.

References print.

MyObjectTest::testSomething ( )

A sample test.

Returns
bool

Definition at line 128 of file MyObjectTest.php.

References print.


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