52 lines
2.1 KiB
Diff
52 lines
2.1 KiB
Diff
From 78531ef707422abc444bfac339a6c9f380d1da32 Mon Sep 17 00:00:00 2001
|
|
From: yuncang123 <1050706328@qq.com>
|
|
Date: Fri, 6 Sep 2024 10:29:53 +0800
|
|
Subject: [PATCH] fix2
|
|
|
|
---
|
|
libsecret/test-vala-lang.vala | 14 +++++++-------
|
|
libsecret/test-vala-unstable.vala | 2 +-
|
|
2 files changed, 8 insertions(+), 8 deletions(-)
|
|
|
|
diff --git a/libsecret/test-vala-lang.vala b/libsecret/test-vala-lang.vala
|
|
index ead5817..41db91e 100644
|
|
--- a/libsecret/test-vala-lang.vala
|
|
+++ b/libsecret/test-vala-lang.vala
|
|
@@ -166,13 +166,13 @@ private static int main (string[] args) {
|
|
"string", Secret.SchemaAttributeType.STRING);
|
|
}
|
|
|
|
- GLib.Test.add_data_func ("/vala/lookup/sync", test_lookup_sync);
|
|
- GLib.Test.add_data_func ("/vala/lookup/async", test_lookup_async);
|
|
- GLib.Test.add_data_func ("/vala/lookup/no-name", test_lookup_no_name);
|
|
- GLib.Test.add_data_func ("/vala/store/sync", test_store_sync);
|
|
- GLib.Test.add_data_func ("/vala/store/async", test_store_async);
|
|
- GLib.Test.add_data_func ("/vala/clear/sync", test_clear_sync);
|
|
- GLib.Test.add_data_func ("/vala/clear/async", test_clear_async);
|
|
+ GLib.Test.add_func ("/vala/lookup/sync", test_lookup_sync);
|
|
+ GLib.Test.add_func ("/vala/lookup/async", test_lookup_async);
|
|
+ GLib.Test.add_func ("/vala/lookup/no-name", test_lookup_no_name);
|
|
+ GLib.Test.add_func ("/vala/store/sync", test_store_sync);
|
|
+ GLib.Test.add_func ("/vala/store/async", test_store_async);
|
|
+ GLib.Test.add_func ("/vala/clear/sync", test_clear_sync);
|
|
+ GLib.Test.add_func ("/vala/clear/async", test_clear_async);
|
|
|
|
var res = GLib.Test.run ();
|
|
|
|
diff --git a/libsecret/test-vala-unstable.vala b/libsecret/test-vala-unstable.vala
|
|
index f508991..bf2018b 100644
|
|
--- a/libsecret/test-vala-unstable.vala
|
|
+++ b/libsecret/test-vala-unstable.vala
|
|
@@ -28,7 +28,7 @@ private static int main (string[] args) {
|
|
GLib.error ("Unable to start mock service: %s", e.message);
|
|
}
|
|
|
|
- GLib.Test.add_data_func ("/vala/unstable/read-alias", test_read_alias);
|
|
+ GLib.Test.add_func ("/vala/unstable/read-alias", test_read_alias);
|
|
|
|
var res = GLib.Test.run ();
|
|
Secret.Service.disconnect ();
|
|
--
|
|
2.43.0
|
|
|