Index: test/rules/public_member_api_docs.dart |
diff --git a/test/rules/public_member_api_docs.dart b/test/rules/public_member_api_docs.dart |
index 79b71c09737af1c5d9ba68c194fecc14f37c10a2..f375090d9d22e22242d6001181b860f3b91028c8 100644 |
--- a/test/rules/public_member_api_docs.dart |
+++ b/test/rules/public_member_api_docs.dart |
@@ -6,6 +6,16 @@ |
abstract class A //LINT |
{ |
+ |
+ /// Zapp. |
+ int get zapp => 0; |
+ set zapp(int z) //OK |
+ { } |
+ |
+ int get zapp2 => 0; //LINT |
+ /// Zapp. |
+ set zapp2(int z) { } |
+ |
static const Z = 1; //LINT |
static int _Z = 13; //OK |
@@ -27,6 +37,16 @@ abstract class A //LINT |
c(); //LINT |
} |
+/// Zapp. |
+int get zapp => 0; |
+set zapp(int z) //OK |
+{ } |
+ |
+int get zapp2 => 0; //LINT |
+/// Zapp. |
+set zapp2(int z) { } |
+ |
+ |
main() //OK |
{ } |
@@ -68,3 +88,15 @@ int _h; //OK |
int gg, //LINT |
_gg; //OK |
+ |
+/// ZZ. |
+class ZZ { |
+ /// Z. |
+ int get z => 0; |
+} |
+ |
+/// ZZZ. |
+class ZZZ extends ZZ { |
+ set z(int z) //OK |
+ { } |
+} |