summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2015-06-18 22:08:06 +0200
committerRay Strode <rstrode@redhat.com>2018-04-03 14:16:17 -0400
commitfef4b4dea0ebc6cb99a148d8d60badf68a29a6b8 (patch)
tree6f10bf9df6cf74c6d71bbf6ec7a60b1687d145c2 /test
parent630ffead15c8c29efb0c0770cef1cae70bdb738b (diff)
downloadpolkit-fef4b4dea0ebc6cb99a148d8d60badf68a29a6b8.tar.gz
Move to current GLib
Set up glib to use the installed version for deprecation warnings instead of limiting ourselves to [2.30,2.34]; this will let us use newer API, and help us keep up to date with future deprecations. Then fix all the warnings (as of GLib 2.44.1). https://bugs.freedesktop.org/show_bug.cgi?id=91198
Diffstat (limited to 'test')
-rw-r--r--test/polkit/polkitidentitytest.c1
-rw-r--r--test/polkit/polkitunixgrouptest.c1
-rw-r--r--test/polkit/polkitunixnetgrouptest.c1
-rw-r--r--test/polkit/polkitunixusertest.c1
-rw-r--r--test/polkitbackend/test-polkitbackendjsauthority.c1
5 files changed, 0 insertions, 5 deletions
diff --git a/test/polkit/polkitidentitytest.c b/test/polkit/polkitidentitytest.c
index 3b8dd5e..e91967b 100644
--- a/test/polkit/polkitidentitytest.c
+++ b/test/polkit/polkitidentitytest.c
@@ -170,7 +170,6 @@ add_comparison_tests (void)
int
main (int argc, char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_data_func ("/PolkitIdentity/user_string_0", "unix-user:root", test_string);
diff --git a/test/polkit/polkitunixgrouptest.c b/test/polkit/polkitunixgrouptest.c
index f1417b3..6c4959e 100644
--- a/test/polkit/polkitunixgrouptest.c
+++ b/test/polkit/polkitunixgrouptest.c
@@ -73,7 +73,6 @@ test_set_gid (void)
int
main (int argc, char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/PolkitUnixGroup/new", test_new);
g_test_add_func ("/PolkitUnixGroup/new_for_name", test_new_for_name);
diff --git a/test/polkit/polkitunixnetgrouptest.c b/test/polkit/polkitunixnetgrouptest.c
index c67822e..3701ba1 100644
--- a/test/polkit/polkitunixnetgrouptest.c
+++ b/test/polkit/polkitunixnetgrouptest.c
@@ -68,7 +68,6 @@ test_set_name (void)
int
main (int argc, char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/PolkitUnixNetgroup/new", test_new);
g_test_add_func ("/PolkitUnixNetgroup/set_name", test_set_name);
diff --git a/test/polkit/polkitunixusertest.c b/test/polkit/polkitunixusertest.c
index ce35088..fc4c774 100644
--- a/test/polkit/polkitunixusertest.c
+++ b/test/polkit/polkitunixusertest.c
@@ -95,7 +95,6 @@ test_set_uid (void)
int
main (int argc, char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/PolkitUnixUser/new", test_new);
g_test_add_func ("/PolkitUnixUser/new_for_name", test_new_for_name);
diff --git a/test/polkitbackend/test-polkitbackendjsauthority.c b/test/polkitbackend/test-polkitbackendjsauthority.c
index dfb894f..984110c 100644
--- a/test/polkitbackend/test-polkitbackendjsauthority.c
+++ b/test/polkitbackend/test-polkitbackendjsauthority.c
@@ -403,7 +403,6 @@ main (int argc, char *argv[])
{
setlocale (LC_ALL, "");
- g_type_init ();
g_test_init (&argc, &argv, NULL);
//polkit_test_redirect_logs ();