mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-03-30 22:18:11 +02:00
Summary: Adds arc lint support for cpp files with Google's cpplint.py lint checking. Test Plan: ran it on some cpp files. Added unit tests Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4344
19 lines
445 B
PHP
19 lines
445 B
PHP
<?php
|
|
/**
|
|
* Test cases for @{class:ArcanistCpplintLinter}.
|
|
*
|
|
* @group testcase
|
|
*/
|
|
final class ArcanistCpplintLinterTestCase
|
|
extends ArcanistArcanistLinterTestCase {
|
|
|
|
public function testCpplintLint() {
|
|
$linter = new ArcanistCpplintLinter();
|
|
$working_copy = ArcanistWorkingCopyIdentity::newFromPath(__FILE__);
|
|
return $this->executeTestsInDirectory(
|
|
dirname(__FILE__).'/cpp/',
|
|
$linter,
|
|
$working_copy);
|
|
}
|
|
|
|
}
|