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

Unified Diff: pkg/analyzer/test/src/summary/summarize_elements_test.dart

Issue 1615073007: Add a test of summaries that uses strong mode. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fix test failures Created 4 years, 11 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/analyzer/test/src/summary/summarize_elements_test.dart
diff --git a/pkg/analyzer/test/src/summary/summarize_elements_test.dart b/pkg/analyzer/test/src/summary/summarize_elements_test.dart
index 7101f50ceed4c5f506b3f7e075f95d8e87135ffc..fa7efa751ff200ab70ea382cc45484a7e7c3bae0 100644
--- a/pkg/analyzer/test/src/summary/summarize_elements_test.dart
+++ b/pkg/analyzer/test/src/summary/summarize_elements_test.dart
@@ -53,6 +53,12 @@ class SummarizeElementsTest extends ResolverTestCase with SummaryTest {
@override
bool get expectAbsoluteUrisInDependencies => true;
+ /**
+ * Determine the analysis options that should be used for this test.
+ */
+ AnalysisOptionsImpl get options =>
+ new AnalysisOptionsImpl()..enableGenericMethods = true;
+
@override
bool get skipFullyLinkedData => false;
@@ -111,8 +117,6 @@ class SummarizeElementsTest extends ResolverTestCase with SummaryTest {
@override
void setUp() {
super.setUp();
- AnalysisOptionsImpl options = new AnalysisOptionsImpl();
- options.enableGenericMethods = true;
resetWithOptions(options);
}
« no previous file with comments | « pkg/analyzer/test/src/summary/summarize_elements_strong_test.dart ('k') | pkg/analyzer/test/src/summary/summary_common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698