Skip to content

Commit

Permalink
wip: tests for pdf keybinding override feature
Browse files Browse the repository at this point in the history
  • Loading branch information
petermao committed Jun 11, 2023
1 parent 3d155a0 commit 7b015ba
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions tests/org-noter-pdf-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,30 @@
(expect (string-match "\\:HIGHLIGHT\\:" (buffer-string)) :not :to-be nil)
(expect (string-match (format "%s" expected-highlight-info) (buffer-string)) :not :to-be nil)
)
)
)
)
)

))
(describe "pdf keybinding overrides"
(it "C-c C-c called from a PDF document executes in the notes buffer"
;; open `org-noter' session with PDF and notes

)
;; execute `C-c C-c' from document buffer

;; check that current window is notes-window, check that
;; last command was `org-ctrl-c-ctrl-c'
)

(it "C-c C-x <event> called from a PDF document executes in the notes buffer"
;; open `org-noter' session with PDF and notes

;; execute `C-c C-x <event>' from document buffer, where
;; <event> \in {C-b, C-v, maybe a few others}

;; check that current window is notes-window, check that
;; last command corresponds to the keybinding of C-c C-x
;; <event>.
)
)
)

0 comments on commit 7b015ba

Please sign in to comment.