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

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

Issue 2765893003: Fix warnings_checker.dart handling of 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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 class A { 5 class A {
6 var member1; /// 01: compile-time error 6 var member1; //# 01: compile-time error
7 member2() {} /// 02: compile-time error 7 member2() {} //# 02: compile-time error
8 get member3 => null; /// 03: compile-time error 8 get member3 => null; //# 03: compile-time error
9 member4() {} /// 04: compile-time error 9 member4() {} //# 04: compile-time error
10 } 10 }
11 11
12 abstract class I { 12 abstract class I {
13 var member5; /// 05: ok 13 var member5; //# 05: ok
14 var member6; /// 06: static type warning 14 var member6; //# 06: static type warning
15 get member7; /// 07: static type warning 15 get member7; //# 07: static type warning
16 get member8; /// 08: static type warning 16 get member8; //# 08: static type warning
17 get member9; /// 09: static type warning 17 get member9; //# 09: static type warning
18 } 18 }
19 19
20 abstract class J { 20 abstract class J {
21 get member5; /// 05: continued 21 get member5; //# 05: continued
22 member6() {} /// 06: continued 22 member6() {} //# 06: continued
23 member7() {} /// 07: continued 23 member7() {} //# 07: continued
24 member8() {} /// 08: continued 24 member8() {} //# 08: continued
25 member9() {} /// 09: continued 25 member9() {} //# 09: continued
26 } 26 }
27 27
28 abstract class B extends A implements I, J { 28 abstract class B extends A implements I, J {
29 } 29 }
30 30
31 class Class extends B { 31 class Class extends B {
32 member1() {} /// 01: continued 32 member1() {} //# 01: continued
33 var member2; /// 02: continued 33 var member2; //# 02: continued
34 member3() {} /// 03: continued 34 member3() {} //# 03: continued
35 get member4 => null; /// 04: continued 35 get member4 => null; //# 04: continued
36 var member5; /// 05: continued 36 var member5; //# 05: continued
37 member8() {} /// 08: continued 37 member8() {} //# 08: continued
38 get member9 => null; /// 09: continued 38 get member9 => null; //# 09: continued
39 } 39 }
40 40
41 main() { 41 main() {
42 new Class(); 42 new Class();
43 } 43 }
OLDNEW
« no previous file with comments | « tests/language/override_inheritance_method_test.dart ('k') | tests/language/override_inheritance_no_such_method_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698