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

Side by Side Diff: tests/language/getters_setters_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 import "package:expect/expect.dart";
6
7 class GettersSettersTest { 5 class GettersSettersTest {
8 6
9 static int foo; 7 static int foo;
10 8
11 static testMain() { 9 static testMain() {
12 A a = new A(); 10 A a = new A();
13 a.x = 2; 11 a.x = 2;
14 Expect.equals(2, a.x); 12 Expect.equals(2, a.x);
15 Expect.equals(2, a.x_); 13 Expect.equals(2, a.x_);
16 14
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 } 140 }
143 141
144 int getIt() { 142 int getIt() {
145 return super.x_; 143 return super.x_;
146 } 144 }
147 } 145 }
148 146
149 main() { 147 main() {
150 GettersSettersTest.testMain(); 148 GettersSettersTest.testMain();
151 } 149 }
OLDNEW
« no previous file with comments | « tests/language/getters_setters2_test.dart ('k') | tests/language/getters_setters_type2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698