ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
ILIAS\Test\Setup\TestSetupAgent Class Reference
+ Inheritance diagram for ILIAS\Test\Setup\TestSetupAgent:
+ Collaboration diagram for ILIAS\Test\Setup\TestSetupAgent:

Public Member Functions

 getUpdateObjective (?Config $config=null)
 
 getStatusObjective (Storage $storage)
 
 hasConfig ()
 
 getArrayToConfigTransformation ()
 
 getInstallObjective (?Config $config=null)
 
 getBuildObjective ()
 
 getMigrations ()
 
- Public Member Functions inherited from ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent
 __construct (Refinery $refinery)
 
 hasConfig ()
 
 getArrayToConfigTransformation ()
 
 getInstallObjective (?Config $config=null)
 
 getUpdateObjective (?Config $config=null)
 
 getBuildObjective ()
 
 getStatusObjective (Metrics\Storage $storage)
 
 getMigrations ()
 
 getNamedObjectives (?Config $config=null)
 

Additional Inherited Members

- Protected Attributes inherited from ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent
Refinery $refinery
 

Detailed Description

Definition at line 32 of file TestSetupAgent.php.

Member Function Documentation

◆ getArrayToConfigTransformation()

ILIAS\Test\Setup\TestSetupAgent::getArrayToConfigTransformation ( )

Definition at line 93 of file TestSetupAgent.php.

93  : Transformation
94  {
95  throw new \LogicException("Agent has no config.");
96  }

◆ getBuildObjective()

ILIAS\Test\Setup\TestSetupAgent::getBuildObjective ( )

Definition at line 103 of file TestSetupAgent.php.

103  : Objective
104  {
105  return new NullObjective();
106  }

◆ getInstallObjective()

ILIAS\Test\Setup\TestSetupAgent::getInstallObjective ( ?Config  $config = null)

Definition at line 98 of file TestSetupAgent.php.

98  : Objective
99  {
100  return new NullObjective();
101  }

◆ getMigrations()

ILIAS\Test\Setup\TestSetupAgent::getMigrations ( )

Definition at line 108 of file TestSetupAgent.php.

108  : array
109  {
110  return [
111  new CloneIntroductionAndClosingRemarksMigration()
112  ];
113  }

◆ getStatusObjective()

ILIAS\Test\Setup\TestSetupAgent::getStatusObjective ( Storage  $storage)

Definition at line 68 of file TestSetupAgent.php.

68  : Objective
69  {
70  return new ObjectiveCollection(
71  'ILIAS\Test',
72  true,
74  $storage,
75  new Test9DBUpdateSteps()
76  ),
78  $storage,
79  new Test10DBUpdateSteps()
80  ),
82  $storage,
83  new ilTestNoHintsDBUpdateSteps()
84  ),
85  );
86  }

◆ getUpdateObjective()

ILIAS\Test\Setup\TestSetupAgent::getUpdateObjective ( ?Config  $config = null)

Definition at line 36 of file TestSetupAgent.php.

36  : Objective
37  {
38  return new ObjectiveCollection(
39  'Database is updated for ILIAS\Test',
40  false,
42  new Test9DBUpdateSteps()
43  ),
45  new Test10DBUpdateSteps()
46  ),
48  'tst_history_read',
49  'View History in Tests',
50  'object',
51  7200,
52  ['tst']
53  ),
56  new ilTestNoHintsDBUpdateSteps()
57  ),
59  'score_anon',
60  'Score Pseudonymously',
61  'object',
62  5000,
63  ['tst']
64  ),
65  );
66  }

◆ hasConfig()

ILIAS\Test\Setup\TestSetupAgent::hasConfig ( )

Definition at line 88 of file TestSetupAgent.php.

88  : bool
89  {
90  return false;
91  }

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