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

Side by Side Diff: tests/language/getters_setters_test.dart

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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";
6
5 class GettersSettersTest { 7 class GettersSettersTest {
6 8
7 static int foo; 9 static int foo;
8 10
9 static testMain() { 11 static testMain() {
10 A a = new A(); 12 A a = new A();
11 a.x = 2; 13 a.x = 2;
12 Expect.equals(2, a.x); 14 Expect.equals(2, a.x);
13 Expect.equals(2, a.x_); 15 Expect.equals(2, a.x_);
14 16
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 } 142 }
141 143
142 int getIt() { 144 int getIt() {
143 return super.x_; 145 return super.x_;
144 } 146 }
145 } 147 }
146 148
147 main() { 149 main() {
148 GettersSettersTest.testMain(); 150 GettersSettersTest.testMain();
149 } 151 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698