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

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

Issue 12729031: Fix dartium tests (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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 | « no previous file | no next file » | 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_field_test;
6
5 import "mixin_lib_extends_field_lib.dart" as L; 7 import "mixin_lib_extends_field_lib.dart" as L;
6 8
7 class S { 9 class S {
8 var foo = "S-foo"; 10 var foo = "S-foo";
9 } 11 }
10 12
11 class C extends S with L.M1 { } 13 class C extends S with L.M1 { }
12 class D extends S with L.M1, L.M2 { } 14 class D extends S with L.M1, L.M2 { }
13 class E extends S with L.M2, L.M1 { } 15 class E extends S with L.M2, L.M1 { }
14 16
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 Expect.throws(() => c.fez = 0, (error) => error is NoSuchMethodError); 105 Expect.throws(() => c.fez = 0, (error) => error is NoSuchMethodError);
104 Expect.throws(() => d.fez = 0, (error) => error is NoSuchMethodError); 106 Expect.throws(() => d.fez = 0, (error) => error is NoSuchMethodError);
105 Expect.throws(() => e.fez = 0, (error) => error is NoSuchMethodError); 107 Expect.throws(() => e.fez = 0, (error) => error is NoSuchMethodError);
106 108
107 f.fez = "F-fez-f"; 109 f.fez = "F-fez-f";
108 Expect.throws(() => c.fez, (error) => error is NoSuchMethodError); 110 Expect.throws(() => c.fez, (error) => error is NoSuchMethodError);
109 Expect.throws(() => d.fez, (error) => error is NoSuchMethodError); 111 Expect.throws(() => d.fez, (error) => error is NoSuchMethodError);
110 Expect.throws(() => e.fez, (error) => error is NoSuchMethodError); 112 Expect.throws(() => e.fez, (error) => error is NoSuchMethodError);
111 Expect.equals("F-fez-f", f.fez); 113 Expect.equals("F-fez-f", f.fez);
112 } 114 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698