ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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)
 

Protected Member Functions

 executeOperation (callable $operation)
 
 onBeforeExecutingTestStartOperation ()
 
 onAfterExecutingTestStartOperation ()
 
 onBeforeExecutingRandomPassBuildOperation ($withTaxonomyTables=false)
 
 onAfterExecutingRandomPassBuildOperation ($withTaxonomyTables=false)
 
 onBeforeExecutingTestFinishOperation ()
 
 onAfterExecutingTestFinishOperation ()
 

Detailed Description

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

Member Function Documentation

◆ executeOperation()

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

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

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

16  {
17  $operation();
18  }
+ Here is the caller graph for this function:

◆ executeRandomPassBuildOperation()

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

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

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

49  {
50  $this->onBeforeExecutingRandomPassBuildOperation($withTaxonomyTables);
51  $this->executeOperation($operation);
52  $this->onAfterExecutingRandomPassBuildOperation($withTaxonomyTables);
53  }
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 73 of file class.ilTestProcessLocker.php.

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

Referenced by ilTestPassFinishTasks\performFinishTasks().

74  {
76  $this->executeOperation($operation);
78  }
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 23 of file class.ilTestProcessLocker.php.

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

24  {
26  $this->executeOperation($operation);
28  }
executeOperation(callable $operation)
+ Here is the call graph for this function:

◆ onAfterExecutingRandomPassBuildOperation()

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

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

Referenced by executeRandomPassBuildOperation().

66  {
67  }
+ Here is the caller graph for this function:

◆ onAfterExecutingTestFinishOperation()

ilTestProcessLocker::onAfterExecutingTestFinishOperation ( )
protected

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

Referenced by executeTestFinishOperation().

91  {
92  }
+ Here is the caller graph for this function:

◆ onAfterExecutingTestStartOperation()

ilTestProcessLocker::onAfterExecutingTestStartOperation ( )
protected

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

Referenced by executeTestStartLockOperation().

41  {
42  }
+ Here is the caller graph for this function:

◆ onBeforeExecutingRandomPassBuildOperation()

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

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

Referenced by executeRandomPassBuildOperation().

59  {
60  }
+ Here is the caller graph for this function:

◆ onBeforeExecutingTestFinishOperation()

ilTestProcessLocker::onBeforeExecutingTestFinishOperation ( )
protected

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

Referenced by executeTestFinishOperation().

84  {
85  }
+ Here is the caller graph for this function:

◆ onBeforeExecutingTestStartOperation()

ilTestProcessLocker::onBeforeExecutingTestStartOperation ( )
protected

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

Referenced by executeTestStartLockOperation().

34  {
35  }
+ Here is the caller graph for this function:

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