|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Fixture of the MigratedLanguageFileSyncLock*Test classes: a throwaway client data directory and the helpers to run lock scenarios in child PHP processes. More...
Inheritance diagram for MigratedLanguageFileSyncLockTestCase:
Collaboration diagram for MigratedLanguageFileSyncLockTestCase:Protected Member Functions | |
| setUp () | |
| tearDown () | |
| lockFile () | |
| seedLockDirectory () | |
Forces withOverlayLock() to take a real lock without needing a shipped .po: the overlay directory already existing is enough (see withOverlayLock()'s early-return condition). More... | |
| runPhpWithTimeout (string $code, float $timeout_seconds) | |
| Runs $code in a child PHP process and kills it after $timeout_seconds, so a regression that deadlocks fails the test instead of hanging the suite. More... | |
Protected Attributes | |
| const string | MODULE = 'stest' |
| string | $client_data_dir |
| LanguageFileDirectory | $directory |
| LanguageFileDirectoryManager | $manager |
Fixture of the MigratedLanguageFileSyncLock*Test classes: a throwaway client data directory and the helpers to run lock scenarios in child PHP processes.
Definition at line 30 of file MigratedLanguageFileSyncLockTestCase.php.
|
protected |
Definition at line 65 of file MigratedLanguageFileSyncLockTestCase.php.
References MigratedPoFixture\overlayBase(), and MigratedPoFixture\overlayLock().
Referenced by seedLockDirectory().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Runs $code in a child PHP process and kills it after $timeout_seconds, so a regression that deadlocks fails the test instead of hanging the suite.
Definition at line 85 of file MigratedLanguageFileSyncLockTestCase.php.
References ChildPhp\open().
Here is the call graph for this function:
|
protected |
Forces withOverlayLock() to take a real lock without needing a shipped .po: the overlay directory already existing is enough (see withOverlayLock()'s early-return condition).
Definition at line 74 of file MigratedLanguageFileSyncLockTestCase.php.
References lockFile().
Here is the call graph for this function:
|
protected |
Definition at line 42 of file MigratedLanguageFileSyncLockTestCase.php.
References MigratedPoFixture\directory(), MigratedPoFixture\resetRuntime(), and setUp().
Here is the call graph for this function:
|
protected |
Definition at line 58 of file MigratedLanguageFileSyncLockTestCase.php.
References MigratedPoFixture\removeDirectory(), and tearDown().
Here is the call graph for this function:
|
protected |
Definition at line 36 of file MigratedLanguageFileSyncLockTestCase.php.
|
protected |
Definition at line 38 of file MigratedLanguageFileSyncLockTestCase.php.
|
protected |
Definition at line 40 of file MigratedLanguageFileSyncLockTestCase.php.
|
protected |
Definition at line 34 of file MigratedLanguageFileSyncLockTestCase.php.