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

Unified Diff: test/testing.dart

Issue 1355893003: Rewire DDC to use the analyzer task model (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Fix for identifiers Created 5 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: test/testing.dart
diff --git a/test/testing.dart b/test/testing.dart
index 818cd037e9831109a9427c03b6193471dded3c79..57eb9a77443a2dbd9a271429ab4799e48d998ce0 100644
--- a/test/testing.dart
+++ b/test/testing.dart
@@ -86,7 +86,10 @@ void testChecker(String name, Map<String, String> testFiles,
var provider = createTestResourceProvider(testFiles);
var uriResolver = new TestUriResolver(provider);
+ // Enable task model strong mode
+ AnalysisEngine.instance.useTaskModel = true;
var context = AnalysisEngine.instance.createAnalysisContext();
+ context.analysisOptions.strongMode = true;
context.sourceFactory = createSourceFactory(
new SourceResolverOptions(
customUrlMappings: customUrlMappings,

Powered by Google App Engine
This is Rietveld 408576698