mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 02:32:11 +01:00
tests: Skip various default handler tests on macOS
They are not currently supported by `gosxappinfo.m`. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
dbdc9ca995
commit
059a5fd4da
@ -3493,8 +3493,8 @@ test_query_default_handler_uri (void)
|
||||
GFile *file;
|
||||
GFile *invalid_file;
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
g_test_skip ("Default URI handlers are not currently supported on Windows");
|
||||
#if defined(G_OS_WIN32) || defined(__APPLE__)
|
||||
g_test_skip ("Default URI handlers are not currently supported on Windows or macOS");
|
||||
return;
|
||||
#endif
|
||||
|
||||
@ -3536,8 +3536,8 @@ test_query_default_handler_file (void)
|
||||
const char buffer[] = "Text file!\n";
|
||||
const guint8 binary_buffer[] = "\xde\xad\xbe\xff";
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
g_test_skip ("Default URI handlers are not currently supported on Windows");
|
||||
#if defined(G_OS_WIN32) || defined(__APPLE__)
|
||||
g_test_skip ("Default URI handlers are not currently supported on Windows or macOS");
|
||||
return;
|
||||
#endif
|
||||
|
||||
@ -3626,8 +3626,8 @@ test_query_default_handler_file_async (void)
|
||||
const guint8 binary_buffer[] = "\xde\xad\xbe\xff";
|
||||
GError *error = NULL;
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
g_test_skip ("Default URI handlers are not currently supported on Windows");
|
||||
#if defined(G_OS_WIN32) || defined(__APPLE__)
|
||||
g_test_skip ("Default URI handlers are not currently supported on Windows or macOS");
|
||||
return;
|
||||
#endif
|
||||
|
||||
@ -3716,8 +3716,8 @@ test_query_default_handler_uri_async (void)
|
||||
GFile *file;
|
||||
GFile *invalid_file;
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
g_test_skip ("Default URI handlers are not currently supported on Windows");
|
||||
#if defined(G_OS_WIN32) || defined(__APPLE__)
|
||||
g_test_skip ("Default URI handlers are not currently supported on Windows or macOS");
|
||||
return;
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user