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

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

Issue 1621603005: Add a test of summary resynthesis that uses strong mode. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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
« no previous file with comments | « no previous file | pkg/analyzer/test/src/summary/resynthesize_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/summary/resynthesize_strong_test.dart
diff --git a/pkg/analyzer/test/src/summary/summarize_elements_strong_test.dart b/pkg/analyzer/test/src/summary/resynthesize_strong_test.dart
similarity index 57%
copy from pkg/analyzer/test/src/summary/summarize_elements_strong_test.dart
copy to pkg/analyzer/test/src/summary/resynthesize_strong_test.dart
index 26867c6c92e66cf77ab0effd70887c6f7b8953d4..b6a92587b83b02d09aeef6fc8fcfd9919f79f54c 100644
--- a/pkg/analyzer/test/src/summary/summarize_elements_strong_test.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_strong_test.dart
@@ -2,26 +2,21 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library analyzer.test.src.summary.summarize_elements_strong_test;
+library analyzer.test.src.summary.resynthesize_strong_test;
import 'package:analyzer/src/generated/engine.dart';
import 'package:unittest/unittest.dart';
import '../../reflective_tests.dart';
-import 'summarize_elements_test.dart';
-import 'summary_common.dart';
+import 'resynthesize_test.dart';
main() {
groupSep = ' | ';
- runReflectiveTests(SummarizeElementsStrongTest);
+ runReflectiveTests(ResynthStrongTest);
}
-/**
- * Override of [SummaryTest] which creates summaries from the element model
- * using strong mode.
- */
@reflectiveTest
-class SummarizeElementsStrongTest extends SummarizeElementsTest {
+class ResynthStrongTest extends ResynthTest {
@override
AnalysisOptionsImpl get options => super.options..strongMode = true;
}
« no previous file with comments | « no previous file | pkg/analyzer/test/src/summary/resynthesize_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698