]> git.eshelyaron.com Git - emacs.git/commit
Improve drag-and-drop tests
authorPo Lu <luangruo@yahoo.com>
Wed, 8 Jun 2022 02:40:20 +0000 (10:40 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 8 Jun 2022 02:40:20 +0000 (10:40 +0800)
commit3237d1d6b63c2a299f81dcb8b4f2833e00a7fedf
tree41ef3953c9d64693ac0271c8b80bbe15cf755e7d
parentf3162b82406f2162a4208c6b626def14ba68a03a
Improve drag-and-drop tests

* lisp/dnd.el (dnd-begin-file-drag, dnd-begin-drag-files): Fix
type of `x-xdnd-username'.
* lisp/select.el (selection-converter-alist): Fix declaration of
_DT_NETFILE converter.

* test/lisp/dnd-tests.el (dnd-tests-verify-selection-data):
Handle "compound" selection converters.
(dnd-tests-parse-tt-netfile): New function.
(dnd-tests-begin-file-drag, dnd-tests-begin-drag-files): Verify
validity of file selection data.
lisp/dnd.el
lisp/select.el
test/lisp/dnd-tests.el