ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 27 of file class.ilTestProcessLocker.php.

Member Function Documentation

◆ executeNamedOperation()

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

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

97 : void
98 {
99 $this->onBeforeExecutingNamedOperation($operationDescriptor);
100 $this->executeOperation($operation);
101 $this->onAfterExecutingNamedOperation($operationDescriptor);
102 }
executeOperation(callable $operation)
onAfterExecutingNamedOperation(string $operationDescriptor)
onBeforeExecutingNamedOperation(string $operationDescriptor)

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

+ Here is the call graph for this function:

◆ executeOperation()

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

Reimplemented in ilTestProcessLockerDb.

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

33 {
34 $operation();
35 }

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

+ Here is the caller graph for this function:

◆ executeRandomPassBuildOperation()

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

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

66 {
67 $this->onBeforeExecutingRandomPassBuildOperation($withTaxonomyTables);
68 $this->executeOperation($operation);
69 $this->onAfterExecutingRandomPassBuildOperation($withTaxonomyTables);
70 }
onBeforeExecutingRandomPassBuildOperation($withTaxonomyTables=false)
onAfterExecutingRandomPassBuildOperation($withTaxonomyTables=false)

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

+ Here is the call graph for this function:

◆ executeTestFinishOperation()

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

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

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

Referenced by ilTestPassFinishTasks\performFinishTasks().

+ 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 40 of file class.ilTestProcessLocker.php.

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

+ Here is the call graph for this function:

◆ onAfterExecutingNamedOperation()

ilTestProcessLocker::onAfterExecutingNamedOperation ( string  $operationDescriptor)
protected

Reimplemented in ilTestProcessLockerDb, and ilTestProcessLockerFile.

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

122 : void
123 {
124 }

Referenced by executeNamedOperation().

+ Here is the caller graph for this function:

◆ onAfterExecutingRandomPassBuildOperation()

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

Reimplemented in ilTestProcessLockerFile.

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

83 {
84 }

Referenced by executeRandomPassBuildOperation().

+ Here is the caller graph for this function:

◆ onAfterExecutingTestFinishOperation()

ilTestProcessLocker::onAfterExecutingTestFinishOperation ( )
protected

Reimplemented in ilTestProcessLockerFile.

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

115 {
116 }

Referenced by executeTestFinishOperation().

+ Here is the caller graph for this function:

◆ onAfterExecutingTestStartOperation()

ilTestProcessLocker::onAfterExecutingTestStartOperation ( )
protected

Reimplemented in ilTestProcessLockerFile.

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

58 {
59 }

Referenced by executeTestStartLockOperation().

+ Here is the caller graph for this function:

◆ onBeforeExecutingNamedOperation()

ilTestProcessLocker::onBeforeExecutingNamedOperation ( string  $operationDescriptor)
protected

Reimplemented in ilTestProcessLockerDb, and ilTestProcessLockerFile.

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

118 : void
119 {
120 }

Referenced by executeNamedOperation().

+ Here is the caller graph for this function:

◆ onBeforeExecutingRandomPassBuildOperation()

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

Reimplemented in ilTestProcessLockerDb, and ilTestProcessLockerFile.

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

76 {
77 }

Referenced by executeRandomPassBuildOperation().

+ Here is the caller graph for this function:

◆ onBeforeExecutingTestFinishOperation()

ilTestProcessLocker::onBeforeExecutingTestFinishOperation ( )
protected

Reimplemented in ilTestProcessLockerDb, and ilTestProcessLockerFile.

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

108 {
109 }

Referenced by executeTestFinishOperation().

+ Here is the caller graph for this function:

◆ onBeforeExecutingTestStartOperation()

ilTestProcessLocker::onBeforeExecutingTestStartOperation ( )
protected

Reimplemented in ilTestProcessLockerDb, and ilTestProcessLockerFile.

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

51 {
52 }

Referenced by executeTestStartLockOperation().

+ Here is the caller graph for this function:

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