ILIAS  release_8 Revision v8.23
ilTestProcessLocker Class Reference
+ Inheritance diagram for ilTestProcessLocker:
+ Collaboration diagram for ilTestProcessLocker:

Public Member Functions

 executeTestStartLockOperation (callable $operation)
 
 executeRandomPassBuildOperation (callable $operation, $withTaxonomyTables=false)
 
 executeTestFinishOperation (callable $operation)
 
 executeNamedOperation (string $operationDescriptor, callable $operation)
 

Protected Member Functions

 executeOperation (callable $operation)
 
 onBeforeExecutingTestStartOperation ()
 
 onAfterExecutingTestStartOperation ()
 
 onBeforeExecutingRandomPassBuildOperation ($withTaxonomyTables=false)
 
 onAfterExecutingRandomPassBuildOperation ($withTaxonomyTables=false)
 
 onBeforeExecutingTestFinishOperation ()
 
 onAfterExecutingTestFinishOperation ()
 
 onBeforeExecutingNamedOperation (string $operationDescriptor)
 
 onAfterExecutingNamedOperation (string $operationDescriptor)
 

Detailed Description

Definition at line 25 of file class.ilTestProcessLocker.php.

Member Function Documentation

◆ executeNamedOperation()

ilTestProcessLocker::executeNamedOperation ( string  $operationDescriptor,
callable  $operation 
)
final

Definition at line 95 of file class.ilTestProcessLocker.php.

References executeOperation(), onAfterExecutingNamedOperation(), and onBeforeExecutingNamedOperation().

95  : void
96  {
97  $this->onBeforeExecutingNamedOperation($operationDescriptor);
98  $this->executeOperation($operation);
99  $this->onAfterExecutingNamedOperation($operationDescriptor);
100  }
onAfterExecutingNamedOperation(string $operationDescriptor)
executeOperation(callable $operation)
onBeforeExecutingNamedOperation(string $operationDescriptor)
+ Here is the call graph for this function:

◆ executeOperation()

ilTestProcessLocker::executeOperation ( callable  $operation)
protected
Parameters
callable$operation

Definition at line 30 of file class.ilTestProcessLocker.php.

Referenced by executeNamedOperation(), executeRandomPassBuildOperation(), executeTestFinishOperation(), and executeTestStartLockOperation().

31  {
32  $operation();
33  }
+ Here is the caller graph for this function:

◆ executeRandomPassBuildOperation()

ilTestProcessLocker::executeRandomPassBuildOperation ( callable  $operation,
  $withTaxonomyTables = false 
)
final
Parameters
callable$operation
bool$withTaxonomyTables

Definition at line 63 of file class.ilTestProcessLocker.php.

References executeOperation(), onAfterExecutingRandomPassBuildOperation(), and onBeforeExecutingRandomPassBuildOperation().

64  {
65  $this->onBeforeExecutingRandomPassBuildOperation($withTaxonomyTables);
66  $this->executeOperation($operation);
67  $this->onAfterExecutingRandomPassBuildOperation($withTaxonomyTables);
68  }
onAfterExecutingRandomPassBuildOperation($withTaxonomyTables=false)
executeOperation(callable $operation)
onBeforeExecutingRandomPassBuildOperation($withTaxonomyTables=false)
+ Here is the call graph for this function:

◆ executeTestFinishOperation()

ilTestProcessLocker::executeTestFinishOperation ( callable  $operation)
final
Parameters
callable$operation

Definition at line 88 of file class.ilTestProcessLocker.php.

References executeOperation(), onAfterExecutingTestFinishOperation(), and onBeforeExecutingTestFinishOperation().

Referenced by ilTestPassFinishTasks\performFinishTasks().

89  {
91  $this->executeOperation($operation);
93  }
executeOperation(callable $operation)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ executeTestStartLockOperation()

ilTestProcessLocker::executeTestStartLockOperation ( callable  $operation)
final
Parameters
callable$operation

Definition at line 38 of file class.ilTestProcessLocker.php.

References executeOperation(), onAfterExecutingTestStartOperation(), and onBeforeExecutingTestStartOperation().

39  {
41  $this->executeOperation($operation);
43  }
executeOperation(callable $operation)
+ Here is the call graph for this function:

◆ onAfterExecutingNamedOperation()

ilTestProcessLocker::onAfterExecutingNamedOperation ( string  $operationDescriptor)
protected

Definition at line 120 of file class.ilTestProcessLocker.php.

Referenced by executeNamedOperation().

120  : void
121  {
122  }
+ Here is the caller graph for this function:

◆ onAfterExecutingRandomPassBuildOperation()

ilTestProcessLocker::onAfterExecutingRandomPassBuildOperation (   $withTaxonomyTables = false)
protected
Parameters
bool$withTaxonomyTables

Definition at line 80 of file class.ilTestProcessLocker.php.

Referenced by executeRandomPassBuildOperation().

81  {
82  }
+ Here is the caller graph for this function:

◆ onAfterExecutingTestFinishOperation()

ilTestProcessLocker::onAfterExecutingTestFinishOperation ( )
protected

Definition at line 112 of file class.ilTestProcessLocker.php.

Referenced by executeTestFinishOperation().

113  {
114  }
+ Here is the caller graph for this function:

◆ onAfterExecutingTestStartOperation()

ilTestProcessLocker::onAfterExecutingTestStartOperation ( )
protected

Definition at line 55 of file class.ilTestProcessLocker.php.

Referenced by executeTestStartLockOperation().

56  {
57  }
+ Here is the caller graph for this function:

◆ onBeforeExecutingNamedOperation()

ilTestProcessLocker::onBeforeExecutingNamedOperation ( string  $operationDescriptor)
protected

Definition at line 116 of file class.ilTestProcessLocker.php.

Referenced by executeNamedOperation().

116  : void
117  {
118  }
+ Here is the caller graph for this function:

◆ onBeforeExecutingRandomPassBuildOperation()

ilTestProcessLocker::onBeforeExecutingRandomPassBuildOperation (   $withTaxonomyTables = false)
protected
Parameters
bool$withTaxonomyTables

Definition at line 73 of file class.ilTestProcessLocker.php.

Referenced by executeRandomPassBuildOperation().

74  {
75  }
+ Here is the caller graph for this function:

◆ onBeforeExecutingTestFinishOperation()

ilTestProcessLocker::onBeforeExecutingTestFinishOperation ( )
protected

Definition at line 105 of file class.ilTestProcessLocker.php.

Referenced by executeTestFinishOperation().

106  {
107  }
+ Here is the caller graph for this function:

◆ onBeforeExecutingTestStartOperation()

ilTestProcessLocker::onBeforeExecutingTestStartOperation ( )
protected

Definition at line 48 of file class.ilTestProcessLocker.php.

Referenced by executeTestStartLockOperation().

49  {
50  }
+ Here is the caller graph for this function:

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