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

Side by Side Diff: tests/language/call_nonexistent_static_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
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 // When attempting to call a nonexistent static method, getter or setter, check 7 // When attempting to call a nonexistent static method, getter or setter, check
6 // that a NoSuchMethodError is thrown. 8 // that a NoSuchMethodError is thrown.
7 9
8 class C {} 10 class C {}
9 11
10 class D { 12 class D {
11 get hest => 1; /// 04: continued 13 get hest => 1; /// 04: continued
12 set hest(val) {} /// 05: continued 14 set hest(val) {} /// 05: continued
13 } 15 }
14 16
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 expectNsme( 93 expectNsme(
92 test08 /// 08: continued 94 test08 /// 08: continued
93 ); 95 );
94 expectNsme( 96 expectNsme(
95 test09 /// 09: continued 97 test09 /// 09: continued
96 ); 98 );
97 expectNsme( 99 expectNsme(
98 test10 /// 10: continued 100 test10 /// 10: continued
99 ); 101 );
100 } 102 }
OLDNEW
« no previous file with comments | « tests/language/call_nonexistent_constructor_test.dart ('k') | tests/language/call_operator_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698