Page MenuHomeClusterLabs Projects
Diviner Tech Docs PhabricatorProjectCoreTestCase

final class PhabricatorProjectCoreTestCase
Phorge Technical Documentation (Projects)

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

This method is not documented.
Return
wild

public function testApplicationPolicy()

This method is not documented.
Return
wild

public function testIsViewerMemberOrWatcher()

This method is not documented.
Return
wild

public function testEditProject()

This method is not documented.
Return
wild

public function testAncestorMembers()

This method is not documented.
Return
wild

public function testAncestryQueries()

This method is not documented.
Return
wild

public function testMemberMaterialization()

This method is not documented.
Return
wild

public function testMilestones()

This method is not documented.
Return
wild

public function testMilestoneMembership()

This method is not documented.
Return
wild

public function testSameSlugAsName()

This method is not documented.
Return
wild

public function testDuplicateSlugs()

This method is not documented.
Return
wild

public function testNormalizeSlugs()

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

public function testParentProject()

This method is not documented.
Return
wild

public function testSlugMaps()

This method is not documented.
Return
wild

public function testJoinLeaveProject()

This method is not documented.
Return
wild

public function testComplexConstraints()

This method is not documented.
Return
wild

public function testTagAncestryConflicts()

This method is not documented.
Return
wild

public function testTagMilestoneConflicts()

This method is not documented.
Return
wild

public function testBoardMoves()

This method is not documented.
Return
wild

public function testMilestoneMoves()

This method is not documented.
Return
wild

public function testColumnExtendedPolicies()

This method is not documented.
Return
wild

public function testProjectPolicyRules()

This method is not documented.
Return
wild

private function moveToColumn($viewer, $board, $task, $src, $dst, $options)

This method is not documented.
Parameters
PhabricatorUser$viewer
PhabricatorProject$board
ManiphestTask$task
PhabricatorProjectColumn$src
PhabricatorProjectColumn$dst
$options
Return
wild

private function assertColumns($expect, $viewer, $board, $task)

This method is not documented.
Parameters
array$expect
PhabricatorUser$viewer
PhabricatorProject$board
ManiphestTask$task
Return
wild

private function loadColumns($viewer, $board, $task)

This method is not documented.
Parameters
PhabricatorUser$viewer
PhabricatorProject$board
ManiphestTask$task
Return
wild

private function assertTasksInColumn($expect, $viewer, $board, $column, $label)

This method is not documented.
Parameters
array$expect
PhabricatorUser$viewer
PhabricatorProject$board
PhabricatorProjectColumn$column
$label
Return
wild

private function addColumn($viewer, $project, $sequence)

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

private function getTaskProjects($task)

This method is not documented.
Parameters
ManiphestTask$task
Return
wild

private function attemptProjectEdit($proj, $user, $skip_refresh)

This method is not documented.
Parameters
PhabricatorProject$proj
PhabricatorUser$user
$skip_refresh
Return
wild

private function addProjectTags($viewer, $task, $phids)

This method is not documented.
Parameters
PhabricatorUser$viewer
ManiphestTask$task
array$phids
Return
wild

private function newTask($viewer, $projects, $name)

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

private function assertQueryByProjects($viewer, $expect, $projects, $label)

This method is not documented.
Parameters
PhabricatorUser$viewer
array$expect
array$projects
$label
Return
wild

private function refreshProject($project, $viewer, $need_members, $need_watchers)

This method is not documented.
Parameters
PhabricatorProject$project
PhabricatorUser$viewer
$need_members
$need_watchers
Return
wild

private function refreshColumn($viewer, $column)

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

private function createProject($user, $parent, $is_milestone)

This method is not documented.
Parameters
PhabricatorUser$user
PhabricatorProject$parent
$is_milestone
Return
wild

private function setViewPolicy($project, $user, $policy)

This method is not documented.
Parameters
PhabricatorProject$project
PhabricatorUser$user
$policy
Return
wild

private function createProjectWithNewAuthor()

This method is not documented.
Return
wild

private function createUser()

This method is not documented.
Return
wild

private function joinProject($project, $user)

This method is not documented.
Parameters
PhabricatorProject$project
PhabricatorUser$user
Return
wild

private function leaveProject($project, $user)

This method is not documented.
Parameters
PhabricatorProject$project
PhabricatorUser$user
Return
wild

private function watchProject($project, $user)

This method is not documented.
Parameters
PhabricatorProject$project
PhabricatorUser$user
Return
wild

private function unwatchProject($project, $user)

This method is not documented.
Parameters
PhabricatorProject$project
PhabricatorUser$user
Return
wild

private function joinOrLeaveProject($project, $user, $operation)

This method is not documented.
Parameters
PhabricatorProject$project
PhabricatorUser$user
$operation
Return
wild

private function watchOrUnwatchProject($project, $user, $operation)

This method is not documented.
Parameters
PhabricatorProject$project
PhabricatorUser$user
$operation
Return
wild

private function applyProjectEdgeTransaction($project, $user, $operation, $edge_type)

This method is not documented.
Parameters
PhabricatorProject$project
PhabricatorUser$user
$operation
$edge_type
Return
wild

private function applyTransactions($project, $user, $xactions)

This method is not documented.
Parameters
PhabricatorProject$project
PhabricatorUser$user
array$xactions
Return
wild