ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
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.

References $db.

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

◆ 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


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