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

Side by Side Diff: tests/language/field_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) 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 // Dart test program for testing setting/getting of instance fields. 4 // Dart test program for testing setting/getting of instance fields.
5 5
6 import "package:expect/expect.dart";
7
8 class First { 6 class First {
9 First() {} 7 First() {}
10 var a; 8 var a;
11 var b; 9 var b;
12 10
13 addFields() { 11 addFields() {
14 return a + b; 12 return a + b;
15 } 13 }
16 14
17 setValues() { 15 setValues() {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 static testMain() { 62 static testMain() {
65 // FieldTest.one(); 63 // FieldTest.one();
66 FieldTest.two(); 64 FieldTest.two();
67 } 65 }
68 } 66 }
69 67
70 68
71 main() { 69 main() {
72 FieldTest.testMain(); 70 FieldTest.testMain();
73 } 71 }
OLDNEW
« no previous file with comments | « tests/language/field_parameter_test.dart ('k') | tests/language/final_field_initialization_order_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698