protected function getPhabricatorTestCaseConfiguration()
| wild |
private function getComputedConfiguration()Inherited
| wild |
public function willRunTestCases($test_cases)Inherited
| array | $test_cases |
| wild |
public function didRunTestCases($test_cases)Inherited
| array | $test_cases |
| wild |
protected function willRunTests()Inherited
| wild |
protected function didRunTests()Inherited
| wild |
protected function willRunOneTest($test)Inherited
| $test |
| wild |
protected function didRunOneTest($test)Inherited
| $test |
| wild |
protected function newStorageFixture()Inherited
| wild |
protected function getNextObjectSeed()Inherited
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.
| int | A unique integer. |
protected function generateNewTestUser()Inherited
| wild |
public static function assertExecutingUnitTests()Inherited
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.
| wild |
protected function requireBinaryForTest($binary)Inherited
| $binary |
| wild |
protected function newContentSource()Inherited
| wild |
public function testRegistrationEmailOK()
| wild |
public function testRegistrationEmailInvalid()
| wild |
public function testRegistrationEmailDomain()
| wild |
public function testRegistrationEmailApplicationEmailCollide()
| wild |
private function registerUser($username, $email)
| $username | ||
| wild |
public function testProfilePictureDestruction()
Test the destruction of one profile picture in use. This test covers the "before-destruction" engine called 'PeopleProfilePictureBeforeDestructionEngineExtension'.
| wild |
private function attachBuiltinImage($user, $image)
Assign a profile picture to one user, starting from a builtin image. Get the resulting profile picture.
| PhabricatorUser | $user | User receiving the profile picture. |
| string | $image | Builtin image name used as starting point. |
| PhabricatorFile | File transform used as profile picture. |
private function detachFileFromAllObjects($file)
Detach a file from all objects. For example if the file was shown as attachment in the user profile page, this file will be not anymore, like you clicked on the 'Detach' button.
| PhabricatorFile | $file | $file |
| void |