protected function getPhabricatorTestCaseConfiguration()
protected function getPhabricatorTestCaseConfiguration()
Return
| wild |
private function getComputedConfiguration()Inherited
private function getComputedConfiguration()
Inherited
Return
| wild |
public function willRunTestCases($test_cases)Inherited
public function willRunTestCases($test_cases)
Inherited
Parameters
| array | $test_cases |
Return
| wild |
public function didRunTestCases($test_cases)Inherited
public function didRunTestCases($test_cases)
Inherited
Parameters
| array | $test_cases |
Return
| wild |
protected function willRunTests()Inherited
protected function willRunTests()
Inherited
Return
| wild |
protected function didRunTests()Inherited
protected function didRunTests()
Inherited
Return
| wild |
protected function willRunOneTest($test)Inherited
protected function willRunOneTest($test)
Inherited
Parameters
| $test |
Return
| wild |
protected function didRunOneTest($test)Inherited
protected function didRunOneTest($test)
Inherited
Parameters
| $test |
Return
| wild |
protected function newStorageFixture()Inherited
protected function newStorageFixture()
Inherited
Return
| wild |
protected function getNextObjectSeed()Inherited
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
| int | A unique integer. |
protected function generateNewTestUser()Inherited
protected function generateNewTestUser()
Inherited
Return
| wild |
public static function assertExecutingUnitTests()Inherited
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
protected function requireBinaryForTest($binary)
Inherited
Parameters
| $binary |
Return
| wild |
protected function newContentSource()Inherited
protected function newContentSource()
Inherited
Return
| wild |
public function testViewProject()
public function testViewProject()
Return
| wild |
public function testApplicationPolicy()
public function testApplicationPolicy()
Return
| wild |
public function testIsViewerMemberOrWatcher()
public function testIsViewerMemberOrWatcher()
Return
| wild |
public function testEditProject()
public function testEditProject()
Return
| wild |
public function testAncestorMembers()
public function testAncestorMembers()
Return
| wild |
public function testAncestryQueries()
public function testAncestryQueries()
Return
| wild |
public function testMemberMaterialization()
public function testMemberMaterialization()
Return
| wild |
public function testMilestones()
public function testMilestones()
Return
| wild |
public function testMilestoneMembership()
public function testMilestoneMembership()
Return
| wild |
public function testSameSlugAsName()
public function testSameSlugAsName()
Return
| wild |
public function testDuplicateSlugs()
public function testDuplicateSlugs()
Return
| wild |
public function testNormalizeSlugs()
public function testNormalizeSlugs()
Return
| wild |
public function testProjectMembersVisibility()
public function testProjectMembersVisibility()
Return
| wild |
public function testParentProject()
public function testParentProject()
Return
| wild |
public function testSlugMaps()
public function testSlugMaps()
Return
| wild |
public function testJoinLeaveProject()
public function testJoinLeaveProject()
Return
| wild |
public function testComplexConstraints()
public function testComplexConstraints()
Return
| wild |
public function testTagAncestryConflicts()
public function testTagAncestryConflicts()
Return
| wild |
public function testTagMilestoneConflicts()
public function testTagMilestoneConflicts()
Return
| wild |
public function testBoardMoves()
public function testBoardMoves()
Return
| wild |
public function testMilestoneMoves()
public function testMilestoneMoves()
Return
| wild |
public function testColumnExtendedPolicies()
public function testColumnExtendedPolicies()
Return
| wild |
public function testProjectPolicyRules()
public function testProjectPolicyRules()
Return
| wild |
private function moveToColumn($viewer, $board, $task, $src, $dst, $options)
private function moveToColumn($viewer, $board, $task, $src, $dst, $options)
Parameters
| PhabricatorUser | $viewer | |
| PhabricatorProject | $board | |
| ManiphestTask | $task | |
| PhabricatorProjectColumn | $src | |
| PhabricatorProjectColumn | $dst | |
| $options |
Return
| wild |
private function assertColumns($expect, $viewer, $board, $task)
private function assertColumns($expect, $viewer, $board, $task)
Parameters
| array | $expect | |
| PhabricatorUser | $viewer | |
| PhabricatorProject | $board | |
| ManiphestTask | $task |
Return
| wild |
private function loadColumns($viewer, $board, $task)
private function loadColumns($viewer, $board, $task)
Parameters
| PhabricatorUser | $viewer | |
| PhabricatorProject | $board | |
| ManiphestTask | $task |
Return
| wild |
private function assertTasksInColumn($expect, $viewer, $board, $column, $label)
private function assertTasksInColumn($expect, $viewer, $board, $column, $label)
Parameters
| array | $expect | |
| PhabricatorUser | $viewer | |
| PhabricatorProject | $board | |
| PhabricatorProjectColumn | $column | |
| $label |
Return
| wild |
private function addColumn($viewer, $project, $sequence)
private function addColumn($viewer, $project, $sequence)
Parameters
| PhabricatorUser | $viewer | |
| PhabricatorProject | $project | |
| $sequence |
Return
| wild |
private function getTaskProjects($task)
private function getTaskProjects($task)
Parameters
| ManiphestTask | $task |
Return
| wild |
private function attemptProjectEdit($proj, $user, $skip_refresh)
private function attemptProjectEdit($proj, $user, $skip_refresh)
Parameters
| PhabricatorProject | $proj | |
| PhabricatorUser | $user | |
| $skip_refresh |
Return
| wild |
private function addProjectTags($viewer, $task, $phids)
private function addProjectTags($viewer, $task, $phids)
Parameters
| PhabricatorUser | $viewer | |
| ManiphestTask | $task | |
| array | $phids |
Return
| wild |
private function newTask($viewer, $projects, $name)
private function newTask($viewer, $projects, $name)
Parameters
| PhabricatorUser | $viewer | |
| array | $projects | |
| $name |
Return
| wild |
private function assertQueryByProjects($viewer, $expect, $projects, $label)
private function assertQueryByProjects($viewer, $expect, $projects, $label)
Parameters
| PhabricatorUser | $viewer | |
| array | $expect | |
| array | $projects | |
| $label |
Return
| wild |
private function refreshProject($project, $viewer, $need_members, $need_watchers)
private function refreshProject($project, $viewer, $need_members, $need_watchers)
Parameters
| PhabricatorProject | $project | |
| PhabricatorUser | $viewer | |
| $need_members | ||
| $need_watchers |
Return
| wild |
private function refreshColumn($viewer, $column)
private function refreshColumn($viewer, $column)
Parameters
| PhabricatorUser | $viewer | |
| PhabricatorProjectColumn | $column |
Return
| wild |
private function createProject($user, $parent, $is_milestone)
private function createProject($user, $parent, $is_milestone)
Parameters
| PhabricatorUser | $user | |
| PhabricatorProject | $parent | |
| $is_milestone |
Return
| wild |
private function setViewPolicy($project, $user, $policy)
private function setViewPolicy($project, $user, $policy)
Parameters
| PhabricatorProject | $project | |
| PhabricatorUser | $user | |
| $policy |
Return
| wild |
private function createProjectWithNewAuthor()
private function createProjectWithNewAuthor()
Return
| wild |
private function createUser()
private function createUser()
Return
| wild |
private function joinProject($project, $user)
private function joinProject($project, $user)
Parameters
| PhabricatorProject | $project | |
| PhabricatorUser | $user |
Return
| wild |
private function leaveProject($project, $user)
private function leaveProject($project, $user)
Parameters
| PhabricatorProject | $project | |
| PhabricatorUser | $user |
Return
| wild |
private function watchProject($project, $user)
private function watchProject($project, $user)
Parameters
| PhabricatorProject | $project | |
| PhabricatorUser | $user |
Return
| wild |
private function unwatchProject($project, $user)
private function unwatchProject($project, $user)
Parameters
| PhabricatorProject | $project | |
| PhabricatorUser | $user |
Return
| wild |
private function joinOrLeaveProject($project, $user, $operation)
private function joinOrLeaveProject($project, $user, $operation)
Parameters
| PhabricatorProject | $project | |
| PhabricatorUser | $user | |
| $operation |
Return
| wild |
private function watchOrUnwatchProject($project, $user, $operation)
private function watchOrUnwatchProject($project, $user, $operation)
Parameters
| PhabricatorProject | $project | |
| PhabricatorUser | $user | |
| $operation |
Return
| wild |
private function applyProjectEdgeTransaction($project, $user, $operation, $edge_type)
private function applyProjectEdgeTransaction($project, $user, $operation, $edge_type)
Parameters
| PhabricatorProject | $project | |
| PhabricatorUser | $user | |
| $operation | ||
| $edge_type |
Return
| wild |
private function applyTransactions($project, $user, $xactions)
private function applyTransactions($project, $user, $xactions)
Parameters
| PhabricatorProject | $project | |
| PhabricatorUser | $user | |
| array | $xactions |
Return
| wild |