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

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

Issue 10513002: Switch tests to use full scan (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8229)
+++ editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/analysis/AnalysisServerTest.java (working copy)
@@ -465,7 +465,7 @@
assertTrackedLibraryFiles();
listener.reset();
- server.scan(sourcedFile, false);
+ server.scan(sourcedFile, true);
waitForIdle();
assertTrackedLibraryFiles(sourcedFile);
assertEquals(3, listener.getResolved().size());
@@ -474,7 +474,7 @@
listener.reset();
synchronized (getServerQueue()) {
- server.scan(libFile, false);
+ server.scan(libFile, true);
server.discard(libFile);
}
waitForIdle();
@@ -511,7 +511,7 @@
// libElement = new Element(libResource, "#library");
listener.reset();
- server.scan(tempDir, false);
+ server.scan(tempDir, true);
waitForIdle();
assertTrackedLibraryFiles(libFile);
assertEquals(3, listener.getResolved().size());
@@ -519,7 +519,7 @@
listener.assertNoDiscards();
listener.reset();
- server.scan(sourcedFile, false);
+ server.scan(sourcedFile, true);
waitForIdle();
assertTrackedLibraryFiles(libFile);
assertEquals(0, listener.getResolved().size());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698