Page MenuHomeGitPull.it
Diviner Tech Docs PhabricatorUserEditorTestCase

final class PhabricatorUserEditorTestCase
Phorge Technical Documentation (People)

This class is not documented.

Methods

This method is not documented.
Return
wild

private function getComputedConfiguration()
Inherited

This method is not documented.
Return
wild

public function willRunTestCases($test_cases)
Inherited

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

public function didRunTestCases($test_cases)
Inherited

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

protected function willRunTests()
Inherited

This method is not documented.
Return
wild

protected function didRunTests()
Inherited

This method is not documented.
Return
wild

protected function willRunOneTest($test)
Inherited

This method is not documented.
Parameters
$test
Return
wild

protected function didRunOneTest($test)
Inherited

This method is not documented.
Parameters
$test
Return
wild

protected function newStorageFixture()
Inherited

This method is not documented.
Return
wild

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

protected function generateNewTestUser()
Inherited

This method is not documented.
Return
wild

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

This method is not documented.
Parameters
$binary
Return
wild

protected function newContentSource()
Inherited

This method is not documented.
Return
wild

public function testRegistrationEmailOK()

This method is not documented.
Return
wild
This method is not documented.
Return
wild

public function testRegistrationEmailDomain()

This method is not documented.
Return
wild
This method is not documented.
Return
wild

private function registerUser($username, $email)

This method is not documented.
Parameters
$username
$email
Return
wild

Test the destruction of one profile picture in use. This test covers the "before-destruction" engine called 'PeopleProfilePictureBeforeDestructionEngineExtension'.

Return
wild

private function attachBuiltinImage($user, $image)

Assign a profile picture to one user, starting from a builtin image. Get the resulting profile picture.

Parameters
PhabricatorUser$userUser receiving the profile picture.
string$imageBuiltin image name used as starting point.
Return
PhabricatorFileFile 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.

Parameters
PhabricatorFile$file$file
Return
void