diff options
author | Tor Norbye <tnorbye@google.com> | 2015-04-09 18:12:38 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-04-09 18:12:39 +0000 |
commit | d21a0361cba0b9d32e2dcff8442dc0de80512883 (patch) | |
tree | 345345c29bd6c18238b29e34bd8f40deac10918c | |
parent | 58a2c552e4b18257f993cfd52627003dfb0b2bda (diff) | |
parent | 14979cb73e9e76f1c82bac77e22f2ab3fb0b6971 (diff) | |
download | sdk-d21a0361cba0b9d32e2dcff8442dc0de80512883.zip sdk-d21a0361cba0b9d32e2dcff8442dc0de80512883.tar.gz sdk-d21a0361cba0b9d32e2dcff8442dc0de80512883.tar.bz2 |
Merge "Update ADT plugin with lint API change" into studio-1.3-dev
-rw-r--r-- | eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java index 154d35e..bd6a55a 100644 --- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java +++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java @@ -903,7 +903,12 @@ public class EclipseLintClient extends LintClient { libraries = super.getClassPath(project).getLibraries(); } - info = new ClassPathInfo(sources, classes, libraries); + + // No test folders in Eclipse: + // https://bugs.eclipse.org/bugs/show_bug.cgi?id=224708 + List<File> tests = Collections.emptyList(); + + info = new ClassPathInfo(sources, classes, libraries, tests); mProjectInfo.put(project, info); } |