From: Rico Tzschichholz Date: Fri, 22 Mar 2024 09:31:16 +0000 (+0100) Subject: tests: Extend off_t/time_t test cases to increase coverage X-Git-Tag: 0.56.17~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aca6c70fc5f288b7cd2f9ca272cdc6e18c933704;p=thirdparty%2Fvala.git tests: Extend off_t/time_t test cases to increase coverage --- diff --git a/tests/gir/off_t.gir b/tests/gir/off_t.gir index f295b99eb..0a15bddf0 100644 --- a/tests/gir/off_t.gir +++ b/tests/gir/off_t.gir @@ -5,11 +5,21 @@ + + + + + + + + + + - + diff --git a/tests/gir/off_t.vapi-expected b/tests/gir/off_t.vapi-expected index d147585fb..5f27ee899 100644 --- a/tests/gir/off_t.vapi-expected +++ b/tests/gir/off_t.vapi-expected @@ -1,5 +1,7 @@ [CCode (cprefix = "Test", gir_namespace = "Test", gir_version = "1.0", lower_case_cprefix = "test_")] namespace Test { [CCode (cheader_filename = "test.h")] - public static off_t function (off_t time); + public static off_t function (off_t offset); + [CCode (cheader_filename = "test.h")] + public static off_t function_compat (off_t offset); } diff --git a/tests/gir/time_t.gir b/tests/gir/time_t.gir index 73e48f891..c0d13e0da 100644 --- a/tests/gir/time_t.gir +++ b/tests/gir/time_t.gir @@ -5,6 +5,16 @@ + + + + + + + + + + diff --git a/tests/gir/time_t.vapi-expected b/tests/gir/time_t.vapi-expected index 80d73ef41..a8e53ac62 100644 --- a/tests/gir/time_t.vapi-expected +++ b/tests/gir/time_t.vapi-expected @@ -2,4 +2,6 @@ namespace Test { [CCode (cheader_filename = "test.h")] public static time_t function (time_t time); + [CCode (cheader_filename = "test.h")] + public static time_t function_compat (time_t time); }