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

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

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add deprecation comment for ExpectException and revert one test. Created 7 years, 8 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/is_function_test.dart ('k') | tests/language/is_interfaces_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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 class A { 7 class A {
6 } 8 }
7 9
8 class B extends A { 10 class B extends A {
9 } 11 }
10 12
11 class C extends B { 13 class C extends B {
12 } 14 }
13 15
14 class D implements C { 16 class D implements C {
(...skipping 21 matching lines...) Expand all
36 Expect.isTrue(c is B); 38 Expect.isTrue(c is B);
37 Expect.isTrue(c is C); 39 Expect.isTrue(c is C);
38 Expect.isFalse(c is D); 40 Expect.isFalse(c is D);
39 41
40 var d = things[inscrutable(3)]; 42 var d = things[inscrutable(3)];
41 Expect.isTrue(d is A); 43 Expect.isTrue(d is A);
42 Expect.isTrue(d is B); 44 Expect.isTrue(d is B);
43 Expect.isTrue(d is C); 45 Expect.isTrue(d is C);
44 Expect.isTrue(d is D); 46 Expect.isTrue(d is D);
45 } 47 }
OLDNEW
« no previous file with comments | « tests/language/is_function_test.dart ('k') | tests/language/is_interfaces_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698