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

Side by Side Diff: tests/language/instanceof2_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/instance_inline_test.dart ('k') | tests/language/instanceof3_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 // Dart test program for testing the instanceof operation. 4 // Dart test program for testing the instanceof operation.
5 5
6 import "package:expect/expect.dart";
7
6 abstract class I { } 8 abstract class I { }
7 9
8 abstract class AI implements I { } 10 abstract class AI implements I { }
9 11
10 class A implements AI { 12 class A implements AI {
11 const A(); 13 const A();
12 } 14 }
13 15
14 class B implements I { 16 class B implements I {
15 const B(); 17 const B();
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 } 98 }
97 } 99 }
98 100
99 main() { 101 main() {
100 // Repeat type checks so that inlined tests can be tested as well. 102 // Repeat type checks so that inlined tests can be tested as well.
101 for (int i = 0; i < 5; i++) { 103 for (int i = 0; i < 5; i++) {
102 InstanceofTest.testMain(); 104 InstanceofTest.testMain();
103 } 105 }
104 } 106 }
105 107
OLDNEW
« no previous file with comments | « tests/language/instance_inline_test.dart ('k') | tests/language/instanceof3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698