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

Side by Side Diff: pkg/analyzer/test/src/summary/summarize_elements_strong_test.dart

Issue 1624853002: Store the result of type inference in summaries. (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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library analyzer.test.src.summary.summarize_elements_strong_test; 5 library analyzer.test.src.summary.summarize_elements_strong_test;
6 6
7 import 'package:analyzer/src/generated/engine.dart'; 7 import 'package:analyzer/src/generated/engine.dart';
8 import 'package:unittest/unittest.dart'; 8 import 'package:unittest/unittest.dart';
9 9
10 import '../../reflective_tests.dart'; 10 import '../../reflective_tests.dart';
11 import 'summarize_elements_test.dart'; 11 import 'summarize_elements_test.dart';
12 import 'summary_common.dart'; 12 import 'summary_common.dart';
13 13
14 main() { 14 main() {
15 groupSep = ' | '; 15 groupSep = ' | ';
16 runReflectiveTests(SummarizeElementsStrongTest); 16 runReflectiveTests(SummarizeElementsStrongTest);
17 } 17 }
18 18
19 /** 19 /**
20 * Override of [SummaryTest] which creates summaries from the element model 20 * Override of [SummaryTest] which creates summaries from the element model
21 * using strong mode. 21 * using strong mode.
22 */ 22 */
23 @reflectiveTest 23 @reflectiveTest
24 class SummarizeElementsStrongTest extends SummarizeElementsTest { 24 class SummarizeElementsStrongTest extends SummarizeElementsTest {
25 @override 25 @override
26 AnalysisOptionsImpl get options => super.options..strongMode = true; 26 AnalysisOptionsImpl get options => super.options..strongMode = true;
27
28 @override
29 bool get strongMode => true;
27 } 30 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698