| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |