From b24934e186456b50d7702192ec3a270926831791 Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 25 Aug 2015 14:40:58 +0300 Subject: drop support for win32/osx and checkupdate plugin that plugin has never been built in linux anyway due to logic in configure.ac --- tests/document-saver.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'tests/document-saver.c') diff --git a/tests/document-saver.c b/tests/document-saver.c index 5ac33d54..7e1ceb54 100644 --- a/tests/document-saver.c +++ b/tests/document-saver.c @@ -359,7 +359,6 @@ test_remote () saver_test_data_new (DEFAULT_REMOTE_URI, "hello world\n\n", NULL)); } -#ifndef G_OS_WIN32 static void check_permissions (GFile *file, guint permissions) @@ -455,7 +454,6 @@ test_local_permissions () test_permissions (DEFAULT_LOCAL_URI, 0666); test_permissions (DEFAULT_LOCAL_URI, 0760); } -#endif static void test_local_unowned_directory () @@ -483,7 +481,6 @@ test_remote_unowned_directory () NULL)); } -#ifndef G_OS_WIN32 static void test_remote_permissions () { @@ -548,8 +545,6 @@ test_remote_unowned_group () test_unowned_group (UNOWNED_GROUP_REMOTE_URI); } -#endif - static gboolean check_unowned_directory () { @@ -665,7 +660,6 @@ check_unowned_group () return FALSE; } -#ifndef G_OS_WIN32 if ((g_file_info_get_attribute_uint32 (info, G_FILE_ATTRIBUTE_UNIX_MODE) & ACCESSPERMS) != 0660) { g_object_unref (unowned); @@ -674,7 +668,6 @@ check_unowned_group () g_object_unref (info); return FALSE; } -#endif g_object_unref (info); g_object_unref (unowned); @@ -721,7 +714,6 @@ int main (int argc, /* g_test_add_func ("/document-saver/remote-unowned-group", test_remote_unowned_group); */ } -#ifndef G_OS_WIN32 g_test_add_func ("/document-saver/local-permissions", test_local_permissions); if (have_unowned_group) @@ -730,7 +722,6 @@ int main (int argc, } g_test_add_func ("/document-saver/remote-permissions", test_remote_permissions); -#endif return g_test_run (); } -- cgit v1.2.1