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

Unified Diff: pkg/analysis_server/test/abstract_context.dart

Issue 685493003: Index EnumDeclaration definitions as top-level elements. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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: pkg/analysis_server/test/abstract_context.dart
diff --git a/pkg/analysis_server/test/abstract_context.dart b/pkg/analysis_server/test/abstract_context.dart
index 99f39c9f18c564fdbc0276fa59e45d4f2ee6be15..30885e8b7ae7ba3480f9d98827c3c8749cbf68d7 100644
--- a/pkg/analysis_server/test/abstract_context.dart
+++ b/pkg/analysis_server/test/abstract_context.dart
@@ -80,6 +80,13 @@ class AbstractContextTest {
resourceResolver = new ResourceUriResolver(provider);
context = AnalysisEngine.instance.createAnalysisContext();
context.sourceFactory = new SourceFactory([SDK_RESOLVER, resourceResolver]);
+ {
+ AnalysisOptionsImpl options =
+ new AnalysisOptionsImpl.con1(context.analysisOptions);
+ options.enableAsync = true;
+ options.enableEnum = true;
+ context.analysisOptions = options;
+ }
}
void tearDown() {

Powered by Google App Engine
This is Rietveld 408576698