gio/tests: add a test for document portal use when launching flatpaks

We can't use session_bus_down() in the test since gdocumentportal.c
holds a reference to the session bus connection, preventing it from
being finalised.
This commit is contained in:
James Henstridge
2019-09-16 16:30:10 +02:00
parent 27db702ceb
commit 926ff8c6a7
3 changed files with 98 additions and 1 deletions

View File

@@ -474,6 +474,7 @@ if installed_tests_enabled
'appinfo-test-static.desktop',
'file.c',
'org.gtk.test.dbusappinfo.desktop',
'org.gtk.test.dbusappinfo.flatpak.desktop',
'test1.overlay',
install_dir : installed_tests_execdir,
)