ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
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 79 of file TestSetupAgent.php.

79  : Transformation
80  {
81  throw new \LogicException("Agent has no config.");
82  }

◆ getBuildObjective()

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

Definition at line 89 of file TestSetupAgent.php.

89  : Objective
90  {
91  return new NullObjective();
92  }

◆ getInstallObjective()

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

Definition at line 84 of file TestSetupAgent.php.

84  : Objective
85  {
86  return new NullObjective();
87  }

◆ getMigrations()

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

Definition at line 94 of file TestSetupAgent.php.

94  : array
95  {
96  return [
97  new CloneIntroductionAndClosingRemarksMigration()
98  ];
99  }

◆ getStatusObjective()

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

Definition at line 58 of file TestSetupAgent.php.

58  : Objective
59  {
60  return new ObjectiveCollection(
61  'ILIAS\Test',
62  true,
64  $storage,
65  new Test9DBUpdateSteps()
66  ),
68  $storage,
69  new Test10DBUpdateSteps()
70  )
71  );
72  }

◆ 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  ),
55  );
56  }

◆ hasConfig()

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

Definition at line 74 of file TestSetupAgent.php.

74  : bool
75  {
76  return false;
77  }

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