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

Side by Side Diff: tests/compiler/dart2js/setlet_test.dart

Issue 690103004: Move dart2js from sdk/lib/_internal/compiler to pkg/compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « tests/compiler/dart2js/scanner_test.dart ('k') | tests/compiler/dart2js/sha1_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 import "package:expect/expect.dart"; 5 import "package:expect/expect.dart";
6 import 'dart:collection'; 6 import 'dart:collection';
7 import 'package:compiler/implementation/util/setlet.dart'; 7 import 'package:compiler/src/util/setlet.dart';
8 8
9 main() { 9 main() {
10 for (int i = 1; i <= 32; i++) { 10 for (int i = 1; i <= 32; i++) {
11 test(i); 11 test(i);
12 } 12 }
13 13
14 testAllLikeSet(); 14 testAllLikeSet();
15 } 15 }
16 16
17 test(int size) { 17 test(int size) {
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 Expect.isFalse(true, '$operationName: unexpected result type'); 149 Expect.isFalse(true, '$operationName: unexpected result type');
150 } 150 }
151 } 151 }
152 152
153 checkModifications(operationName, setReceiver, setletReceiver) { 153 checkModifications(operationName, setReceiver, setletReceiver) {
154 Expect.equals(setReceiver.length, setletReceiver.length, 154 Expect.equals(setReceiver.length, setletReceiver.length,
155 '$operationName: same post-operation receiver length'); 155 '$operationName: same post-operation receiver length');
156 Expect.listEquals(setReceiver.toList(), setletReceiver.toList(), 156 Expect.listEquals(setReceiver.toList(), setletReceiver.toList(),
157 '$operationName: same post-operation receiver contents'); 157 '$operationName: same post-operation receiver contents');
158 } 158 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/scanner_test.dart ('k') | tests/compiler/dart2js/sha1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698