bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#43252: 27.1; DBus properties lack type hints or overrides


From: Hugh Daschbach
Subject: bug#43252: 27.1; DBus properties lack type hints or overrides
Date: Thu, 17 Sep 2020 23:28:34 -0700
User-agent: mu4e 1.5.5; emacs 27.1


Hugh Daschbach writes:

Michael Albinus writes:

Hugh Daschbach <hugh@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

Attachment: 0001-Property-tests-ERT.patch
Description: Additional property tests.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]