From 14979cb73e9e76f1c82bac77e22f2ab3fb0b6971 Mon Sep 17 00:00:00 2001
From: Tor Norbye <tnorbye@google.com>
Date: Thu, 9 Apr 2015 11:11:47 -0700
Subject: Update ADT plugin with lint API change

Change-Id: Ie649d5fcea29cfec0cec64833664353ec61ad408
---
 .../android/ide/eclipse/adt/internal/lint/EclipseLintClient.java   | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

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);
         }
 
-- 
cgit v1.1