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

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

Issue 13724021: Remove deprecated Expect from the libraries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 A { 7 class A {
6 var missingSetterField; 8 var missingSetterField;
7 var missingGetterField; 9 var missingGetterField;
8 var getterInSuperClassField; 10 var getterInSuperClassField;
9 var setterInSuperClassField; 11 var setterInSuperClassField;
10 var getterSetterField; 12 var getterSetterField;
11 var missingAllField; 13 var missingAllField;
12 var indexField = new List(2); 14 var indexField = new List(2);
13 15
14 set setterInSuperClass(a) { setterInSuperClassField = a; } 16 set setterInSuperClass(a) { setterInSuperClassField = a; }
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 Expect.equals(3, super[0] += 1); 96 Expect.equals(3, super[0] += 1);
95 Expect.equals(3, super[0]); 97 Expect.equals(3, super[0]);
96 Expect.equals(3, super[0]++); 98 Expect.equals(3, super[0]++);
97 Expect.equals(4, super[0]); 99 Expect.equals(4, super[0]);
98 } 100 }
99 } 101 }
100 102
101 main() { 103 main() {
102 new C().test(); 104 new C().test();
103 } 105 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698