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

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

Issue 12743005: Revert "Remove Expect from core library." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload (first upload failed). 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
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
7 // When attempting to call a nonexistent static method, getter or setter, check 5 // When attempting to call a nonexistent static method, getter or setter, check
8 // that a NoSuchMethodError is thrown. 6 // that a NoSuchMethodError is thrown.
9 7
10 class C {} 8 class C {}
11 9
12 class D { 10 class D {
13 get hest => 1; /// 04: continued 11 get hest => 1; /// 04: continued
14 set hest(val) {} /// 05: continued 12 set hest(val) {} /// 05: continued
15 } 13 }
16 14
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 expectNsme( 91 expectNsme(
94 test08 /// 08: continued 92 test08 /// 08: continued
95 ); 93 );
96 expectNsme( 94 expectNsme(
97 test09 /// 09: continued 95 test09 /// 09: continued
98 ); 96 );
99 expectNsme( 97 expectNsme(
100 test10 /// 10: continued 98 test10 /// 10: continued
101 ); 99 );
102 } 100 }
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