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

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

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add deprecation comment for ExpectException and revert one test. Created 7 years, 8 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 "../../../sdk/lib/_internal/compiler/implementation/scanner/scannerlib.da rt"; 6 import "../../../sdk/lib/_internal/compiler/implementation/scanner/scannerlib.da rt";
6 import "../../../sdk/lib/_internal/compiler/implementation/tree/tree.dart"; 7 import "../../../sdk/lib/_internal/compiler/implementation/tree/tree.dart";
7 8
8 import "../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart" 9 import "../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart"
9 show DiagnosticListener, 10 show DiagnosticListener,
10 Script; 11 Script;
11 12
12 import "../../../sdk/lib/_internal/compiler/implementation/elements/elements.dar t" 13 import "../../../sdk/lib/_internal/compiler/implementation/elements/elements.dar t"
13 show CompilationUnitElement, 14 show CompilationUnitElement,
14 LibraryElement; 15 LibraryElement;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 } 84 }
84 void internalErrorOnElement(Element element, String message) { 85 void internalErrorOnElement(Element element, String message) {
85 throw message; 86 throw message;
86 } 87 }
87 void internalError(String message, 88 void internalError(String message,
88 {Node node, Token token, dynamic instruction, 89 {Node node, Token token, dynamic instruction,
89 Element element}) { 90 Element element}) {
90 throw message; 91 throw message;
91 } 92 }
92 } 93 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/type_substitution_test.dart ('k') | tests/compiler/dart2js/unparser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698