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

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

Issue 2298913003: Pull in test_reflective_loader 0.0.4 and switch analyzer to it. (Closed)
Patch Set: Fixes for review comments. Created 4 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 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.resynthesize_strong_test; 5 library analyzer.test.src.summary.resynthesize_strong_test;
6 6
7 import 'package:analyzer/src/generated/engine.dart'; 7 import 'package:analyzer/src/generated/engine.dart';
8 import 'package:analyzer/src/generated/sdk.dart'; 8 import 'package:analyzer/src/generated/sdk.dart';
9 import 'package:test_reflective_loader/test_reflective_loader.dart';
9 import 'package:unittest/unittest.dart'; 10 import 'package:unittest/unittest.dart';
10 11
11 import '../../reflective_tests.dart';
12 import '../context/abstract_context.dart'; 12 import '../context/abstract_context.dart';
13 import 'resynthesize_test.dart'; 13 import 'resynthesize_test.dart';
14 14
15 main() { 15 main() {
16 groupSep = ' | '; 16 groupSep = ' | ';
17 runReflectiveTests(ResynthesizeStrongTest); 17 defineReflectiveTests(ResynthesizeStrongTest);
18 } 18 }
19 19
20 @reflectiveTest 20 @reflectiveTest
21 class ResynthesizeStrongTest extends ResynthesizeElementTest { 21 class ResynthesizeStrongTest extends ResynthesizeElementTest {
22 @override 22 @override
23 DartSdk createDartSdk() => AbstractContextTest.SHARED_STRONG_MOCK_SDK; 23 DartSdk createDartSdk() => AbstractContextTest.SHARED_STRONG_MOCK_SDK;
24 24
25 @override 25 @override
26 AnalysisOptionsImpl createOptions() => 26 AnalysisOptionsImpl createOptions() =>
27 super.createOptions()..strongMode = true; 27 super.createOptions()..strongMode = true;
28 28
29 @override 29 @override
30 @failingTest 30 @failingTest
31 test_instantiateToBounds_boundRefersToLaterTypeArgument() { 31 test_instantiateToBounds_boundRefersToLaterTypeArgument() {
32 // TODO(paulberry): this is failing due to dartbug.com/27072. 32 // TODO(paulberry): this is failing due to dartbug.com/27072.
33 super.test_instantiateToBounds_boundRefersToLaterTypeArgument(); 33 super.test_instantiateToBounds_boundRefersToLaterTypeArgument();
34 } 34 }
35 } 35 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698