Page MenuHomeClusterLabs Projects
Diviner Tech Docs PhabricatorTestCase

abstract class PhabricatorTestCase
Phorge Technical Documentation ()

This class is not documented.

Methods

This method is not documented.
Return
wild

private function getComputedConfiguration()

This method is not documented.
Return
wild

public function willRunTestCases($test_cases)

This method is not documented.
Parameters
array$test_cases
Return
wild

public function didRunTestCases($test_cases)

This method is not documented.
Parameters
array$test_cases
Return
wild

protected function willRunTests()

This method is not documented.
Return
wild

protected function didRunTests()

This method is not documented.
Return
wild

protected function willRunOneTest($test)

This method is not documented.
Parameters
$test
Return
wild

protected function didRunOneTest($test)

This method is not documented.
Parameters
$test
Return
wild

protected function newStorageFixture()

This method is not documented.
Return
wild

protected function getNextObjectSeed()

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
intA unique integer.

protected function generateNewTestUser()

This method is not documented.
Return
wild

public static function assertExecutingUnitTests()

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)

This method is not documented.
Parameters
$binary
Return
wild

protected function newContentSource()

This method is not documented.
Return
wild