glib/gio/tests
Philip Withnall 14f4b38fb1 tests: NULL-initialise some variables to help scan-build
Dynamically, these will only ever be used after they’ve been initialised
due to correct checking of `use_udp` throughout the test. However,
that’s a global variable and the static analyser is assuming it might
change value. So help it out by NULL-initialising the variables so they
can never be used uninitialised.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2022-06-07 11:04:25 +01: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
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 tests: Use g_strv_contains() rather than a home-grown version 2022-03-17 16:28:41 +00:00
appinfo-test2.desktop.in
appinfo-test-actions.desktop
appinfo-test-gnome.desktop.in
appinfo-test-notgnome.desktop.in
appinfo-test-static.desktop
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 tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
codegen.py Replace single quotes in gio/tests/codegen.py 2022-05-12 00:29:44 +00: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 Distribute cxx test tests/cxx-test.cpp to each module tests directory 2021-12-14 14:43:03 +01:00
data-input-stream.c
data-output-stream.c
dbus-appinfo.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
dbus-launch.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
de.po
debugcontroller.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
defaultvalue.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
desktop-app-info.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01: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
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 Add functionality to preserve nanosecond timestamps 2022-05-27 17:03:35 +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 tests: Fix leaks in new GDateTime file info tests 2022-06-01 15:19:59 +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
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 Revert "gapplication: Expose zero-valued numbers in handle-local-options" 2022-03-04 18:16:12 +00:00
gdbus-address-get-session.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +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 tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +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
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 tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +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 Merge branch 'win32-fd' into 'main' 2022-05-18 14:01:43 +00:00
gdbus-proxy-threads.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01: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-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
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 tests: Take explicit connection and context when ensuring testserver up 2020-02-24 07:46:22 +00: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 py: Various flake8 cleanups 2020-11-17 15:50:07 +00: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 Fix test failures for static builds 2019-07-15 11:01:04 +00:00
glistmodel.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +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
gnotification.c tests: Remove an unnecessary timeout in gnotification test 2022-06-01 15:20:38 +01:00
gschema-compile.c glib: Update various code comments to mention Meson 2019-01-15 15:11:43 +00:00
gsettings.c tests: Use g_strv_contains() rather than a home-grown version 2022-03-17 16:28:41 +00: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 Add test for child_err_report_fd conflation with target fds 2021-12-14 13:47:31 -06:00
gtesttlsbackend.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gtesttlsbackend.h gtlscertificate: make private key properties readable 2021-06-15 16:06:52 -05:00
gtlsconsoleinteraction.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
gtlsconsoleinteraction.h
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
meson.build gio/tests: add gdbus-peer test to win32 2022-05-17 17:34:06 +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
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 tests: Drop use of g_test_bug_base() 2021-05-13 22:16:27 +01:00
network-monitor.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01: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 a potential race condition in pollable test 2022-05-31 13:14:15 +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 tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01: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: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
srvtarget.c
static-link.py py: Various flake8 cleanups 2020-11-17 15:50:07 +00: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 tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
test1.overlay
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
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
test-pipe-unix.c tests: Add SPDX license headers automatically 2022-05-18 09:20:07 +01:00
test-pipe-unix.h
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 tests: Remove incorrect unref from tls-bindings tests 2021-01-20 12:51:41 +00: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 tests: Use g_test_skip_printf() 2021-08-19 09:41:08 +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 Normalize C source files to end with exactly one newline 2020-06-10 09:48:02 +01:00
win32-streams.c