ILIAS  trunk Revision v11.0_alpha-1846-g895b5f47236
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator 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 29 of file ilDatabaseUpdateStepsExecutedObjectiveTest.php.

References $db.

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

◆ step_1()

Test_ilDatabaseUpdateSteps::step_1 ( )

Definition at line 35 of file ilDatabaseUpdateStepsExecutedObjectiveTest.php.

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

◆ step_2()

Test_ilDatabaseUpdateSteps::step_2 ( )

Definition at line 52 of file ilDatabaseUpdateStepsExecutedObjectiveTest.php.

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

◆ step_4()

Test_ilDatabaseUpdateSteps::step_4 ( )

Definition at line 44 of file ilDatabaseUpdateStepsExecutedObjectiveTest.php.

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

Field Documentation

◆ $called

array Test_ilDatabaseUpdateSteps::$called = []

◆ $db


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