]> git.eshelyaron.com Git - emacs.git/commit
Add selection stuff to DND tests
authorPo Lu <luangruo@yahoo.com>
Tue, 7 Jun 2022 13:45:17 +0000 (21:45 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 7 Jun 2022 13:45:17 +0000 (21:45 +0800)
commit3864308c20deb69e7b75420377a3b86716215dd3
tree25ea078f43f9c95d3110ba295d28ce3d302fb057
parent6a4444aa390f20c195f864a7c1b8114d82ffdeb5
Add selection stuff to DND tests

* test/lisp/dnd-tests.el (dnd-tests-selection-table): New
defvar.
(gui-set-selection): Actually implement in a way that validates
the local value and stores it for future use.
(dnd-tests-verify-selection-data): New function.
(dnd-tests-begin-text-drag): Add tests for the contents of
various selections.
test/lisp/dnd-tests.el