Page MenuHomeClusterLabs Projects
Diviner Tech Docs PhabricatorAuthInviteTestCase

final class PhabricatorAuthInviteTestCase
Phorge Technical Documentation (Auth)

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 testInvalidInvite()

Test that invalid invites can not be accepted.

Return
wild

public function testDuplicateInvite()

Test that invites can be accepted exactly once.

Return
wild

public function testInviteWithNewEmail()

Test easy invite cases, where the email is not anywhere in the system.

Return
wild

public function testInviteWithKnownEmail()

Test hard invite cases, where the email is already known and attached to some user account.

Return
wild

private function generateUser()

This method is not documented.
Return
wild

private function generateEngine($viewer)

This method is not documented.
Parameters
PhabricatorUser$viewer
Return
wild

private function generateEmail($user, $is_verified, $is_primary)

This method is not documented.
Parameters
PhabricatorUser$user
$is_verified
$is_primary
Return
wild