Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(537)

Unified Diff: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/analysis/AnalysisTestUtilities.java

Issue 10883074: Update scan, changed and discard to handle "packages" and "pubspec.yaml" (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/analysis/AnalysisTestUtilities.java
===================================================================
--- editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/analysis/AnalysisTestUtilities.java (revision 11962)
+++ editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/analysis/AnalysisTestUtilities.java (working copy)
@@ -147,13 +147,6 @@
return (File[]) result;
}
- static boolean isLibraryCached(AnalysisServer server, File libFile) throws Exception {
- Method method = AnalysisServer.class.getDeclaredMethod("isLibraryCached", File.class);
- method.setAccessible(true);
- Object result = method.invoke(server, libFile);
- return result instanceof Boolean && ((Boolean) result).booleanValue();
- }
-
private static void assertFiles(File[] expected, File[] actual) {
if (actual.length == expected.length) {
HashSet<File> files = new HashSet<File>();

Powered by Google App Engine
This is Rietveld 408576698