Method | Description | |
---|---|---|
provideTestCodeNotExecuted ( ) : callable[][] | Returns checks for testCodeNotExecuted(). | |
testCheckFailsAcquiresNoLock ( ) | Tests that the lock will not be acquired for a failing test. | |
testCodeExecuted ( ) | Tests that the code executed if the checks are true. | |
testCodeNotExecuted ( callable $check ) | Tests that the code is not executed if the first or second check fails. | |
testLockedCheckAndExecution ( ) | Tests that the check and execution are in the same lock. |
Method | Description | |
---|---|---|
setUp ( ) |
public provideTestCodeNotExecuted ( ) : callable[][] | ||
return | callable[][] | The test cases. |
public testCheckFailsAcquiresNoLock ( ) |
public testCodeExecuted ( ) |
public testCodeNotExecuted ( callable $check ) | ||
$check | callable | The check. |
public testLockedCheckAndExecution ( ) |