1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-12-22 21:40:54 +01:00

[ARCUNIT] Set the ConfigurationManager of ConfigurationDrivenUnitTestEngines

Summary:
The Configuration Manager is supported by ArcanistUnitTestEngine but not support by the ArcanistConfigurationDrivenUnitTestEngine.

Added the configuration manager as one of the initially set properties of an ArcUnitTestEngine created by the ArcanistConfigurationDrivenTestEngine

Test Plan: Ran arc unit against a project without the change, verified the Configuration was none. Added this change and ran again and verified it was set

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D19465
This commit is contained in:
Tim McJilton 2018-06-05 20:58:47 +00:00 committed by tmcjilton
parent d581c453b8
commit b199ca8086

View file

@ -133,6 +133,7 @@ final class ArcanistConfigurationDrivenUnitTestEngine
$engine
->setWorkingCopy($this->getWorkingCopy())
->setEnableCoverage($this->getEnableCoverage())
->setConfigurationManager($this->getConfigurationManager())
->setRenderer($renderer);
// TODO: At some point, maybe we should emit a warning here if an engine