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

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

Issue 19729005: Fix bot redness. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « tests/compiler/dart2js/size_test.dart ('k') | tests/language/language.status » ('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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 'compiler_helper.dart'; 6 import 'compiler_helper.dart';
7 7
8 const int REMOVED = 0; 8 const int REMOVED = 0;
9 const int ABOVE_ZERO = 1; 9 const int ABOVE_ZERO = 1;
10 const int BELOW_LENGTH = 2; 10 const int BELOW_LENGTH = 2;
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 // TODO(ahe): It would probably be better if this test used the real 202 // TODO(ahe): It would probably be better if this test used the real
203 // core library sources, as its purpose is to detect failure to 203 // core library sources, as its purpose is to detect failure to
204 // optimize fixed-sized arrays. 204 // optimize fixed-sized arrays.
205 const String DEFAULT_CORELIB_WITH_LIST_INTERFACE = r''' 205 const String DEFAULT_CORELIB_WITH_LIST_INTERFACE = r'''
206 print(var obj) {} 206 print(var obj) {}
207 abstract class num {} 207 abstract class num {}
208 abstract class int extends num { } 208 abstract class int extends num { }
209 abstract class double extends num { } 209 abstract class double extends num { }
210 class bool {} 210 class bool {}
211 class String {} 211 class String {}
212 class Object {} 212 class Object {
213 Object();
214 }
213 class Type {} 215 class Type {}
214 class Function {} 216 class Function {}
215 class List { 217 class List {
216 List([int length]); 218 List([int length]);
217 } 219 }
218 abstract class Map {} 220 abstract class Map {}
219 class Closure {} 221 class Closure {}
220 class Null {} 222 class Null {}
221 class Dynamic_ {} 223 class Dynamic_ {}
222 class StackTrace {} 224 class StackTrace {}
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 break; 315 break;
314 } 316 }
315 } 317 }
316 318
317 319
318 main() { 320 main() {
319 for (int i = 0; i < TESTS.length; i += 2) { 321 for (int i = 0; i < TESTS.length; i += 2) {
320 expect(TESTS[i], TESTS[i + 1]); 322 expect(TESTS[i], TESTS[i + 1]);
321 } 323 }
322 } 324 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/size_test.dart ('k') | tests/language/language.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698