aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2015-04-09 18:13:31 +0000
committerandroid-build-merger <android-build-merger@google.com>2015-04-09 18:13:31 +0000
commitd26711d01b2fc32422cdd7eab9288ae08181ff84 (patch)
tree345345c29bd6c18238b29e34bd8f40deac10918c
parent56fe81f3228f886778e76a849ff99333bb05c72c (diff)
parentd21a0361cba0b9d32e2dcff8442dc0de80512883 (diff)
downloadsdk-d26711d01b2fc32422cdd7eab9288ae08181ff84.zip
sdk-d26711d01b2fc32422cdd7eab9288ae08181ff84.tar.gz
sdk-d26711d01b2fc32422cdd7eab9288ae08181ff84.tar.bz2
Merge "Update ADT plugin with lint API change" into studio-1.3-dev
automerge: d21a036 * commit 'd21a0361cba0b9d32e2dcff8442dc0de80512883': Update ADT plugin with lint API change
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java7
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);
}