ILIAS  release_8 Revision v8.24
Test_ilDatabaseUpdateSteps Class Reference
+ Inheritance diagram for Test_ilDatabaseUpdateSteps:
+ Collaboration diagram for Test_ilDatabaseUpdateSteps:

Public Member Functions

 prepare (ilDBInterface $db)
 
 step_1 ()
 
 step_4 ()
 
 step_2 ()
 
- Public Member Functions inherited from ilDatabaseUpdateSteps
 prepare (\ilDBInterface $db)
 Prepare the execution of the steps. More...
 

Data Fields

array $called = []
 

Protected Attributes

ilDBInterface $db = null
 

Detailed Description

Member Function Documentation

◆ prepare()

Test_ilDatabaseUpdateSteps::prepare ( ilDBInterface  $db)

Definition at line 30 of file ilDatabaseUpdateStepsExecutedObjectiveTest.php.

30 : void
31 {
32 $this->db = $db;
33 }

References $db.

◆ step_1()

Test_ilDatabaseUpdateSteps::step_1 ( )

Definition at line 36 of file ilDatabaseUpdateStepsExecutedObjectiveTest.php.

36 : void
37 {
38 $this->called[] = 1;
39 // Call some function on the interface to check if this step
40 // is really called.
41 $this->db->connect();
42 }

◆ step_2()

Test_ilDatabaseUpdateSteps::step_2 ( )

Definition at line 53 of file ilDatabaseUpdateStepsExecutedObjectiveTest.php.

53 : void
54 {
55 $this->called[] = 2;
56 // Call some function on the interface to check if this step
57 // is really called.
58 $this->db->connect();
59 }

◆ step_4()

Test_ilDatabaseUpdateSteps::step_4 ( )

Definition at line 45 of file ilDatabaseUpdateStepsExecutedObjectiveTest.php.

45 : void
46 {
47 $this->called[] = 4;
48 // Call some function on the interface to check if this step
49 // is really called.
50 $this->db->connect();
51 }

Field Documentation

◆ $called

array Test_ilDatabaseUpdateSteps::$called = []

◆ $db

ilDBInterface Test_ilDatabaseUpdateSteps::$db = null
protected

Definition at line 28 of file ilDatabaseUpdateStepsExecutedObjectiveTest.php.

Referenced by prepare().


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