]> git.eshelyaron.com Git - emacs.git/commit
Add D-Bus introspection tests
authorHugh Daschbach <hdasch@fastmail.com>
Wed, 30 Sep 2020 09:19:41 +0000 (11:19 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 30 Sep 2020 09:19:41 +0000 (11:19 +0200)
commit0bc19c17fd003655c28656cffe73fa5b2a36d11f
treef1dc5282eec1c97a1fd2a79fb557c684e7aa447c
parent7e581607e7aa592c38a694c74a4ce427fb06c49f
Add D-Bus introspection tests

* lisp/net/dbus.el (dbus-annotation-deprecated): New defconst.

* test/lisp/net/dbus-tests.el  (dbus--tests-dir): New defvar.
(dbus--test-introspect, dbus--test-validate-interface)
(dbus--test-validate-annotations, dbus--test-validate-property)
(dbus--test-validate-m-or-s, dbus--test-validate-signal)
(dbus--test-validate-method): New defuns.
(dbus-test07-introspection): New test.

* test/lisp/net/dbus-resources/org.gnu.Emacs.TestDBus.xml:
New test data.
lisp/net/dbus.el
test/lisp/net/dbus-resources/org.gnu.Emacs.TestDBus.xml [new file with mode: 0644]
test/lisp/net/dbus-tests.el