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

Side by Side Diff: tests/language/mixin_extends_method_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_extends_is_test.dart ('k') | tests/language/mixin_field_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 class S { 5 class S {
8 foo() => "S-foo"; 6 foo() => "S-foo";
9 baz() => "S-baz"; 7 baz() => "S-baz";
10 } 8 }
11 9
12 class M1 { 10 class M1 {
13 static m1bar() => "M1-bar"; 11 static m1bar() => "M1-bar";
14 bar() => m1bar(); 12 bar() => m1bar();
15 } 13 }
16 14
(...skipping 29 matching lines...) Expand all
46 Expect.equals("M1-bar", e.bar()); 44 Expect.equals("M1-bar", e.bar());
47 Expect.equals("M2-baz", e.baz()); 45 Expect.equals("M2-baz", e.baz());
48 Expect.equals("M2-fez", e.fez()); 46 Expect.equals("M2-fez", e.fez());
49 47
50 var f = new F(); 48 var f = new F();
51 Expect.equals("S-foo", f.foo()); 49 Expect.equals("S-foo", f.foo());
52 Expect.equals("M1-bar", f.bar()); 50 Expect.equals("M1-bar", f.bar());
53 Expect.equals("M2-baz", f.baz()); 51 Expect.equals("M2-baz", f.baz());
54 Expect.equals("F-fez", f.fez()); 52 Expect.equals("F-fez", f.fez());
55 } 53 }
OLDNEW
« no previous file with comments | « tests/language/mixin_extends_is_test.dart ('k') | tests/language/mixin_field_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698