summaryrefslogtreecommitdiff
path: root/tests/document-saver.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/document-saver.c')
-rw-r--r--tests/document-saver.c9
1 files changed, 0 insertions, 9 deletions
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 ();
}