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

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

Issue 10915083: Change assert implementation to not depend on a top-level function called 'assert'. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 8 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 | 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('dart:uri'); 5 #import('dart:uri');
6 #import('parser_helper.dart'); 6 #import('parser_helper.dart');
7 #import('mock_compiler.dart'); 7 #import('mock_compiler.dart');
8 #import("../../../lib/compiler/compiler.dart"); 8 #import("../../../lib/compiler/compiler.dart");
9 #import("../../../lib/compiler/implementation/leg.dart", prefix:'leg'); 9 #import("../../../lib/compiler/implementation/leg.dart", prefix:'leg');
10 #import("../../../lib/compiler/implementation/dart_backend/dart_backend.dart"); 10 #import("../../../lib/compiler/implementation/dart_backend/dart_backend.dart");
(...skipping 17 matching lines...) Expand all
28 interface num {} 28 interface num {}
29 interface int extends num {} 29 interface int extends num {}
30 interface double extends num {} 30 interface double extends num {}
31 interface String {} 31 interface String {}
32 interface Function {} 32 interface Function {}
33 interface List {} 33 interface List {}
34 interface Map {} 34 interface Map {}
35 interface Closure {} 35 interface Closure {}
36 interface Dynamic {} 36 interface Dynamic {}
37 interface Null {} 37 interface Null {}
38 assert() {}
39 class Math { 38 class Math {
40 static double parseDouble(String s) => 1.0; 39 static double parseDouble(String s) => 1.0;
41 } 40 }
42 '''; 41 ''';
43 42
44 const ioLib = @''' 43 const ioLib = @'''
45 #library('io'); 44 #library('io');
46 class Platform { 45 class Platform {
47 static int operatingSystem; 46 static int operatingSystem;
48 } 47 }
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after
850 testDoubleMains(); 849 testDoubleMains();
851 testInterfaceDefaultAnotherLib(); 850 testInterfaceDefaultAnotherLib();
852 testStaticAccessIoLib(); 851 testStaticAccessIoLib();
853 testLocalFunctionPlaceholder(); 852 testLocalFunctionPlaceholder();
854 testMinification(); 853 testMinification();
855 testClosureLocalsMinified(); 854 testClosureLocalsMinified();
856 testParametersMinified(); 855 testParametersMinified();
857 testTypeVariablesInDifferentLibraries(); 856 testTypeVariablesInDifferentLibraries();
858 testDeclarationTypePlaceholders(); 857 testDeclarationTypePlaceholders();
859 } 858 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/mock_compiler.dart ('k') | tests/language/assert_lexical_scope_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698