glib/gio/tests
Marco Trevisan (Treviño) 3f1724d832 tests/desktop-app-info: Add tests to verify if launching with terminal works
Simulate launching applications using terminals by creating scripts on
the fly that are named as the terminals that we support, ensuring that
these are called with the arguments that we expect.

Related to: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2839
2022-10-11 21:46:01 +02: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 Build the reStructuredText docs for the object-manager example 2022-01-22 01:30:16 +00:00
modules Enable full-static build on Windows 2022-01-26 10:14:02 +01:00
schema-tests
services Extend dbus watching name tests: 2021-01-25 15:00:12 +01: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
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 tests: Drop use of g_test_bug_base() 2021-05-13 22:16:27 +01: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 tests: skip check anything is octet-stream 2022-03-09 11:41:30 +04: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 tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
desktop-app-info.c tests/desktop-app-info: Add tests to verify if launching with terminal works 2022-10-11 21:46:01 +02: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.c tests: Skip various default handler tests on macOS 2022-06-24 12:43:18 +01: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 gfileinfo: Implement xattr attribute removal 2022-07-26 07:58:32 +00: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 tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01: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 glib: Don’t use time(NULL) to get current time 2018-07-09 13:28:02 +02:00
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 tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01: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 tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01: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 giomodule test: Don't pass a magic number to g_test_trap_subprocess() 2022-06-23 10:47:19 +01:00
glistmodel.c gtestutils: Add G_TEST_SUBPROCESS_DEFAULT, G_TEST_TRAP_DEFAULT 2022-06-23 10:47:13 +01:00
gmenumodel.c tests: Mark tests with AddressSanitizer-detected leaks 2021-02-01 11:19:59 +00: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
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 tests: Avoid using deprecated meson.build_root 2022-07-25 01:00:53 +02: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 tree: Fix various typos and outdated terminology 2020-06-12 15:01:08 +01:00
resources.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
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 Fix several signedness warnings in gio/tests/unix-streams.c 2021-04-29 12:39:51 +02: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