mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-21 22:59:16 +02: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 *file;
|
||||||
GFile *invalid_file;
|
GFile *invalid_file;
|
||||||
|
|
||||||
#ifdef G_OS_WIN32
|
#if defined(G_OS_WIN32) || defined(__APPLE__)
|
||||||
g_test_skip ("Default URI handlers are not currently supported on Windows");
|
g_test_skip ("Default URI handlers are not currently supported on Windows or macOS");
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -3536,8 +3536,8 @@ test_query_default_handler_file (void)
|
|||||||
const char buffer[] = "Text file!\n";
|
const char buffer[] = "Text file!\n";
|
||||||
const guint8 binary_buffer[] = "\xde\xad\xbe\xff";
|
const guint8 binary_buffer[] = "\xde\xad\xbe\xff";
|
||||||
|
|
||||||
#ifdef G_OS_WIN32
|
#if defined(G_OS_WIN32) || defined(__APPLE__)
|
||||||
g_test_skip ("Default URI handlers are not currently supported on Windows");
|
g_test_skip ("Default URI handlers are not currently supported on Windows or macOS");
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -3626,8 +3626,8 @@ test_query_default_handler_file_async (void)
|
|||||||
const guint8 binary_buffer[] = "\xde\xad\xbe\xff";
|
const guint8 binary_buffer[] = "\xde\xad\xbe\xff";
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
|
||||||
#ifdef G_OS_WIN32
|
#if defined(G_OS_WIN32) || defined(__APPLE__)
|
||||||
g_test_skip ("Default URI handlers are not currently supported on Windows");
|
g_test_skip ("Default URI handlers are not currently supported on Windows or macOS");
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -3716,8 +3716,8 @@ test_query_default_handler_uri_async (void)
|
|||||||
GFile *file;
|
GFile *file;
|
||||||
GFile *invalid_file;
|
GFile *invalid_file;
|
||||||
|
|
||||||
#ifdef G_OS_WIN32
|
#if defined(G_OS_WIN32) || defined(__APPLE__)
|
||||||
g_test_skip ("Default URI handlers are not currently supported on Windows");
|
g_test_skip ("Default URI handlers are not currently supported on Windows or macOS");
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user