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

Side by Side Diff: tests/language/mixin_lib_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_is_test.dart ('k') | tests/language/mixin_method_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 library mixin_lib_extends_method_test; 5 library mixin_lib_extends_method_test;
6 6
7 import "package:expect/expect.dart";
8 import "mixin_lib_extends_method_lib.dart" as L; 7 import "mixin_lib_extends_method_lib.dart" as L;
9 8
10 class S { 9 class S {
11 foo() => "S-foo"; 10 foo() => "S-foo";
12 baz() => "S-baz"; 11 baz() => "S-baz";
13 } 12 }
14 13
15 class C extends S with L.M1 { } 14 class C extends S with L.M1 { }
16 class D extends S with L.M1, L.M2 { } 15 class D extends S with L.M1, L.M2 { }
17 class E extends S with L.M2, L.M1 { } 16 class E extends S with L.M2, L.M1 { }
(...skipping 24 matching lines...) Expand all
42 Expect.equals("M2-fez", e.fez()); 41 Expect.equals("M2-fez", e.fez());
43 Expect.equals("sugus", e.clo("su")("gus")); 42 Expect.equals("sugus", e.clo("su")("gus"));
44 43
45 var f = new F(); 44 var f = new F();
46 Expect.equals("S-foo", f.foo()); 45 Expect.equals("S-foo", f.foo());
47 Expect.equals("M1-bar", f.bar()); 46 Expect.equals("M1-bar", f.bar());
48 Expect.equals("M2-baz", f.baz()); 47 Expect.equals("M2-baz", f.baz());
49 Expect.equals("F-fez", f.fez()); 48 Expect.equals("F-fez", f.fez());
50 Expect.equals("sugus", f.clo("su")("gus")); 49 Expect.equals("sugus", f.clo("su")("gus"));
51 } 50 }
OLDNEW
« no previous file with comments | « tests/language/mixin_is_test.dart ('k') | tests/language/mixin_method_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698