glib/gio/tests
David Zeuthen 9695c23d4c GDBus: Make gdbus(1) print annotations when introspecting data
Also make the gdbus-example-server include some example
annotations. The output looks like this:

$ gdbus introspect --session --dest org.gtk.GDBus.TestServer --object-path /org/gtk/GDBus/TestObject
node /org/gtk/GDBus/TestObject {
  interface org.freedesktop.DBus.Properties {
    methods:
      Get(in  s interface_name,
          in  s property_name,
          out v value);
      GetAll(in  s interface_name,
             out a{sv} properties);
      Set(in  s interface_name,
          in  s property_name,
          in  v value);
    signals:
      PropertiesChanged(s interface_name,
                        a{sv} changed_properties);
  };
  interface org.freedesktop.DBus.Introspectable {
    methods:
      Introspect(out s xml_data);
  };
  interface org.freedesktop.DBus.Peer {
    methods:
      Ping();
      GetMachineId(out s machine_uuid);
  };
  @org.gtk.GDBus.Annotation("OnInterface")
  @org.gtk.GDBus.Annotation("AlsoOnInterface")
  interface org.gtk.GDBus.TestInterface {
    methods:
      @org.gtk.GDBus.Annotation("OnMethod")
      HelloWorld(in  s greeting,
                 out s response);
      EmitSignal(@org.gtk.GDBus.Annotation.("OnArg")
                 in  d speed_in_mph);
      GimmeStdout();
    signals:
      @org.gtk.GDBus.Annotation("Onsignal")
      VelocityChanged(d speed_in_mph,
                      @org.gtk.GDBus.Annotation.("OnArg_NonFirst")
                      s speed_as_string);
    properties:
      @org.gtk.GDBus.Annotation("OnProperty")
        @org.gtk.GDBus.Annotation("OnAnnotation_YesThisIsCrazy")
      readonly s FluxCapicitorName = 'DeLorean';
      readwrite s Title = 'Back To C!';
      readonly s ReadingAlwaysThrowsError;
      readwrite s WritingAlwaysThrowsError = "There's no home like home";
      writeonly s OnlyWritable;
      readonly s Foo = 'Tick';
      readonly s Bar = 'Tock';
  };
};
2010-05-12 22:11:18 -04:00
..
schema-tests Add testcases for <range> and <choices> 2010-04-25 20:07:26 -05:00
.gitignore .gitignore updates for gsettings stuff 2010-04-27 17:04:57 -04:00
buffered-input-stream.c Add unit tests for some more methods 2009-12-08 17:05:09 +01:00
contexts.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
converter-stream.c Fix return type of g_converter_[in|out]put_stream. 2009-11-29 15:14:10 +01:00
data-input-stream.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
data-output-stream.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
de.po Merge GSettings tests 2010-04-17 01:48:05 -04:00
desktop-app-info.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
echo-server.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
filter-cat.c Fix GZlibCompressorFormat names 2009-11-24 13:02:05 +01:00
filter-streams.c Another few failing tests disabled 2010-01-25 12:43:10 -05:00
g-file-info.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
g-file.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
g-icon.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
gdbus-addresses.c More copyright year updates 2010-05-10 08:07:28 -04:00
gdbus-connection.c GDBus: Use call() instead of invoke_method() 2010-05-10 11:47:08 -04:00
gdbus-error.c More copyright year updates 2010-05-10 08:07:28 -04:00
gdbus-example-own-name.c Strip copyright headers from examples 2010-05-11 15:50:19 -04:00
gdbus-example-peer.c Strip copyright headers from examples 2010-05-11 15:50:19 -04:00
gdbus-example-proxy-subclass.c GDBusProxy: Remove error in get_cached_property() and add set_cached_property() 2010-05-12 20:51:06 -04:00
gdbus-example-server.c GDBus: Make gdbus(1) print annotations when introspecting data 2010-05-12 22:11:18 -04:00
gdbus-example-subtree.c Strip copyright headers from examples 2010-05-11 15:50:19 -04:00
gdbus-example-unix-fd-client.c Strip copyright headers from examples 2010-05-11 15:50:19 -04:00
gdbus-example-watch-name.c Strip copyright headers from examples 2010-05-11 15:50:19 -04:00
gdbus-example-watch-proxy.c GDBusProxy: Remove error in get_cached_property() and add set_cached_property() 2010-05-12 20:51:06 -04:00
gdbus-exit-on-close.c More copyright year updates 2010-05-10 08:07:28 -04:00
gdbus-export.c GDBus: Use call() instead of invoke_method() 2010-05-10 11:47:08 -04:00
gdbus-introspection.c GDBus: Use call() instead of invoke_method() 2010-05-10 11:47:08 -04:00
gdbus-names.c GDBus: Use call() instead of invoke_method() 2010-05-10 11:47:08 -04:00
gdbus-peer.c GDBusProxy: Remove error in get_cached_property() and add set_cached_property() 2010-05-12 20:51:06 -04:00
gdbus-proxy.c GDBusProxy: Remove error in get_cached_property() and add set_cached_property() 2010-05-12 20:51:06 -04:00
gdbus-serialization.c More copyright year updates 2010-05-10 08:07:28 -04:00
gdbus-sessionbus.c More copyright year updates 2010-05-10 08:07:28 -04:00
gdbus-sessionbus.h Initial GDBus code-drop from GDBus-standalone repo 2010-05-06 14:21:32 -04:00
gdbus-tests.c More copyright year updates 2010-05-10 08:07:28 -04:00
gdbus-tests.h Initial GDBus code-drop from GDBus-standalone repo 2010-05-06 14:21:32 -04:00
gdbus-testserver.py Initial GDBus code-drop from GDBus-standalone repo 2010-05-06 14:21:32 -04:00
gdbus-threading.c GDBus: Use call() instead of invoke_method() 2010-05-10 11:47:08 -04:00
gschema-compile.c Add testcases for <range> and <choices> 2010-04-25 20:07:26 -05:00
gsettings.c Rename in more places 2010-04-23 20:05:27 -04:00
httpd.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
live-g-file.c Don't fail a couple of tests when running as root 2010-02-22 19:54:38 +01: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 GDBus: Add an example of a GDBusProxy subclass 2010-05-12 15:52:08 -04:00
memory-input-stream.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
memory-output-stream.c Add properties to GMemoryOutputStream 2010-01-06 17:37:11 -05:00
org.gtk.test.gschema Merge GSettings tests 2010-04-17 01:48:05 -04:00
org.gtk.test.gschema.xml Add testcase for g_settings_bind with [u]int64 properties 2010-04-19 10:00:03 -04:00
readwrite.c Test for unexisting files in $TMP and not in $HOME 2010-02-23 18:37:39 +01:00
resolver.c Bug 591216 - Warning building resolver.o 2009-11-11 23:21:48 -05:00
send-data.c Fix leaks in GSocketClient and GThreadedResolver 2009-07-23 16:27:01 -04:00
simple-async-result.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
sleepy-stream.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
socket-client.c GSocket: add support for timeouts 2010-04-23 12:31:31 -04:00
socket-common.c gio/tests/socket-client, socket-server: fix for win32 2010-04-23 12:24:30 -04:00
socket-server.c GSocket: add support for timeouts 2010-04-23 12:31:31 -04:00
srvtarget.c Revert "Move gio tests from gio/tests/ to tests/gio/" 2009-07-05 22:49:24 -04:00
unix-fd.c GUnixSocketAddress: handle abstract sockets with non-0-padded names 2010-04-22 11:54:41 -04:00
unix-streams.c Fix compilation warning: Initialize the variable 2009-11-17 20:44:16 +01:00
win32-streams.c Add GWin32InputStream and GWin32OutputStream classes 2010-04-19 11:54:56 +03:00