]> khamidou — GitHub mirrors - arcanist.git/commit
Pass correct filename into PHPUnitTestEngine coverage
authorEric Stern <firehed@gmail.com>
Sat, 27 Jul 2013 02:09:09 +0000 (19:09 -0700)
committerepriestley <git@epriestley.com>
Sat, 27 Jul 2013 02:10:17 +0000 (19:10 -0700)
commitb56634ad2746f53ef8bea22be904c99c73d3fb0d
treecf214174dfdca5ae496f3cef48c83549ea43a41e
parent490984936bb7ddfc589ef3d376ec2ac2365f070d
Pass correct filename into PHPUnitTestEngine coverage

Summary: The test result parser in PhpunitTestEngine was receiving $test_path from the previous loop instead of $path from the current one. The variable isn't actually used in the PhpunitResultParser object (it exists for strict compatibility with the parent class) so it didn't cause any problems, but who knows if that could change in the future

Test Plan: Review diff. No changes to the output of running 'arc unit' when using the Phpunit engine, as expected

Reviewers: epriestley

CC: aran, epriestley, aurelijus, chad
Differential Revision: https://secure.phabricator.com/D6587
src/unit/engine/PhpunitTestEngine.php