]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Rename a test class
authorJoshua Spence <josh@joshuaspence.com>
Tue, 5 Aug 2014 21:44:55 +0000 (07:44 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Tue, 5 Aug 2014 21:44:55 +0000 (07:44 +1000)
Summary: Rename `ArcanistPHPCSLinterTestCase` to `ArcanistPhpcsLinterTestCase` for consistency with the class being tested.

Test Plan: `arc unit`

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D10145

src/__phutil_library_map__.php
src/lint/linter/__tests__/ArcanistPhpcsLinterTestCase.php [moved from src/lint/linter/__tests__/ArcanistPHPCSLinterTestCase.php with 72% similarity]

index 38515e269fe7386975bae759c930aff5b0e099ae..ff5c8d4ccbe43423ef6a133c8bbaaea9fad74ed7 100644 (file)
@@ -128,10 +128,10 @@ phutil_register_library_map(array(
     'ArcanistNoneLintRenderer' => 'lint/renderer/ArcanistNoneLintRenderer.php',
     'ArcanistPEP8Linter' => 'lint/linter/ArcanistPEP8Linter.php',
     'ArcanistPEP8LinterTestCase' => 'lint/linter/__tests__/ArcanistPEP8LinterTestCase.php',
-    'ArcanistPHPCSLinterTestCase' => 'lint/linter/__tests__/ArcanistPHPCSLinterTestCase.php',
     'ArcanistPasteWorkflow' => 'workflow/ArcanistPasteWorkflow.php',
     'ArcanistPatchWorkflow' => 'workflow/ArcanistPatchWorkflow.php',
     'ArcanistPhpcsLinter' => 'lint/linter/ArcanistPhpcsLinter.php',
+    'ArcanistPhpcsLinterTestCase' => 'lint/linter/__tests__/ArcanistPhpcsLinterTestCase.php',
     'ArcanistPhrequentWorkflow' => 'workflow/ArcanistPhrequentWorkflow.php',
     'ArcanistPhutilLibraryLinter' => 'lint/linter/ArcanistPhutilLibraryLinter.php',
     'ArcanistPhutilTestCase' => 'unit/engine/phutil/ArcanistPhutilTestCase.php',
@@ -307,10 +307,10 @@ phutil_register_library_map(array(
     'ArcanistNoneLintRenderer' => 'ArcanistLintRenderer',
     'ArcanistPEP8Linter' => 'ArcanistExternalLinter',
     'ArcanistPEP8LinterTestCase' => 'ArcanistArcanistLinterTestCase',
-    'ArcanistPHPCSLinterTestCase' => 'ArcanistArcanistLinterTestCase',
     'ArcanistPasteWorkflow' => 'ArcanistWorkflow',
     'ArcanistPatchWorkflow' => 'ArcanistWorkflow',
     'ArcanistPhpcsLinter' => 'ArcanistExternalLinter',
+    'ArcanistPhpcsLinterTestCase' => 'ArcanistArcanistLinterTestCase',
     'ArcanistPhrequentWorkflow' => 'ArcanistWorkflow',
     'ArcanistPhutilLibraryLinter' => 'ArcanistLinter',
     'ArcanistPhutilTestCaseTestCase' => 'ArcanistPhutilTestCase',
similarity index 72%
rename from src/lint/linter/__tests__/ArcanistPHPCSLinterTestCase.php
rename to src/lint/linter/__tests__/ArcanistPhpcsLinterTestCase.php
index bde4c8a4796d4fe4a4c8bd772cc1bd165a54fc17..a88eded624888a2ce8d6bbaeb1182156fc92acf4 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-final class ArcanistPHPCSLinterTestCase extends ArcanistArcanistLinterTestCase {
+final class ArcanistPhpcsLinterTestCase extends ArcanistArcanistLinterTestCase {
 
   public function testPHPCSLint() {
     $this->executeTestsInDirectory(