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

Side by Side Diff: tests/compiler/dart2js/unparser_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
« no previous file with comments | « tests/compiler/dart2js/unparser2_test.dart ('k') | tests/compiler/dart2js/uri_extras_test.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 "package:expect/expect.dart";
5 import 'dart:uri'; 6 import 'dart:uri';
6 import 'parser_helper.dart'; 7 import 'parser_helper.dart';
7 import 'mock_compiler.dart'; 8 import 'mock_compiler.dart';
8 import '../../../sdk/lib/_internal/compiler/implementation/tree/tree.dart'; 9 import '../../../sdk/lib/_internal/compiler/implementation/tree/tree.dart';
9 10
10 testUnparse(String statement) { 11 testUnparse(String statement) {
11 Node node = parseStatement(statement); 12 Node node = parseStatement(statement);
12 Expect.equals(statement, unparse(node)); 13 Expect.equals(statement, unparse(node));
13 } 14 }
14 15
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 testImport(); 357 testImport();
357 testExport(); 358 testExport();
358 testPart(); 359 testPart();
359 testPartOf(); 360 testPartOf();
360 testCombinators(); 361 testCombinators();
361 testRedirectingFactoryConstructors(); 362 testRedirectingFactoryConstructors();
362 testClassDeclarations(); 363 testClassDeclarations();
363 testMixinApplications(); 364 testMixinApplications();
364 testParameters(); 365 testParameters();
365 } 366 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/unparser2_test.dart ('k') | tests/compiler/dart2js/uri_extras_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698