Tests lock.
More...
|
static | acquire (string $framework, string $lockfilesuffix='') |
| Prevent parallel test execution - this can not work in Moodle because we modify database and dataroot.
|
|
static | release (string $framework, string $lockfilesuffix='') |
| Note: do not call manually!
|
|
|
static | get_lock_handle_name (string $framework, string $lockfilesuffix) |
| Get the name of the lock handle stored in the class.
|
|
|
static array | $lockhandles = array() |
| Array of resource used for prevention of parallel test execution.
|
|
Tests lock.
- Copyright
- 2012 Petr Skoda
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later Tests lock to prevent concurrent executions of the same test suite
- Copyright
- 2012 Petr Skoda
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ acquire()
static test_lock::acquire |
( |
string | $framework, |
|
|
string | $lockfilesuffix = '' ) |
|
static |
Prevent parallel test execution - this can not work in Moodle because we modify database and dataroot.
Note: do not call manually!
◆ get_lock_handle_name()
static test_lock::get_lock_handle_name |
( |
string | $framework, |
|
|
string | $lockfilesuffix ) |
|
staticprotected |
Get the name of the lock handle stored in the class.
- Parameters
-
string | $framework | |
string | $lockfilesuffix | |
- Return values
-
The documentation for this class was generated from the following file: