From e6aa64fdad663bf9e9f42c7ba99fae50914f63aa Mon Sep 17 00:00:00 2001 From: Yigit Boyar Date: Wed, 7 Dec 2016 17:29:59 -0800 Subject: [PATCH] Add androidTest to test folder names. This conforms the docs here: http://tools.android.com/tech-docs/new-build-system/user-guide Change-Id: I6d91073924f578e813986f458b391c9b1dcf923c --- tools/checkstyle/checkstyle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/checkstyle/checkstyle.py b/tools/checkstyle/checkstyle.py index a0b7b0e15..39ca181a6 100755 --- a/tools/checkstyle/checkstyle.py +++ b/tools/checkstyle/checkstyle.py @@ -60,7 +60,7 @@ FORCED_RULES = ['com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck 'com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck'] SKIPPED_RULES_FOR_TEST_FILES = ['com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck', 'com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck'] -SUBPATH_FOR_TEST_FILES = ['/tests/', '/test/'] +SUBPATH_FOR_TEST_FILES = ['/tests/', '/test/', '/androidTest/'] SUBPATH_FOR_TEST_DATA_FILES = _FindFoldersContaining(os.path.dirname(os.getcwd()), "IGNORE_CHECKSTYLE") ERROR_UNCOMMITTED = 'You need to commit all modified files before running Checkstyle\n'