1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-01-09 22:31:02 +01:00
phorge-arcanist/src/unit/engine
Mukunda Modell 2962504855 Fix an DOMDocument error with NoseTestEngine running on PHP 7
Summary:
In php 7, DOMDocument::loadXML emits an error when supplied with
an empty string as input. For example, I got this error:

  ERROR 2: DOMDocument::loadXML(): Empty string supplied as input

This change simply checks for empty and returns an empty array
rather than attempting to parse an empty xml document.

Test Plan: ran `arc diff` on a repo that uses nosetestengine

Reviewers: #blessed_reviewers!

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D16672
2016-10-09 16:28:51 -05:00
..
__tests__ Further improvements to test discovery 2015-06-15 07:23:17 +10:00
phutil Various translation improvements 2015-11-02 21:31:04 +11:00
ArcanistConfigurationDrivenUnitTestEngine.php Prevent double rendering of unit test results 2015-11-18 07:20:26 +11:00
ArcanistUnitTestEngine.php Remove arguments from unit test engines 2015-11-15 20:04:59 +00:00
CSharpToolsTestEngine.php pht all the things 2015-05-13 21:00:53 +10:00
NoseTestEngine.php Fix an DOMDocument error with NoseTestEngine running on PHP 7 2016-10-09 16:28:51 -05:00
PhpunitTestEngine.php pht all the things 2015-05-13 21:00:53 +10:00
PhutilUnitTestEngine.php Remove arguments from unit test engines 2015-11-15 20:04:59 +00:00
PytestTestEngine.php Linter fixes 2015-12-07 21:35:34 +11:00
XUnitTestEngine.php Return $this from setter methods 2015-06-25 22:30:33 +10:00