Skip to content

Commit

Permalink
test: Add clipboard unsetting test
Browse files Browse the repository at this point in the history
  • Loading branch information
phil294 committed Jul 20, 2023
1 parent 05052bb commit 463b316
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion tests.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
; Right now, only commands that can be easily tested in 1-2 lines are tested.
;;;;;;;;;;;;;;;;;;;;;;

N_TESTS = 68
N_TESTS = 70

GoSub, run_tests
if tests_run != %N_TESTS%
Expand Down Expand Up @@ -798,6 +798,20 @@ gosub assert
send ^a{del}
sleep 10

Clipboard =
expect = clipboard unsetting,clipboard,
gosub assert

send clp_del_test
sleep 10
Clipboard =
Send, ^a^c
ClipWait, 1
expect = clipboard unsetting race condition,clipboard,clp_del_test
gosub assert
send ^a{del}
sleep 10

; Tests missing / need manual testing for now:
; - Vimium Everywhere with FF Context Menus

Expand Down

0 comments on commit 463b316

Please sign in to comment.