[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/testing/classes/ -> test_lock.php (summary)

Tests lock

Copyright: 2012 Petr Skoda {@link http://skodak.org}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 97 lines (3 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 1 file
 lib/testing/lib.php

Defines 1 class

test_lock:: (2 methods):
  acquire()
  release()


Class: test_lock  - X-Ref

Tests lock to prevent concurrent executions of the same test suite

acquire($framework)   X-Ref
Prevent parallel test execution - this can not work in Moodle because we modify database and dataroot.

Note: do not call manually!

param: string  $framework Test framework
return: void

release($framework)   X-Ref
Note: do not call manually!

param: string  $framework phpunit|behat
return: void



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1