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

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

Issue 12743005: Revert "Remove Expect from core library." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload (first upload failed). Created 7 years, 9 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 // Test that deprecated language features are diagnosed correctly. 5 // Test that deprecated language features are diagnosed correctly.
6 6
7 import "package:expect/expect.dart";
8 import 'dart:async'; 7 import 'dart:async';
9 import 'dart:uri'; 8 import 'dart:uri';
10 9
11 import '../../../sdk/lib/_internal/compiler/compiler.dart'; 10 import '../../../sdk/lib/_internal/compiler/compiler.dart';
12 import '../../utils/dummy_compiler_test.dart' as dummy; 11 import '../../utils/dummy_compiler_test.dart' as dummy;
13 12
14 main() { 13 main() {
15 StringBuffer messages = new StringBuffer(); 14 StringBuffer messages = new StringBuffer();
16 void handler(Uri uri, int begin, int end, String message, Diagnostic kind) { 15 void handler(Uri uri, int begin, int end, String message, Diagnostic kind) {
17 if (kind == Diagnostic.VERBOSE_INFO) return; 16 if (kind == Diagnostic.VERBOSE_INFO) return;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 main() { 100 main() {
102 var a = Foo.bar(); 101 var a = Foo.bar();
103 var b = new Foo.bar(); 102 var b = new Foo.bar();
104 new Fisk(); 103 new Fisk();
105 new Fisk.hest(); 104 new Fisk.hest();
106 } 105 }
107 """, 106 """,
108 // TODO(ahe): Why isn't this 'part.dart'? Why the leading slash? 107 // TODO(ahe): Why isn't this 'part.dart'? Why the leading slash?
109 '/part.dart': '', 108 '/part.dart': '',
110 }; 109 };
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/dead_phi_eliminator_test.dart ('k') | tests/compiler/dart2js/emit_const_fields_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698