glib/gio/tests
Philip Withnall 176f66502d tests: Reduce an unnecessary sleep from desktop-app-info test
`g_app_info_launch_default_for_uri_async()` has already returned by this
point, so waiting a long time is not really going to help.

Wait for 3× as long as the successful case took, which should allow for
long enough to catch true negatives, with a bit of variance.

On my system, this means waiting for about 14ms, rather than the 100ms
which this previous slept for. This speeds the test up by about 5%.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2022-11-01 00:33:40 +00:00
..
cert-tests gtlscertificate: Add ability to load PKCS #12 encrypted files 2022-01-07 11:27:56 -06:00
de/LC_MESSAGES
desktop-files gdesktopappinfo: Fix validation of XDG_CURRENT_DESKTOP 2021-01-09 15:39:09 +01:00
gdbus-object-manager-example meson: Expose library build type as global variables 2022-10-31 14:08:31 +01:00
modules giomodules: g_io_module_* must always be exported 2022-10-13 20:53:56 -04:00
schema-tests
services meson: Set install_tag on installed tests files 2022-09-20 11:30:02 -04:00
static-link CI: Test static build on installed glib 2018-10-23 09:45:12 -04:00
thumbnails
x-content Correct shellcheck errors (and ignore world splitting when we want it) 2020-11-15 17:34:27 +01:00
.gitignore gdbus, tests: rename gdbus-unix-addresses test to gdbus-address-get-session 2019-03-12 21:53:43 +03:00
111_digit_test.gresource.xml glib-compile-resources: Fixes #1675 2019-02-20 10:38:29 +00:00
actions.c gio: Add some missing license and copyright headers 2022-07-05 12:30:46 +01:00
appinfo-test2.desktop.in tests: Avoid chdir() call at the start of appinfo tests 2018-12-17 17:16:03 +00:00
appinfo-test-actions.desktop tests/desktop-app-info: Use unique temporary paths for action files 2022-09-13 02:44:25 +02:00
appinfo-test-gnome.desktop.in tests: Avoid chdir() call at the start of appinfo tests 2018-12-17 17:16:03 +00:00
appinfo-test-notgnome.desktop.in tests: Avoid chdir() call at the start of appinfo tests 2018-12-17 17:16:03 +00:00
appinfo-test-static.desktop tests: Use static appinfo .desktop file when not launching 2018-12-17 17:16:04 +00:00
appinfo-test.c Normalize C source files to end with exactly one newline 2020-06-10 09:48:02 +01:00
appinfo-test.desktop.in tests: Don’t spawn test processes via the terminal in the appinfo test 2019-06-28 13:05:07 +01:00
appinfo.c desktop-app-info: Run test without display, they work with no issue 2022-10-25 14:31:02 +02:00
appmonitor.c tests: skip appmonitor test on win32 2022-03-18 00:16:14 +04:00
apps.c
async-close-output-stream.c tests: Drop use of g_test_bug_base() 2021-05-13 22:16:27 +01:00
async-splice-output-stream.c gio/tests/async-splice-output-stream: Fix a memory leak 2021-07-23 22:21:23 +02:00
autoptr.c autoptr test: Use OS-dependent path separator 2019-02-13 08:49:42 +00:00
basic-application.c Fix several missing initializer warnings in gio/tests/basic-application.c 2021-04-29 12:40:05 +02:00
buffered-input-stream.c tests: Drop use of g_test_bug_base() 2021-05-13 22:16:27 +01:00
buffered-output-stream.c
cancellable.c Fix warnings in GCancellable test 2022-08-03 20:38:59 +02:00
codegen.py Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
contenttype.c gio, glib: Use G_OS_DARWIN for code that is for such environments 2022-10-20 03:37:21 +02:00
contexts.c Fix several signedness warnings in gio/tests/contexts.c 2021-04-05 12:03:51 +02:00
converter-stream.c tests: Remove an incorrect assertion in converter-stream 2022-04-05 18:19:23 +01:00
credentials.c gio: add G_CREDENTIALS_TYPE_WIN32_PID 2022-01-26 18:19:44 +04:00
cxx.cpp Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
data-input-stream.c
data-output-stream.c Use G_GNUC_FALLTHROUGH where appropriate 2018-09-04 20:24:25 +02:00
dbus-appinfo.c tests/dbus-appinfo: Add test case for flatpak opening an invalid file 2022-09-02 19:48:36 +02:00
dbus-launch.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
de.po
debugcontroller.c tests: Fix non-TAP output from debugcontroller test 2022-06-21 12:50:31 +01:00
defaultvalue.c gio/tests: Disable deprecation warnings where necessary 2022-09-21 11:19:31 +01:00
desktop-app-info.c tests: Reduce an unnecessary sleep from desktop-app-info test 2022-11-01 00:33:40 +00:00
echo-server.c Use G_OPTION_ENTRY_NULL to avoid missing initializer warnings 2021-05-13 20:16:46 +00:00
empty.txt gresource: Fix handling of zero-sized compressed resource entries 2020-11-14 19:03:18 +00:00
enums.xml.template
error.c gerror: Add an utility function to get the GIO Error from GFileError 2022-06-22 20:07:25 +02:00
fake-document-portal.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
fake-service-name.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
file-thumbnail.c tests/file-thumbnail: make it work with win32 paths 2022-10-17 10:43:59 +04:00
file.c gio, glib: Use G_OS_DARWIN for code that is for such environments 2022-10-20 03:37:21 +02:00
fileattributematcher.c
filter-cat.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
filter-streams.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
g-file-info-filesystem-readonly.c tests: Fix memory leaks in the g-file-info-filesystem-readonly test 2022-02-20 10:43:26 +00:00
g-file-info.c gio/tests/g-file-info: don't assume million-in-one events don't happen 2022-10-20 14:41:56 +01:00
g-file.c Fix multiple missing initializer warning in gio/tests/g-file.c 2021-04-08 13:24:54 +02:00
g-icon.c Fix g_icon_to_string() regression (doc inconsistency). 2018-09-13 13:16:40 +02:00
gapplication-example-actions.c
gapplication-example-cmdline2.c
gapplication-example-cmdline3.c Use G_OPTION_ENTRY_NULL to avoid missing initializer warnings 2021-05-13 20:16:46 +00:00
gapplication-example-cmdline4.c Use G_OPTION_ENTRY_NULL to avoid missing initializer warnings 2021-05-13 20:16:46 +00:00
gapplication-example-cmdline.c
gapplication-example-dbushooks.c
gapplication-example-open.c
gapplication.c Introduce G_APPLICATION_DEFAULT_FLAGS 2022-07-25 22:30:22 +01:00
gdbus-address-get-session.c gtestutils: Add G_TEST_SUBPROCESS_DEFAULT, G_TEST_TRAP_DEFAULT 2022-06-23 10:47:13 +01:00
gdbus-addresses.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gdbus-auth.c gio: remove pointless use of g_unix_socket_address_abstract_names_supported with unix:tmpdir= 2022-10-21 22:09:06 +07:00
gdbus-bz627724.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gdbus-close-pending.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gdbus-connection-flush-helper.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gdbus-connection-flush.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gdbus-connection-loss.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gdbus-connection-slow.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gdbus-connection.c gdbus: Allow cross-namespace connections to Linux session and system buses 2022-07-24 14:07:02 +01:00
gdbus-daemon.c Use G_OPTION_ENTRY_NULL to avoid missing initializer warnings 2021-05-13 20:16:46 +00:00
gdbus-error.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gdbus-example-export.c Fix missing initializer warning in gio/tests/gdbus-example-export.c 2021-04-15 10:19:29 +02:00
gdbus-example-objectmanager-client.c build: work around meson issue with too long filenames on Windows. Fixes #1556 2018-10-04 10:45:45 +02:00
gdbus-example-objectmanager-server.c GDBus: Use G_DBUS_METHOD_INVOCATION_HANDLED in method implementations 2020-10-01 16:32:50 +01:00
gdbus-example-own-name.c Use G_OPTION_ENTRY_NULL to avoid missing initializer warnings 2021-05-13 20:16:46 +00:00
gdbus-example-peer.c Use G_OPTION_ENTRY_NULL to avoid missing initializer warnings 2021-05-13 20:16:46 +00:00
gdbus-example-proxy-subclass.c Fix unused variable and remove finalize vfunc in gio/tests/gdbus-example-proxy-subclass.c 2022-04-04 17:39:59 +01:00
gdbus-example-server.c Fix missing initializer warning in gio/tests/gdbus-example-server.c 2021-04-23 10:43:05 +02:00
gdbus-example-subtree.c Fix several missing initializer warnings in gio/tests/gdbus-example-subtree.c 2021-04-23 10:43:05 +02:00
gdbus-example-unix-fd-client.c
gdbus-example-watch-name.c Use G_OPTION_ENTRY_NULL to avoid missing initializer warnings 2021-05-13 20:16:46 +00:00
gdbus-example-watch-proxy.c Use G_OPTION_ENTRY_NULL to avoid missing initializer warnings 2021-05-13 20:16:46 +00:00
gdbus-exit-on-close.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gdbus-export.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gdbus-introspection.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gdbus-message.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gdbus-method-invocation.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gdbus-names.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gdbus-non-socket.c gtestutils: Add G_TEST_SUBPROCESS_DEFAULT, G_TEST_TRAP_DEFAULT 2022-06-23 10:47:13 +01:00
gdbus-overflow.c gio: remove pointless use of g_unix_socket_address_abstract_names_supported with unix:tmpdir= 2022-10-21 22:09:06 +07:00
gdbus-peer-object-manager.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gdbus-peer.c gio/tests/gdbus-peer: Unref cached property GVariant value 2022-09-02 21:21:34 +02:00
gdbus-proxy-threads.c gio/tests/gdbus-proxy-threads: Unref GVariant's that we own 2022-09-02 20:26:06 +02:00
gdbus-proxy-unique-name.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gdbus-proxy-well-known-name.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gdbus-proxy.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gdbus-sasl.c tests: Add a test for GDBusServer with various simulated clients 2022-07-18 19:39:41 +01:00
gdbus-serialization.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gdbus-server-auth.c gio, glib: Use G_OS_DARWIN for code that is for such environments 2022-10-20 03:37:21 +02:00
gdbus-sessionbus.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gdbus-sessionbus.h Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
gdbus-test-codegen.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gdbus-test-fixture.c gio/tests: add a fake implementation of the document portal 2019-12-17 20:56:49 +08:00
gdbus-tests.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gdbus-tests.h Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
gdbus-testserver.c Fix missing initializer warning in gio/tests/gdbus-testserver.c 2021-04-15 10:19:29 +02:00
gdbus-threading.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gen-big-test-resource.py py: Various flake8 cleanups 2020-11-17 15:50:07 +00:00
gengiotypefuncs.py Fix some coding style issues in python tests pointed out by black and flake8 2022-06-28 11:19:21 +01:00
gio-du.c Fix set but unused parameter warning in gio/tests/gio-du.c 2021-11-17 14:40:38 +01:00
giomodule.c Improve g_module_open(), deprecate G_MODULE_SUFFIX 2022-10-27 20:26:53 +05:30
glistmodel.c Replace most GObject warnings with criticals 2022-08-09 13:18:47 -05:00
gmenumodel.c gio: remove pointless use of g_unix_socket_address_abstract_names_supported with unix:tmpdir= 2022-10-21 22:09:06 +07:00
gnotification-server.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gnotification-server.h Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
gnotification.c Introduce G_APPLICATION_DEFAULT_FLAGS 2022-07-25 22:30:22 +01:00
gschema-compile.c gtestutils: Add G_TEST_SUBPROCESS_DEFAULT, G_TEST_TRAP_DEFAULT 2022-06-23 10:47:13 +01:00
gsettings.c gtestutils: Add G_TEST_SUBPROCESS_DEFAULT, G_TEST_TRAP_DEFAULT 2022-06-23 10:47:13 +01:00
gsocketclient-slow.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gsubprocess-testprog.c Add tests for GSubprocess fd conflation issues 2021-12-14 13:47:31 -06:00
gsubprocess.c tests: Fix incorrect basename comparison in gsubprocess test 2022-06-27 15:02:55 +01:00
gtesttlsbackend.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gtesttlsbackend.h Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
gtlsconsoleinteraction.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gtlsconsoleinteraction.h Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
httpd.c Use G_OPTION_ENTRY_NULL to avoid missing initializer warnings 2021-05-13 20:16:46 +00:00
inet-address.c
io-stream.c
live-g-file.c Use G_OPTION_ENTRY_NULL to avoid missing initializer warnings 2021-05-13 20:16:46 +00:00
live-g-file.txt tree: Fix various typos and outdated terminology 2020-06-12 15:01:08 +01:00
max-version.c tests: Test that we can include all headers with an old MAX_VERSION 2022-10-27 14:50:48 +01:00
memory-input-stream.c
memory-monitor-dbus.py.in gio: Fix conditions in memory-monitor test 2021-09-06 14:46:15 +02:00
memory-monitor-portal.py.in gio: Fix conditions in memory-monitor test 2021-09-06 14:46:15 +02:00
memory-monitor.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
memory-output-stream.c g_output_stream_write_all: Allow NULL empty buffer 2021-09-21 10:40:14 +00:00
memory-settings-backend.c Add tests for GMemorySettingsBackend and GNullSettingsBackend 2022-07-15 22:07:03 +02:00
meson.build glib,gio/tests: Mark some spawn tests as flaky under windows 2022-10-31 14:08:31 +01:00
mimeapps.c Fix signedness warning in gio/tests/mimeapps.c 2021-04-15 10:19:29 +02:00
mock-resolver.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
mock-resolver.h Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
mount-operation.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
network-address.c tests: Use g_assert_*() rather than g_assert() in network-address.c 2022-02-22 11:25:21 +00:00
network-monitor-race.c Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
network-monitor.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
null-settings-backend.c Add tests for GMemorySettingsBackend and GNullSettingsBackend 2022-07-15 22:07:03 +02:00
org.gtk.schemasourcecheck.gschema.xml gsettings: Resolve child schemas from the parent's schema source 2021-06-04 12:09:24 +00:00
org.gtk.test.dbusappinfo.desktop
org.gtk.test.dbusappinfo.flatpak.desktop gio/tests: add a test for document portal use when launching flatpaks 2019-12-17 20:59:22 +08:00
org.gtk.test.gschema.override.orig
org.gtk.test.gschema.xml.orig
permission.c
pollable.c tests: Fix defined-but-not-used variables if HAVE_OPENPTY is undefined 2022-06-07 19:12:46 +01:00
power-profile-monitor-dbus.py.in gio: Add GPowerProfileMonitor tests 2021-08-13 01:32:31 +02:00
power-profile-monitor-portal.py.in tests: Fix subsequent tests after first power-profile test failure 2021-09-06 18:57:06 +01:00
power-profile-monitor.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
proxy-test.c proxyaddressenumerator: set error parameter more thoughtfully 2022-06-27 15:10:05 -05:00
proxy.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
readwrite.c Fix signedness warning in gio/tests/readwrite.c 2021-04-29 12:40:05 +02:00
resolver-parsing.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
resolver.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
resourceplugin.c giomodules: g_io_module_* must always be exported 2022-10-13 20:53:56 -04:00
resources.c tests: Fix resources test on macOS 2022-10-27 20:26:53 +05:30
send-data.c Use G_OPTION_ENTRY_NULL to avoid missing initializer warnings 2021-05-13 20:16:46 +00:00
simple-async-result.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
simple-proxy.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
sleepy-stream.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
slow-connect-preload.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
socket-address.c
socket-client.c tests: NULL-initialise some variables to help scan-build 2022-06-07 11:04:25 +01:00
socket-common.c Fix signedness warning in gio/tests/socket-common.c 2021-04-23 10:43:05 +02:00
socket-listener.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
socket-server.c Fix global variable name hidden by local variables in gio/tests/socket-server.c 2022-04-01 15:10:50 +02:00
socket-service.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
socket.c tests: Fix non-TAP output from socket test 2022-06-21 12:50:31 +01:00
srvtarget.c
static-link.py Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
stream-rw_all.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
taptestrunner.py py: Various flake8 cleanups 2020-11-17 15:50:07 +00:00
task.c gtestutils: Add G_TEST_SUBPROCESS_DEFAULT, G_TEST_TRAP_DEFAULT 2022-06-23 10:47:13 +01:00
test1.overlay Add a test for resource overlays 2019-01-10 13:50:26 -05:00
test1.txt
test2.gresource.xml tree: Fix various typos and outdated terminology 2020-06-12 15:01:08 +01:00
test2.txt
test3.gresource.xml
test3.txt
test4.gresource.xml
test5.gresource.xml glib-compile-resources: Add external data option 2018-12-19 16:43:21 +00:00
test-codegen.xml gdbus-codegen: emit GUnixFDLists if an arg has type 'h' 2019-09-02 20:47:20 +01:00
test-io-stream.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
test-io-stream.h Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
test-pipe-unix.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
test-pipe-unix.h Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
test.gresource.xml gresource: Fix handling of zero-sized compressed resource entries 2020-11-14 19:03:18 +00:00
testenum.h
testfilemonitor.c tests: Add a test for GFileMonitor deadlocks 2022-05-31 12:24:13 +01:00
thumbnail-verification.c glocalfileinfo: Add statx() support 2020-08-17 12:33:05 +01:00
tls-bindings.c gtestutils: Add G_TEST_SUBPROCESS_DEFAULT, G_TEST_TRAP_DEFAULT 2022-06-23 10:47:13 +01:00
tls-certificate.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
tls-database.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
tls-interaction.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
trash.c Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
unix-fd.c gio/tests: add basic fd-list unit test to unix-fd 2022-05-17 17:34:06 +02:00
unix-mounts.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
unix-streams.c tests: Use g_assert_*() rather than g_assert() in unix-streams 2022-10-17 13:03:26 +01:00
vfs.c
volumemonitor.c Normalize C source files to end with exactly one newline 2020-06-10 09:48:02 +01:00
win32-appinfo.c gtestutils: Add G_TEST_SUBPROCESS_DEFAULT, G_TEST_TRAP_DEFAULT 2022-06-23 10:47:13 +01:00
win32-streams.c gio/tests/win32-streams: Avoid doing sign casting when we can 2022-10-31 12:02:57 +01:00