| 
| static  | acquire (string $framework, string $lockfilesuffix='') | 
|   | Prevent parallel test execution - this can not work in Moodle because we modify database and dataroot.  More...
  | 
|   | 
| 
static  | release (string $framework, string $lockfilesuffix='') | 
|   | Note: do not call manually! 
  | 
|   | 
 | 
| 
static array  | $lockhandles = array() | 
|   | Array of resource used for prevention of parallel test execution. 
  | 
|   | 
◆ 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:
- lib/testing/classes/test_lock.php