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

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

Issue 300313002: Switch to using remote analysis server instead of local. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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/internal/analysis/model/InternalAnalysisServerTest.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/analysis/model/InternalAnalysisServerTest.java b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/analysis/model/InternalAnalysisServerTest.java
index 19b950dc34f8727b39b323208270151b93635fc3..149bac45a79f40195654f69d1b0699297ee2ffe9 100644
--- a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/analysis/model/InternalAnalysisServerTest.java
+++ b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/analysis/model/InternalAnalysisServerTest.java
@@ -14,8 +14,6 @@
package com.google.dart.tools.core.internal.analysis.model;
import com.google.dart.server.AnalysisServer;
-import com.google.dart.server.InternalAnalysisServer;
-import com.google.dart.tools.core.DartCore;
import junit.framework.TestCase;
@@ -25,7 +23,7 @@ import junit.framework.TestCase;
*/
public class InternalAnalysisServerTest extends TestCase {
- final InternalAnalysisServer server = ((InternalAnalysisServer) DartCore.getAnalysisServer());
+// final InternalAnalysisServer server = ((InternalAnalysisServer) DartCore.getAnalysisServer());
// TODO(scheglov) restore or remove for the new API
// public void test_getContextMap() {
@@ -33,7 +31,7 @@ public class InternalAnalysisServerTest extends TestCase {
// }
public void test_getIndex() throws Exception {
- assertNotNull(server.getIndex());
- assertSame(DartCore.getProjectManager().getIndex(), server.getIndex());
+// assertNotNull(server.getIndex());
+// assertSame(DartCore.getProjectManager().getIndex(), server.getIndex());
}
}

Powered by Google App Engine
This is Rietveld 408576698