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

Side by Side Diff: tests/language/mixin_implements_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
« no previous file with comments | « tests/language/mixin_illegal_super_use_test.dart ('k') | tests/language/mixin_is_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
7 abstract class I0 { 5 abstract class I0 {
8 foo(); 6 foo();
9 } 7 }
10 8
11 abstract class I1 { 9 abstract class I1 {
12 bar(); 10 bar();
13 } 11 }
14 12
15 abstract class I2 implements I0, I1 { 13 abstract class I2 implements I0, I1 {
16 } 14 }
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 Expect.isFalse(c1 is I2); 67 Expect.isFalse(c1 is I2);
70 68
71 var c5 = new C5(); 69 var c5 = new C5();
72 Expect.equals(42, c5.foo()); 70 Expect.equals(42, c5.foo());
73 Expect.equals(87, c5.bar()); 71 Expect.equals(87, c5.bar());
74 Expect.isTrue(c5 is M); 72 Expect.isTrue(c5 is M);
75 Expect.isTrue(c5 is I0); 73 Expect.isTrue(c5 is I0);
76 Expect.isTrue(c5 is I1); 74 Expect.isTrue(c5 is I1);
77 Expect.isTrue(c5 is I2); 75 Expect.isTrue(c5 is I2);
78 } 76 }
OLDNEW
« no previous file with comments | « tests/language/mixin_illegal_super_use_test.dart ('k') | tests/language/mixin_is_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698