]> khamidou — GitHub mirrors - arcanist.git/commit
Remove getLink() from ArcanistLinterTestCase
authorvrana <jakubv@fb.com>
Sat, 3 Nov 2012 01:09:38 +0000 (18:09 -0700)
committervrana <jakubv@fb.com>
Wed, 7 Nov 2012 18:12:24 +0000 (10:12 -0800)
commitac92f9bdfc7a72e5e2106f8e56ef086568397835
tree1d72bf1e10d98bccdd59b182568b186a7c1a2ae2
parent53c916795368784aa0b3e7904046110076035a34
Remove getLink() from ArcanistLinterTestCase

Summary:
Installations extend this.

Another solution would be to extend `ArcanistLinterTestCase` from `ArcanistArcanistLinterTestCase` and return null in `getLink()` to avoid code duplication but I prefer clean class hierarchy.

Test Plan:
  $ arc unit

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D3878
src/__phutil_library_map__.php
src/lint/linter/__tests__/ArcanistApacheLicenseLinterTestCase.php
src/lint/linter/__tests__/ArcanistArcanistLinterTestCase.php [new file with mode: 0644]
src/lint/linter/__tests__/ArcanistLinterTestCase.php
src/lint/linter/__tests__/ArcanistRubyLinterTestCase.php
src/lint/linter/__tests__/ArcanistSpellingLinterTestCase.php
src/lint/linter/__tests__/ArcanistTextLinterTestCase.php
src/lint/linter/__tests__/ArcanistXHPASTLinterTestCase.php