GNU bug report logs -
#43252
27.1; DBus properties lack type hints or overrides
Previous Next
Reported by: Hugh Daschbach <hugh <at> ccss.com>
Date: Mon, 7 Sep 2020 00:55:02 UTC
Severity: normal
Found in version 27.1
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #77 received at 43252 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hugh Daschbach writes:
> Michael Albinus writes:
>
>> Hugh Daschbach <hugh <at> ccss.com> writes:
>>
>> Hi Hugh,
>>
> I need more testing and a cleanup pass. I'll pass along a
> better
> version when
> I think it's ready for review.
>
> I've started a few "should fail" tests.
I've made a bit of progress. I have a few tests that fail. There
doesn't seem to be any type checking on property set. But have a
look
and see if you concur that these are real errors. I've attached a
patch.
In addition, I see a failure in dbus-test04-register-method:
> F dbus-test04-register-method
> Check method registration for an own service.
> (ert-test-failed
> ((should
> (equal
> (should-error
> (dbus-call-method :session dbus--test-service
> dbus--test-path dbus--test-interface method1 :timeout 10 "foo"))
> `(dbus-error ... "The name is not activatable")))
> :form
> (equal
> (dbus-error "org.freedesktop.DBus.Error.ServiceUnknown"
> "The name org.gnu.Emacs.TestDBus was not provided by any
> .service files")
> (dbus-error "org.freedesktop.DBus.Error.ServiceUnknown"
> "The name is not activatable"))
> :value nil :explanation
> (list-elt 2
> (arrays-of-different-length 70 27 "The name
> org.gnu.Emacs.TestDBus was not provided by any .service files"
> "The name is not activatable" first-mismatch-at 9))))
>
Your mileage may vary.
I'm starting to run out of ideas for additional tests.
Suggestions
welcome.
Cheers,
Hugh
[0001-Property-tests-ERT.patch (text/x-patch, attachment)]
This bug report was last modified 4 years and 229 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.