summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-08-25 14:40:58 +0300
committerinfirit <[email protected]>2015-09-02 11:34:01 +0200
commitb24934e186456b50d7702192ec3a270926831791 (patch)
treee7daae0af65482e5f1a5598808e4e55792dd7e6d /tests
parentf6d7a422f3f5f97e676cd18cef5bb46aca8da6be (diff)
downloadpluma-b24934e186456b50d7702192ec3a270926831791.tar.bz2
pluma-b24934e186456b50d7702192ec3a270926831791.tar.xz
drop support for win32/osx and checkupdate plugin
that plugin has never been built in linux anyway due to logic in configure.ac
Diffstat (limited to 'tests')
-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 ();
}