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

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

Issue 10477005: Re-enable scan thresholds when opening folder (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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/AnalysisServerTest.java
===================================================================
--- editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/analysis/AnalysisServerTest.java (revision 8212)
+++ editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/analysis/AnalysisServerTest.java (working copy)
@@ -355,7 +355,7 @@
assertTrackedLibraryFiles();
listener.reset();
- server.scan(sourcedFile);
+ server.scan(sourcedFile, false);
devoncarew 2012/06/03 16:35:53 I think the 4 invocations of this method should pa
danrubel 2012/06/03 18:28:12 Sorry... I'm confused as to which you are recommen
devoncarew 2012/06/04 00:51:57 Ack! That should have read "shouldn't get the thre
danrubel 2012/06/04 06:12:42 Good point. Updated tests in subsequent CL. http:
waitForIdle();
assertTrackedLibraryFiles(sourcedFile);
assertEquals(3, listener.getResolved().size());
@@ -364,7 +364,7 @@
listener.reset();
synchronized (getServerQueue()) {
- server.scan(libFile);
+ server.scan(libFile, false);
server.discard(libFile);
}
waitForIdle();
@@ -405,7 +405,7 @@
// libElement = new Element(libResource, "#library");
listener.reset();
- server.scan(tempDir);
+ server.scan(tempDir, false);
waitForIdle();
assertTrackedLibraryFiles(libFile);
assertEquals(3, listener.getResolved().size());
@@ -413,7 +413,7 @@
listener.assertNoDiscards();
listener.reset();
- server.scan(sourcedFile);
+ server.scan(sourcedFile, false);
waitForIdle();
assertTrackedLibraryFiles(libFile);
assertEquals(0, listener.getResolved().size());

Powered by Google App Engine
This is Rietveld 408576698