]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
tests: Extend "fastvapi" test to increase coverage
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 4 Oct 2019 13:09:10 +0000 (15:09 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 4 Oct 2019 13:19:48 +0000 (15:19 +0200)
tests/fastvapi/fastvapitest.vala
tests/fastvapi/fastvapitest.vapi-expected

index b711b5c2903b88582e13db598aba35a914bfcea9..bfbd371c6f10d5d5ae901ec480ae3d6cee863199 100644 (file)
@@ -37,4 +37,8 @@ namespace FastVapi {
                public void method () {
                }
        }
+
+       public struct TestSubStruct : TestStruct {
+               public static int static_field_name;
+       }
 }
index 1826b8299afcb7e567b8d8d2af467ecffd121474..3a8ab23b59f41fa1705ce53b5d8ff8308cc5e15d 100644 (file)
@@ -31,6 +31,11 @@ namespace FastVapi {
                [Source (filename = "fastvapitest.vala", line = 13, column = 3)]
                public int field_name;
        }
+       [Source (filename = "fastvapitest.vala", line = 41, column = 2)]
+       public struct TestSubStruct : TestStruct {
+               [Source (filename = "fastvapitest.vala", line = 42, column = 3)]
+               public static int static_field_name;
+       }
        [Source (filename = "fastvapitest.vala", line = 4, column = 2)]
        public enum EnumTest {
                [Source (filename = "fastvapitest.vala", line = 5, column = 3)]