aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}