1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-02-05 03:18:25 +01:00
phorge-arcanist/src/lint/linter/__tests__/ArcanistXMLLinterTestCase.php
Joshua Spence e00ce65200 Add an XML linter.
Summary: Add a linter which uses [[http://php.net/simplexml | SimpleXML]] to detect errors and potential problems in XML files.

Test Plan: Wrote and executed unit tests.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D8989
2014-05-05 20:15:53 -07:00

13 lines
324 B
PHP

<?php
/**
* Test cases were mostly taken from
* https://git.gnome.org/browse/libxml2/tree/test.
*/
final class ArcanistXMLLinterTestCase extends ArcanistArcanistLinterTestCase {
public function testLintPath() {
$this->executeTestsInDirectory(
dirname(__FILE__).'/xml/',
new ArcanistXMLLinter());
}
}