1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-29 10:12:41 +01:00

Remove arcconfig settings from ArcanistLinterTestCase

Summary: This doesn't make too much sense anymore as all modern linters are configured via the `.arclint` file rather than `.arcconfig`.

Test Plan: `grep`ped to make sure this option isn't used.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11173
This commit is contained in:
Joshua Spence 2015-01-03 23:52:45 +11:00
parent 201d195f29
commit fba62c0d9d

View file

@ -49,7 +49,6 @@ abstract class ArcanistLinterTestCase extends ArcanistPhutilTestCase {
'hook' => 'optional bool', 'hook' => 'optional bool',
'config' => 'optional wild', 'config' => 'optional wild',
'path' => 'optional string', 'path' => 'optional string',
'arcconfig' => 'optional map<string, string>',
)); ));
$exception = null; $exception = null;
@ -65,15 +64,10 @@ abstract class ArcanistLinterTestCase extends ArcanistPhutilTestCase {
$dir = dirname($full_path); $dir = dirname($full_path);
$path = basename($full_path); $path = basename($full_path);
$config_file = null;
$arcconfig = idx($config, 'arcconfig');
if ($arcconfig) {
$config_file = json_encode($arcconfig);
}
$working_copy = ArcanistWorkingCopyIdentity::newFromRootAndConfigFile( $working_copy = ArcanistWorkingCopyIdentity::newFromRootAndConfigFile(
$dir, $dir,
$config_file, null,
'Unit Test'); 'Unit Test');
$configuration_manager = new ArcanistConfigurationManager(); $configuration_manager = new ArcanistConfigurationManager();
$configuration_manager->setWorkingCopyIdentity($working_copy); $configuration_manager->setWorkingCopyIdentity($working_copy);