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

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

Issue 11228053: Get rid of more () in getter definitions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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/cpa_inference_test.dart ('k') | utils/testrunner/utils.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) 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/dart2jslib.dart' as leg; 9 import '../../../lib/compiler/implementation/dart2jslib.dart' as leg;
10 import '../../../lib/compiler/implementation/dart_backend/dart_backend.dart'; 10 import '../../../lib/compiler/implementation/dart_backend/dart_backend.dart';
(...skipping 23 matching lines...) Expand all
34 const ioLib = r''' 34 const ioLib = r'''
35 #library('io'); 35 #library('io');
36 class Platform { 36 class Platform {
37 static int operatingSystem; 37 static int operatingSystem;
38 } 38 }
39 '''; 39 ''';
40 40
41 const htmlLib = r''' 41 const htmlLib = r'''
42 #library('html'); 42 #library('html');
43 Window __window; 43 Window __window;
44 Window get window() => __window; 44 Window get window => __window;
45 abstract class Window { 45 abstract class Window {
46 abstract Navigator get navigator; 46 Navigator get navigator;
47 } 47 }
48 abstract class Navigator { 48 abstract class Navigator {
49 abstract String get userAgent; 49 String get userAgent;
50 } 50 }
51 '''; 51 ''';
52 52
53 const helperLib = r''' 53 const helperLib = r'''
54 #library('js_helper'); 54 #library('js_helper');
55 '''; 55 ''';
56 56
57 testDart2Dart(String src, {void continuation(String s), bool minify: false, 57 testDart2Dart(String src, {void continuation(String s), bool minify: false,
58 bool stripTypes: false}) { 58 bool stripTypes: false}) {
59 // If continuation is not provided, check that source string remains the same. 59 // If continuation is not provided, check that source string remains the same.
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 testInterfaceDefaultAnotherLib(); 807 testInterfaceDefaultAnotherLib();
808 testStaticAccessIoLib(); 808 testStaticAccessIoLib();
809 testLocalFunctionPlaceholder(); 809 testLocalFunctionPlaceholder();
810 testMinification(); 810 testMinification();
811 testClosureLocalsMinified(); 811 testClosureLocalsMinified();
812 testParametersMinified(); 812 testParametersMinified();
813 testTypeVariablesInDifferentLibraries(); 813 testTypeVariablesInDifferentLibraries();
814 testDeclarationTypePlaceholders(); 814 testDeclarationTypePlaceholders();
815 testPlatformLibraryMemberNamesAreFixed(); 815 testPlatformLibraryMemberNamesAreFixed();
816 } 816 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/cpa_inference_test.dart ('k') | utils/testrunner/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698