protected function getPhabricatorTestCaseConfiguration()Inherited
protected function getPhabricatorTestCaseConfiguration()
Inherited
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 |
private function createComment()
private function createComment()
Return
wild |
private function createHunk($old_offset, $old_len, $new_offset, $new_len, $changes)
private function createHunk($old_offset, $old_len, $new_offset, $new_len, $changes)
Parameters
$old_offset | ||
$old_len | ||
$new_offset | ||
$new_len | ||
$changes |
Return
wild |
private function createSingleChange($old_lines, $new_lines, $changes)
private function createSingleChange($old_lines, $new_lines, $changes)
Parameters
$old_lines | ||
$new_lines | ||
$changes |
Return
wild |
private function createHunksFromFile($name)
private function createHunksFromFile($name)
Parameters
$name |
Return
wild |
public function testOneLineOldComment()
public function testOneLineOldComment()
Return
wild |
public function testOneLineNewComment()
public function testOneLineNewComment()
Return
wild |
public function testCannotFindContext()
public function testCannotFindContext()
Return
wild |
public function testOverlapFromStartOfHunk()
public function testOverlapFromStartOfHunk()
Return
wild |
public function testOverlapAfterEndOfHunk()
public function testOverlapAfterEndOfHunk()
Return
wild |
public function testInclusionOfNewFileInOldCommentFromStart()
public function testInclusionOfNewFileInOldCommentFromStart()
Return
wild |
public function testInclusionOfOldFileInNewCommentFromStart()
public function testInclusionOfOldFileInNewCommentFromStart()
Return
wild |
public function testNoNewlineAtEndOfFile()
public function testNoNewlineAtEndOfFile()
Return
wild |
public function testMultiLineNewComment()
public function testMultiLineNewComment()
Return
wild |
public function testMultiLineOldComment()
public function testMultiLineOldComment()
Return
wild |
public function testInclusionOfNewFileInOldCommentFromStartWithContext()
public function testInclusionOfNewFileInOldCommentFromStartWithContext()
Return
wild |
public function testInclusionOfOldFileInNewCommentFromStartWithContext()
public function testInclusionOfOldFileInNewCommentFromStartWithContext()
Return
wild |
public function testMissingContext()
public function testMissingContext()
Return
wild |