From 7bd57bfd9c7e7796a692fced7f004d48d8d6a977 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Wed, 6 Aug 2014 07:44:55 +1000 Subject: [PATCH] Rename a test class 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 | 4 ++-- ...HPCSLinterTestCase.php => ArcanistPhpcsLinterTestCase.php} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/lint/linter/__tests__/{ArcanistPHPCSLinterTestCase.php => ArcanistPhpcsLinterTestCase.php} (72%) diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index 38515e26..ff5c8d4c 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -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', diff --git a/src/lint/linter/__tests__/ArcanistPHPCSLinterTestCase.php b/src/lint/linter/__tests__/ArcanistPhpcsLinterTestCase.php similarity index 72% rename from src/lint/linter/__tests__/ArcanistPHPCSLinterTestCase.php rename to src/lint/linter/__tests__/ArcanistPhpcsLinterTestCase.php index bde4c8a4..a88eded6 100644 --- a/src/lint/linter/__tests__/ArcanistPHPCSLinterTestCase.php +++ b/src/lint/linter/__tests__/ArcanistPhpcsLinterTestCase.php @@ -1,6 +1,6 @@ executeTestsInDirectory(