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

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

Issue 2770063002: Revert "Format all multitests" (Closed)
Patch Set: Created 3 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
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"; 5 import "package:expect/expect.dart";
6 6
7 // 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
8 // that a NoSuchMethodError is thrown. 8 // that a NoSuchMethodError is thrown.
9 9
10 class C {} 10 class C {}
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 } 64 }
65 65
66 test10() { 66 test10() {
67 fisk; // //# 10: static type warning 67 fisk; // //# 10: static type warning
68 } 68 }
69 69
70 main() { 70 main() {
71 expectNsme(alwaysThrows); 71 expectNsme(alwaysThrows);
72 expectNsme( 72 expectNsme(
73 test01 // //# 01: continued 73 test01 // //# 01: continued
74 ); 74 );
75 expectNsme( 75 expectNsme(
76 test02 // //# 02: continued 76 test02 // //# 02: continued
77 ); 77 );
78 expectNsme( 78 expectNsme(
79 test03 // //# 03: continued 79 test03 // //# 03: continued
80 ); 80 );
81 expectNsme( 81 expectNsme(
82 test04 // //# 04: continued 82 test04 // //# 04: continued
83 ); 83 );
84 expectNsme( 84 expectNsme(
85 test05 // //# 05: continued 85 test05 // //# 05: continued
86 ); 86 );
87 expectNsme( 87 expectNsme(
88 test06 // //# 06: continued 88 test06 // //# 06: continued
89 ); 89 );
90 expectNsme( 90 expectNsme(
91 test07 // //# 07: continued 91 test07 // //# 07: continued
92 ); 92 );
93 expectNsme( 93 expectNsme(
94 test08 // //# 08: continued 94 test08 // //# 08: continued
95 ); 95 );
96 expectNsme( 96 expectNsme(
97 test09 // //# 09: continued 97 test09 // //# 09: continued
98 ); 98 );
99 expectNsme( 99 expectNsme(
100 test10 // //# 10: continued 100 test10 // //# 10: continued
101 ); 101 );
102 } 102 }
OLDNEW
« no previous file with comments | « tests/language/call_non_method_field_test.dart ('k') | tests/language/call_through_getter_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698