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

Side by Side Diff: tests/language/parameter_initializer2_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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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";
6
5 // Test Parameter Intializer. 7 // Test Parameter Intializer.
6 8
7 9
8 class ParameterInitializer2Test { 10 class ParameterInitializer2Test {
9 static testMain() { 11 static testMain() {
10 var a = new A(123); 12 var a = new A(123);
11 Expect.equals(123, a.x); 13 Expect.equals(123, a.x);
12 14
13 var b = new B(123); 15 var b = new B(123);
14 Expect.equals(123, b.x); 16 Expect.equals(123, b.x);
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 int y_; 75 int y_;
74 int w_; 76 int w_;
75 int z; 77 int z;
76 int az_; 78 int az_;
77 } 79 }
78 80
79 81
80 main() { 82 main() {
81 ParameterInitializer2Test.testMain(); 83 ParameterInitializer2Test.testMain();
82 } 84 }
OLDNEW
« no previous file with comments | « tests/language/param_test.dart ('k') | tests/language/parameter_initializer6_negative_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698