glib/gio/tests
Ryan Lortie 6dc5c118e4 Implement the Desktop Action specification
For some time, the desktop file specification has supported "additional
application actions".  This is intended to allow for additional methods
of starting an app, such as a mail client having a "Compose New Message"
action that brings up the compose window instead of the folder list.

This patch adds support for this with a relatively minimal API.

In the case that the application is a GApplication and DBusActivatable,
desktop actions are translated into GActions that have been added to the
application with g_action_map_add_action().  This more or less closes
the loop on being able to activate an application with an action
invocation (instead of 'activate').

https://bugzilla.gnome.org/show_bug.cgi?id=664444
2013-07-11 12:48:08 -04:00
..
cert-tests Convert some gio tests to installed tests 2013-05-20 06:38:41 -04:00
gdbus-object-manager-example Rework the build system for a new tests approach 2013-05-31 23:12:15 -04:00
schema-tests Add a test for CDATA in gschema.xml files 2011-11-07 00:14:28 -05:00
services Adding test coverage for GTestDBus activating in-tree services. 2012-12-28 21:28:28 -05:00
.gitignore Test GUnixSocketAddress construction 2013-04-23 14:36:07 -04:00
actions.c add GPropertyAction 2013-07-11 12:35:45 -04:00
appinfo-test2.desktop Cleanups 2010-07-05 00:56:12 -04:00
appinfo-test-gnome.desktop Add some more appinfo tests 2010-07-04 20:51:06 -04:00
appinfo-test-notgnome.desktop Add some more appinfo tests 2010-07-04 20:51:06 -04:00
appinfo-test.c Some final g_test_build_filename() porting 2013-05-31 23:03:19 -04:00
appinfo-test.desktop Improve GAppInfo test coverage 2012-08-19 02:23:32 -04:00
appinfo.c Rework the build system for a new tests approach 2013-05-31 23:12:15 -04:00
async-close-output-stream.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
basic-application.c Improve GApplication test coverage 2012-06-04 06:04:28 -04:00
buffered-input-stream.c gio/tests: add some more async stream tests 2013-01-16 10:17:15 -05:00
buffered-output-stream.c Improve test coverage for GBufferedOutputStream 2013-06-02 01:41:09 -04:00
cancellable.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
contenttype.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
contexts.c Rename G_TEST_DISTED to G_TEST_DIST 2013-05-29 09:03:32 -04:00
converter-stream.c Improve test coverage for GZipCompressor 2013-06-02 01:41:50 -04:00
credentials.c Remove a failing test 2012-12-29 00:03:09 -05:00
data-input-stream.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
data-output-stream.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
de.po Merge GSettings tests 2010-04-17 01:48:05 -04:00
desktop-app-info.c Implement the Desktop Action specification 2013-07-11 12:48:08 -04:00
echo-server.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
enums.xml.template GSettings: major refactor. Add enums, range. 2010-06-16 18:17:53 -04:00
file.c tests: Remove a leftover debug printf 2013-06-02 09:53:24 -04:00
fileattributematcher.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
filter-cat.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
filter-streams.c gio/tests: add some more async stream tests 2013-01-16 10:17:15 -05:00
g-file-info.c Improve GFileAttributeMatcher test coverage 2013-06-02 01:43:13 -04:00
g-file.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
g-icon.c Improve GIcon test coverage 2013-06-02 01:42:28 -04:00
gapplication-example-actions.c Don't use deprecated GApplication api in examples 2011-12-08 18:05:15 -05:00
gapplication-example-cmdline2.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
gapplication-example-cmdline3.c e G_SOURCE_CONTINUE/REMOVE internally 2012-01-25 16:15:18 -05:00
gapplication-example-cmdline.c Tweak GApplication docs 2010-11-02 23:02:05 -04:00
gapplication-example-dbushooks.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
gapplication-example-open.c Tweak GApplication docs 2010-11-02 23:02:05 -04:00
gapplication.c tests: use new g_test_build_filename() API 2013-05-29 09:03:31 -04:00
gdbus-addresses.c g_dbus_address_escape_value: add 2013-02-13 20:42:58 +00:00
gdbus-auth.c gio/tests: Drop superfluous dbus-1 dependencies of gdbus-auth 2013-01-04 21:36:37 +01:00
gdbus-bz627724.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
gdbus-close-pending.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
gdbus-connection-flush-helper.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
gdbus-connection-flush.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
gdbus-connection-loss.c tests: use new g_test_build_filename() API 2013-05-29 09:03:31 -04:00
gdbus-connection-slow.c tests: move tests to new _get_filename() API 2013-05-29 09:03:32 -04:00
gdbus-connection.c tests: move tests to new _get_filename() API 2013-05-29 09:03:32 -04:00
gdbus-daemon.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
gdbus-error.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
gdbus-example-export.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
gdbus-example-objectmanager-client.c Rework the build system for a new tests approach 2013-05-31 23:12:15 -04:00
gdbus-example-objectmanager-server.c Rework the build system for a new tests approach 2013-05-31 23:12:15 -04:00
gdbus-example-own-name.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
gdbus-example-peer.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
gdbus-example-proxy-subclass.c Bug 621213 – GDBusProxy and well-known names 2010-06-11 18:21:27 -04:00
gdbus-example-server.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
gdbus-example-subtree.c Use 'dumb quotes' rather than `really dumb quotes' 2013-05-21 11:23:22 -03:00
gdbus-example-unix-fd-client.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
gdbus-example-watch-name.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
gdbus-example-watch-proxy.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
gdbus-exit-on-close.c tests: port from g_test_trap_subprocess() to g_test_trap_fork() 2013-05-13 12:10:52 -04:00
gdbus-export.c GDBusConnection: be more careful with async GetAll 2013-07-01 23:36:30 -04:00
gdbus-introspection.c tests: move tests to new _get_filename() API 2013-05-29 09:03:32 -04:00
gdbus-message.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
gdbus-names.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
gdbus-non-socket.c Use 'dumb quotes' rather than `really dumb quotes' 2013-05-21 11:23:22 -03:00
gdbus-overflow.c Split off the gdbus-overflow test 2013-05-31 21:24:21 -04:00
gdbus-peer-object-manager.c build: Prototype GType accessors for private classes 2012-11-01 20:12:02 -04:00
gdbus-peer.c Rework the build system for a new tests approach 2013-05-31 23:12:15 -04:00
gdbus-proxy-threads.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
gdbus-proxy-well-known-name.c tests: move tests to new _get_filename() API 2013-05-29 09:03:32 -04:00
gdbus-proxy.c tests: move tests to new _get_filename() API 2013-05-29 09:03:32 -04:00
gdbus-serialization.c Use 'dumb quotes' rather than `really dumb quotes' 2013-05-21 11:23:22 -03:00
gdbus-sessionbus.c Use GTestDBus in all GDBus unit tests 2012-04-19 10:07:39 +02:00
gdbus-sessionbus.h Use GTestDBus in all GDBus unit tests 2012-04-19 10:07:39 +02:00
gdbus-test-codegen.c Use 'dumb quotes' rather than `really dumb quotes' 2013-05-21 11:23:22 -03:00
gdbus-test-fixture.c Rework the build system for a new tests approach 2013-05-31 23:12:15 -04:00
gdbus-tests.c Use g_timeout_add_seconds for some long timeouts 2013-02-03 10:21:20 -05:00
gdbus-tests.h Use 'dumb quotes' rather than `really dumb quotes' 2013-05-21 11:23:22 -03:00
gdbus-testserver.c Add a C version of gdbus-testserver.py 2013-01-03 13:14:26 -05:00
gdbus-threading.c tests: use new g_test_build_filename() API 2013-05-29 09:03:31 -04:00
gmenumodel.c Improve GMenuModel test coverage 2013-06-02 01:44:15 -04:00
gschema-compile.c GSettings tests: reverse installed test complexity 2013-05-31 23:16:00 -04:00
gsettings.c Improve GSettings test coverage 2013-06-02 20:02:06 -04:00
gtesttlsbackend.c Revert "gtlscertificate: Add certificate-bytes and private-key-bytes props" 2012-08-21 13:30:02 +02:00
gtesttlsbackend.h Added TLS PEM parser unit test 2011-07-27 16:23:33 -04:00
gtlsconsoleinteraction.c Fix compilation on Android with the bionic C library 2013-04-16 13:24:26 +02:00
gtlsconsoleinteraction.h GTlsDatabase and related objects 2011-08-04 08:54:55 +02:00
httpd.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
inet-address.c tests: fix and re-add the broken test 2013-06-05 23:49:56 -03:00
io-stream.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
live-g-file.c live-g-file: test hidden files 2013-03-13 09:41:09 -04:00
live-g-file.txt Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
Makefile.am Implement the Desktop Action specification 2013-07-11 12:48:08 -04:00
memory-input-stream.c Improve GMemoryInputStream test coverage 2013-06-02 01:44:49 -04:00
memory-output-stream.c Improve test coverage a bit 2013-06-01 18:51:25 -04:00
mimeapps.c Improve GAppInfo test coverage 2013-06-02 01:46:21 -04:00
monitor.c Add a directory monitoring test 2013-06-02 20:02:06 -04:00
network-address.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
network-monitor.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
org.gtk.schemasourcecheck.gschema.xml Add test case and fix some bugs 2011-11-17 14:03:39 +00:00
org.gtk.test.gschema.xml Improve GSettings test coverage 2012-08-19 02:24:04 -04:00
permission.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
pollable.c Fix poll able streams for Darwin (and probably BSD) 2012-11-09 09:23:01 -08:00
proxy-test.c GProxyAddressEnumerator: add default-port property 2013-05-05 16:50:43 -04:00
proxy.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
readwrite.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
resolver.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
resourceplugin.c visibility: Use a separate CFLAGS variable 2013-01-14 23:31:59 -05:00
resources.c tests: move tests to new _get_filename() API 2013-05-29 09:03:32 -04:00
send-data.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
simple-async-result.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
simple-proxy.c GSimpleProxyResolver: new simple GProxyResolver class 2013-02-14 10:24:14 -05:00
sleepy-stream.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
socket-address.c Test GUnixSocketAddress construction 2013-04-23 14:36:07 -04:00
socket-client.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
socket-common.c gio/tests/socket-common.c: add a missing #ifdef G_OS_UNIX 2012-02-03 12:58:53 -05:00
socket-server.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
socket.c GInetSocketAddress: fix the byte order of flowinfo and scope_id 2013-01-30 16:46:02 -05:00
srvtarget.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
task.c gtask: don't deadlock when tasks block on other tasks 2012-12-18 13:19:08 -05:00
test1.txt Add tests for GResource 2012-01-13 17:12:53 +01:00
test2.gresource.xml Add tests for GResource 2012-01-13 17:12:53 +01:00
test2.txt Add tests for GResource 2012-01-13 17:12:53 +01:00
test3.gresource.xml Add tests for GResource 2012-01-13 17:12:53 +01:00
test3.txt Add tests for GResource 2012-01-13 17:12:53 +01:00
test4.gresource.xml Add tests for GResource 2012-01-13 17:12:53 +01:00
test-codegen.xml gdbus-codegen: Update tests for new inheritance-semantics for Since 2012-10-03 11:23:04 -04:00
test-io-stream.c GDBus tests: factor out TestIOStream, test_pipe and test_bidi_pipe 2011-11-21 18:15:26 +00:00
test-io-stream.h GDBus tests: factor out TestIOStream, test_pipe and test_bidi_pipe 2011-11-21 18:15:26 +00:00
test-pipe-unix.c test-pipe-unix: Add missing include 2012-11-02 09:03:52 -04:00
test-pipe-unix.h GDBus tests: factor out TestIOStream, test_pipe and test_bidi_pipe 2011-11-21 18:15:26 +00:00
test.gresource.xml resources: compiler: Allow stripping blanks from xml data 2012-01-25 14:47:37 +01:00
testenum.h Bug 622124 - implement flags for GSettings 2010-07-01 19:06:02 -04:00
tls-certificate.c Rename G_TEST_DISTED to G_TEST_DIST 2013-05-29 09:03:32 -04:00
tls-interaction.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
unix-fd.c Add gnetworking.h 2012-12-12 15:20:22 +01:00
unix-streams.c Improve unix stream test coverage 2013-06-02 01:47:19 -04:00
vfs.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
volumemonitor.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
win32-streams.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00