protected function getPhabricatorTestCaseConfiguration()
protected function getPhabricatorTestCaseConfiguration()
Return
wild |
private function getComputedConfiguration()Inherited
private function getComputedConfiguration()
Inherited
Return
wild |
public function willRunTestCases($test_cases)Inherited
public function willRunTestCases($test_cases)
Inherited
Parameters
array | $test_cases |
Return
wild |
public function didRunTestCases($test_cases)Inherited
public function didRunTestCases($test_cases)
Inherited
Parameters
array | $test_cases |
Return
wild |
protected function willRunTests()Inherited
protected function willRunTests()
Inherited
Return
wild |
protected function didRunTests()Inherited
protected function didRunTests()
Inherited
Return
wild |
protected function willRunOneTest($test)
protected function willRunOneTest($test)
Parameters
$test |
Return
wild |
protected function didRunOneTest($test)Inherited
protected function didRunOneTest($test)
Inherited
Parameters
$test |
Return
wild |
protected function newStorageFixture()Inherited
protected function newStorageFixture()
Inherited
Return
wild |
protected function getNextObjectSeed()Inherited
protected function getNextObjectSeed()
Inherited
PhabricatorTestCase
Returns an integer seed to use when building unique identifiers (e.g., non-colliding usernames). The seed is unstable and its value will change between test runs, so your tests must not rely on it.
Return
int | A unique integer. |
protected function generateNewTestUser()Inherited
protected function generateNewTestUser()
Inherited
Return
wild |
public static function assertExecutingUnitTests()Inherited
public static function assertExecutingUnitTests()
Inherited
PhabricatorTestCase
Throws unless tests are currently executing. This method can be used to guard code which is specific to unit tests and should not normally be reachable.
If tests aren't currently being executed, throws an exception.
Return
wild |
protected function requireBinaryForTest($binary)Inherited
protected function requireBinaryForTest($binary)
Inherited
Parameters
$binary |
Return
wild |
protected function newContentSource()Inherited
protected function newContentSource()
Inherited
Return
wild |
public function testLeaseTask()
public function testLeaseTask()
Return
wild |
public function testMultipleLease()
public function testMultipleLease()
Return
wild |
public function testOldestFirst()
public function testOldestFirst()
Return
wild |
public function testNewBeforeLeased()
public function testNewBeforeLeased()
Return
wild |
public function testExecuteTask()
public function testExecuteTask()
Return
wild |
public function testPermanentTaskFailure()
public function testPermanentTaskFailure()
Return
wild |
public function testTemporaryTaskFailure()
public function testTemporaryTaskFailure()
Return
wild |
public function testTooManyTaskFailures()
public function testTooManyTaskFailures()
Return
wild |
public function testWaitBeforeRetry()
public function testWaitBeforeRetry()
Return
wild |
public function testRequiredLeaseTime()
public function testRequiredLeaseTime()
Return
wild |
public function testLeasedIsOldestFirst()
public function testLeasedIsOldestFirst()
Return
wild |
public function testLeasedIsLowestPriority()
public function testLeasedIsLowestPriority()
Return
wild |
private function expectNextLease($task, $message)
private function expectNextLease($task, $message)
Parameters
$task | ||
$message |
Return
wild |
private function scheduleAndExecuteTask($data, $priority)
private function scheduleAndExecuteTask($data, $priority)
Parameters
array | $data | |
$priority |
Return
wild |
private function scheduleTask($data, $priority)
private function scheduleTask($data, $priority)
Parameters
array | $data | |
$priority |
Return
wild |