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

Unified Diff: pkg/analyzer/test/src/context/context_test.dart

Issue 1131423002: Clean up many generated constructors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Comment change Created 5 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
« no previous file with comments | « pkg/analyzer/test/generated/utilities_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/context/context_test.dart
diff --git a/pkg/analyzer/test/src/context/context_test.dart b/pkg/analyzer/test/src/context/context_test.dart
index 7f000b696dfad1a6577d9199a40428175ccd4f3e..06041b7887948a3b23dd5a3ef3dbbf4b1949c5d0 100644
--- a/pkg/analyzer/test/src/context/context_test.dart
+++ b/pkg/analyzer/test/src/context/context_test.dart
@@ -844,7 +844,7 @@ void g() { f(null); }''');
void fail_setAnalysisOptions_reduceAnalysisPriorityOrder() {
AnalysisOptionsImpl options =
- new AnalysisOptionsImpl.con1(context.analysisOptions);
+ new AnalysisOptionsImpl.from(context.analysisOptions);
List<Source> sources = new List<Source>();
for (int index = 0; index < options.cacheSize; index++) {
sources.add(addSource("/lib.dart$index", ""));
@@ -1727,7 +1727,7 @@ main() {}''');
void test_setChangedContents_notResolved() {
AnalysisOptionsImpl options =
- new AnalysisOptionsImpl.con1(context.analysisOptions);
+ new AnalysisOptionsImpl.from(context.analysisOptions);
options.incremental = true;
context.analysisOptions = options;
String oldCode = r'''
@@ -1862,7 +1862,7 @@ int a = 0;''');
void xtest_performAnalysisTask_stress() {
int maxCacheSize = 4;
AnalysisOptionsImpl options =
- new AnalysisOptionsImpl.con1(context.analysisOptions);
+ new AnalysisOptionsImpl.from(context.analysisOptions);
options.cacheSize = maxCacheSize;
context.analysisOptions = options;
int sourceCount = maxCacheSize + 2;
« no previous file with comments | « pkg/analyzer/test/generated/utilities_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698