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

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

Issue 1278503004: Revert "Move dart2jslib parts into separate libraries." (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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
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:async_helper/async_helper.dart';
6 import 'package:expect/expect.dart'; 5 import 'package:expect/expect.dart';
7 6 import "package:async_helper/async_helper.dart";
8 import 'compiler_helper.dart'; 7 import 'compiler_helper.dart';
8 import 'parser_helper.dart';
9 import 'type_mask_test_helper.dart'; 9 import 'type_mask_test_helper.dart';
10 10
11 const String TEST = """ 11 const String TEST = """
12 12
13 class A { 13 class A {
14 get foo => 'string'; 14 get foo => 'string';
15 set foo(value) {} 15 set foo(value) {}
16 operator[](index) => 'string'; 16 operator[](index) => 'string';
17 operator[]=(index, value) {} 17 operator[]=(index, value) {}
18 18
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 checkReturnInClass('A', 'returnEmpty3', const TypeMask.nonNullEmpty()); 91 checkReturnInClass('A', 'returnEmpty3', const TypeMask.nonNullEmpty());
92 92
93 checkReturnInClass('B', 'returnString1', typesTask.stringType); 93 checkReturnInClass('B', 'returnString1', typesTask.stringType);
94 checkReturnInClass('B', 'returnString2', typesTask.stringType); 94 checkReturnInClass('B', 'returnString2', typesTask.stringType);
95 checkReturnInClass('B', 'returnDynamic1', const TypeMask.nonNullEmpty()); 95 checkReturnInClass('B', 'returnDynamic1', const TypeMask.nonNullEmpty());
96 checkReturnInClass('B', 'returnDynamic2', const TypeMask.nonNullEmpty()); 96 checkReturnInClass('B', 'returnDynamic2', const TypeMask.nonNullEmpty());
97 checkReturnInClass('B', 'returnDynamic3', const TypeMask.nonNullEmpty()); 97 checkReturnInClass('B', 'returnDynamic3', const TypeMask.nonNullEmpty());
98 checkReturnInClass('B', 'returnDynamic4', const TypeMask.nonNullEmpty()); 98 checkReturnInClass('B', 'returnDynamic4', const TypeMask.nonNullEmpty());
99 })); 99 }));
100 } 100 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698