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

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

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated latest tests. 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) 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 abstract class I0 { 7 abstract class I0 {
6 foo(); 8 foo();
7 } 9 }
8 10
9 abstract class I1 { 11 abstract class I1 {
10 bar(); 12 bar();
11 } 13 }
12 14
13 abstract class I2 implements I0, I1 { 15 abstract class I2 implements I0, I1 {
14 } 16 }
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 Expect.isFalse(c1 is I2); 69 Expect.isFalse(c1 is I2);
68 70
69 var c5 = new C5(); 71 var c5 = new C5();
70 Expect.equals(42, c5.foo()); 72 Expect.equals(42, c5.foo());
71 Expect.equals(87, c5.bar()); 73 Expect.equals(87, c5.bar());
72 Expect.isTrue(c5 is M); 74 Expect.isTrue(c5 is M);
73 Expect.isTrue(c5 is I0); 75 Expect.isTrue(c5 is I0);
74 Expect.isTrue(c5 is I1); 76 Expect.isTrue(c5 is I1);
75 Expect.isTrue(c5 is I2); 77 Expect.isTrue(c5 is I2);
76 } 78 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698