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

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

Issue 2765693002: Update all tests (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 abstract class A { 5 abstract class A {
6 method1(); /// 01: ok 6 method1(); //# 01: ok
7 method5(); /// 05: ok 7 method5(); //# 05: ok
8 method6(); /// 06: ok 8 method6(); //# 06: ok
9 method7(); /// 07: static type warning 9 method7(); //# 07: static type warning
10 get getter8; /// 08: static type warning 10 get getter8; //# 08: static type warning
11 set setter9(_); /// 09: static type warning 11 set setter9(_); //# 09: static type warning
12 method10(); /// 10: static type warning 12 method10(); //# 10: static type warning
13 get getter11; /// 11: static type warning 13 get getter11; //# 11: static type warning
14 set setter12(_); /// 12: static type warning 14 set setter12(_); //# 12: static type warning
15 get field13; /// 13: static type warning 15 get field13; //# 13: static type warning
16 set field14(_); /// 14: static type warning 16 set field14(_); //# 14: static type warning
17 method18() {} /// 18: ok 17 method18() {} //# 18: ok
18 method27() {} /// 27: ok 18 method27() {} //# 27: ok
19 } 19 }
20 20
21 abstract class I { 21 abstract class I {
22 method10() {} /// 10: continued 22 method10() {} //# 10: continued
23 get getter11 => 0; /// 11: continued 23 get getter11 => 0; //# 11: continued
24 set setter12(_) {} /// 12: continued 24 set setter12(_) {} //# 12: continued
25 var field13; /// 13: continued 25 var field13; //# 13: continued
26 var field14; /// 14: continued 26 var field14; //# 14: continued
27 method15() {} /// 15: ok 27 method15() {} //# 15: ok
28 method16() {} /// 16: ok 28 method16() {} //# 16: ok
29 method17() {} /// 17: static type warning 29 method17() {} //# 17: static type warning
30 method18() {} /// 18: continued 30 method18() {} //# 18: continued
31 var member19; /// 19: static type warning 31 var member19; //# 19: static type warning
32 var member20; /// 20: static type warning 32 var member20; //# 20: static type warning
33 var member21; /// 21: static type warning 33 var member21; //# 21: static type warning
34 get member22 => 0; /// 22: static type warning 34 get member22 => 0; //# 22: static type warning
35 set member23(_) {} /// 23: static type warning 35 set member23(_) {} //# 23: static type warning
36 var member24; /// 24: static type warning 36 var member24; //# 24: static type warning
37 var field25; /// 25: static type warning 37 var field25; //# 25: static type warning
38 var member26; /// 26: static type warning 38 var member26; //# 26: static type warning
39 } 39 }
40 40
41 abstract class J { 41 abstract class J {
42 get member20 => null; /// 20: continued 42 get member20 => null; //# 20: continued
43 set member20(_) {} /// 20: continued 43 set member20(_) {} //# 20: continued
44 var member21; /// 21: continued 44 var member21; //# 21: continued
45 } 45 }
46 46
47 class Class extends A implements I, J { 47 class Class extends A implements I, J {
48 method1() {} /// 01: continued 48 method1() {} //# 01: continued
49 method2(); /// 02: static type warning 49 method2(); //# 02: static type warning
50 get getter3; /// 03: static type warning 50 get getter3; //# 03: static type warning
51 set setter4(_); /// 04: static type warning 51 set setter4(_); //# 04: static type warning
52 method5() {} /// 05: continued 52 method5() {} //# 05: continued
53 method6([a]) {} /// 06: continued 53 method6([a]) {} //# 06: continued
54 set field13(_) {} /// 13: continued 54 set field13(_) {} //# 13: continued
55 get field14 => 0; /// 14: continued 55 get field14 => 0; //# 14: continued
56 method15() {} /// 15: continued 56 method15() {} //# 15: continued
57 method16([a]) {} /// 16: continued 57 method16([a]) {} //# 16: continued
58 get member24 => 0; /// 24: continued 58 get member24 => 0; //# 24: continued
59 final field25 = 0; /// 25: continued 59 final field25 = 0; //# 25: continued
60 set member26(_) {} /// 26: continued 60 set member26(_) {} //# 26: continued
61 method27(); /// 27: continued 61 method27(); //# 27: continued
62 } 62 }
63 63
64 main() { 64 main() {
65 new Class(); 65 new Class();
66 } 66 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698