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

Side by Side Diff: tests/compiler/dart2js/dart_backend_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
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 'dart:async'; 6 import 'dart:async';
7 import 'parser_helper.dart'; 7 import 'parser_helper.dart';
8 import 'mock_compiler.dart'; 8 import 'mock_compiler.dart';
9 import '../../../sdk/lib/_internal/compiler/compiler.dart'; 9 import '../../../sdk/lib/_internal/compiler/compiler.dart';
10 import '../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart' as l eg; 10 import '../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart' as l eg;
11 import '../../../sdk/lib/_internal/compiler/implementation/dart_backend/dart_bac kend.dart'; 11 import '../../../sdk/lib/_internal/compiler/implementation/dart_backend/dart_bac kend.dart';
12 import '../../../sdk/lib/_internal/compiler/implementation/elements/elements.dar t'; 12 import '../../../sdk/lib/_internal/compiler/implementation/elements/elements.dar t';
13 import '../../../sdk/lib/_internal/compiler/implementation/tree/tree.dart'; 13 import '../../../sdk/lib/_internal/compiler/implementation/tree/tree.dart';
14 14
15 const coreLib = r''' 15 const coreLib = r'''
16 library corelib; 16 library corelib;
17 class Object {} 17 class Object {
18 Object();
19 }
18 class bool {} 20 class bool {}
19 class num {} 21 class num {}
20 class int extends num {} 22 class int extends num {}
21 class double extends num {} 23 class double extends num {}
22 abstract class String {} 24 abstract class String {}
23 class Function {} 25 class Function {}
24 class List<T> {} 26 class List<T> {}
25 class Map<K,V> {} 27 class Map<K,V> {}
26 class BoundClosure {} 28 class BoundClosure {}
27 class Closure {} 29 class Closure {}
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 testStaticAccessIoLib(); 725 testStaticAccessIoLib();
724 testLocalFunctionPlaceholder(); 726 testLocalFunctionPlaceholder();
725 testMinification(); 727 testMinification();
726 testClosureLocalsMinified(); 728 testClosureLocalsMinified();
727 testParametersMinified(); 729 testParametersMinified();
728 testDeclarationTypePlaceholders(); 730 testDeclarationTypePlaceholders();
729 testPlatformLibraryMemberNamesAreFixed(); 731 testPlatformLibraryMemberNamesAreFixed();
730 testConflictsWithCoreLib(); 732 testConflictsWithCoreLib();
731 testUnresolvedNamedConstructor(); 733 testUnresolvedNamedConstructor();
732 } 734 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/cpa_inference_test.dart ('k') | tests/compiler/dart2js/resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698