Page MenuHomePhabricator

D11200.id26873.diff
No OneTemporary

D11200.id26873.diff

diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -180,6 +180,7 @@
'ArcanistUnitRenderer' => 'unit/renderer/ArcanistUnitRenderer.php',
'ArcanistUnitTestEngine' => 'unit/engine/ArcanistUnitTestEngine.php',
'ArcanistUnitTestResult' => 'unit/ArcanistUnitTestResult.php',
+ 'ArcanistUnitTestableLintEngine' => 'lint/engine/ArcanistUnitTestableLintEngine.php',
'ArcanistUnitWorkflow' => 'workflow/ArcanistUnitWorkflow.php',
'ArcanistUpgradeWorkflow' => 'workflow/ArcanistUpgradeWorkflow.php',
'ArcanistUploadWorkflow' => 'workflow/ArcanistUploadWorkflow.php',
@@ -209,7 +210,6 @@
'PhutilUnitTestEngine' => 'unit/engine/PhutilUnitTestEngine.php',
'PhutilUnitTestEngineTestCase' => 'unit/engine/__tests__/PhutilUnitTestEngineTestCase.php',
'PytestTestEngine' => 'unit/engine/PytestTestEngine.php',
- 'UnitTestableArcanistLintEngine' => 'lint/engine/UnitTestableArcanistLintEngine.php',
'XUnitTestEngine' => 'unit/engine/XUnitTestEngine.php',
'XUnitTestResultParserTestCase' => 'unit/engine/__tests__/XUnitTestResultParserTestCase.php',
),
@@ -355,6 +355,7 @@
'ArcanistTodoWorkflow' => 'ArcanistWorkflow',
'ArcanistUncommittedChangesException' => 'ArcanistUsageException',
'ArcanistUnitConsoleRenderer' => 'ArcanistUnitRenderer',
+ 'ArcanistUnitTestableLintEngine' => 'ArcanistLintEngine',
'ArcanistUnitWorkflow' => 'ArcanistWorkflow',
'ArcanistUpgradeWorkflow' => 'ArcanistWorkflow',
'ArcanistUploadWorkflow' => 'ArcanistWorkflow',
@@ -380,7 +381,6 @@
'PhutilUnitTestEngine' => 'ArcanistUnitTestEngine',
'PhutilUnitTestEngineTestCase' => 'ArcanistTestCase',
'PytestTestEngine' => 'ArcanistUnitTestEngine',
- 'UnitTestableArcanistLintEngine' => 'ArcanistLintEngine',
'XUnitTestEngine' => 'ArcanistUnitTestEngine',
'XUnitTestResultParserTestCase' => 'ArcanistTestCase',
),
diff --git a/src/lint/engine/UnitTestableArcanistLintEngine.php b/src/lint/engine/ArcanistUnitTestableLintEngine.php
rename from src/lint/engine/UnitTestableArcanistLintEngine.php
rename to src/lint/engine/ArcanistUnitTestableLintEngine.php
--- a/src/lint/engine/UnitTestableArcanistLintEngine.php
+++ b/src/lint/engine/ArcanistUnitTestableLintEngine.php
@@ -4,7 +4,7 @@
* Lint engine for use in constructing test cases. See
* @{class:ArcanistLinterTestCase}.
*/
-final class UnitTestableArcanistLintEngine extends ArcanistLintEngine {
+final class ArcanistUnitTestableLintEngine extends ArcanistLintEngine {
protected $linters = array();
diff --git a/src/lint/linter/__tests__/ArcanistLinterTestCase.php b/src/lint/linter/__tests__/ArcanistLinterTestCase.php
--- a/src/lint/linter/__tests__/ArcanistLinterTestCase.php
+++ b/src/lint/linter/__tests__/ArcanistLinterTestCase.php
@@ -101,7 +101,7 @@
$configuration_manager->setWorkingCopyIdentity($working_copy);
- $engine = new UnitTestableArcanistLintEngine();
+ $engine = new ArcanistUnitTestableLintEngine();
$engine->setWorkingCopy($working_copy);
$engine->setConfigurationManager($configuration_manager);
$engine->setPaths(array($path));

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 26, 5:36 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7332682
Default Alt Text
D11200.id26873.diff (3 KB)

Event Timeline