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

Side by Side Diff: tests/compiler/dart2js/serialization/test_helper.dart

Issue 2606253002: Move dart_types to elements/resolution_types (Closed)
Patch Set: Created 3 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 dart2js.serialization_test_helper; 5 library dart2js.serialization_test_helper;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 import 'package:compiler/src/common/resolution.dart'; 8 import 'package:compiler/src/common/resolution.dart';
9 import 'package:compiler/src/constants/expressions.dart'; 9 import 'package:compiler/src/constants/expressions.dart';
10 import 'package:compiler/src/constants/values.dart'; 10 import 'package:compiler/src/constants/values.dart';
11 import 'package:compiler/src/dart_types.dart'; 11 import 'package:compiler/src/elements/resolution_types.dart';
12 import 'package:compiler/src/compiler.dart'; 12 import 'package:compiler/src/compiler.dart';
13 import 'package:compiler/src/elements/elements.dart'; 13 import 'package:compiler/src/elements/elements.dart';
14 import 'package:compiler/src/serialization/equivalence.dart'; 14 import 'package:compiler/src/serialization/equivalence.dart';
15 import 'package:compiler/src/tree/nodes.dart'; 15 import 'package:compiler/src/tree/nodes.dart';
16 import 'package:expect/expect.dart'; 16 import 'package:expect/expect.dart';
17 import 'test_data.dart'; 17 import 'test_data.dart';
18 18
19 Check currentCheck; 19 Check currentCheck;
20 20
21 class Check { 21 class Check {
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 } 654 }
655 655
656 if (index == 1 && skip != 0) { 656 if (index == 1 && skip != 0) {
657 return ['${skip}', segmentNumber(index)]; 657 return ['${skip}', segmentNumber(index)];
658 } else if (index == count) { 658 } else if (index == count) {
659 return [segmentNumber(index - 1)]; 659 return [segmentNumber(index - 1)];
660 } else { 660 } else {
661 return [segmentNumber(index - 1), segmentNumber(index)]; 661 return [segmentNumber(index - 1), segmentNumber(index)];
662 } 662 }
663 } 663 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/serialization/model_test_helper.dart ('k') | tests/compiler/dart2js/subtype_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698