[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/with-simulated-input 049c120764 045/134: Extend tests a bi
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/with-simulated-input 049c120764 045/134: Extend tests a bit |
Date: |
Mon, 10 Jan 2022 23:00:03 -0500 (EST) |
branch: elpa/with-simulated-input
commit 049c120764c7d2f38777ec4293a9509c1602b1d1
Author: Ryan C. Thompson <rct@thompsonclan.org>
Commit: Ryan C. Thompson <rct@thompsonclan.org>
Extend tests a bit
---
tests/test-with-simulated-input.el | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/tests/test-with-simulated-input.el
b/tests/test-with-simulated-input.el
index 24be75b80e..ff21b10cb8 100644
--- a/tests/test-with-simulated-input.el
+++ b/tests/test-with-simulated-input.el
@@ -200,8 +200,12 @@
(it "should run idle timers added by other idle timers when the new timer is
in the past"
(run-with-idle-timer
100 nil 'run-with-idle-timer
+ 90 nil 'run-with-idle-timer
+ 80 nil 'run-with-idle-timer
+ 70 nil 'run-with-idle-timer
+ 60 nil 'run-with-idle-timer
50 nil 'idle-canary)
- (wsi-simulate-idle-time 500)
+ (wsi-simulate-idle-time 110)
(expect 'idle-canary :to-have-been-called))
(it "should run all idle timers when called with SECS = nil"
@@ -215,7 +219,10 @@
(it "should allow idle timers to trigger during simulated input"
(run-with-idle-timer 500 nil 'insert "world")
(expect
- (with-simulated-input '("hello SPC" (wsi-simulate-idle-time 501) "RET")
+ (with-simulated-input
+ '("hello SPC"
+ (wsi-simulate-idle-time 501)
+ "RET")
(read-string "Enter a string: "))
:to-equal "hello world"))))
- [nongnu] elpa/with-simulated-input 369ca97402 006/134: Fix issues found by package-lint, (continued)
- [nongnu] elpa/with-simulated-input 369ca97402 006/134: Fix issues found by package-lint, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 00ed837502 012/134: Standardize on internal Emacs time type, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input f0dbf2fdd9 017/134: Fix a typo, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 69d91e4b51 025/134: Add a failing test for lexical variable access, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 9efeb236c8 028/134: Version 2.2, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input b0faef361b 027/134: Properly generate lexical closures for lisp actions in KEYS, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 5a0d3f0399 030/134: Version 2.3, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input f089b6ef42 032/134: Add coverage badge, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 3fe99dfdeb 035/134: Fix and update .travis.yml, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 3e68397677 038/134: Fix a typo, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 049c120764 045/134: Extend tests a bit,
ELPA Syncer <=
- [nongnu] elpa/with-simulated-input 7b04400315 046/134: Improve documentation, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 1e0725f520 048/134: Switch from evm to nix-emacs-ci, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 26927ea680 049/134: Specify test directory explicitly, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 93e55eddee 053/134: Fix linter issues and remove unused dependencies, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input ff6bf569b1 057/134: Remove redundant buttercup dependency, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input c377a673c8 127/134: Prefix unused variables with underscores, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 63297040ad 052/134: Switch from Cask to Eldev, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input a5c955085d 055/134: Fix some warnings in test file, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 0d5e910f19 061/134: Add an error message for unhandled case, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 228732caf5 063/134: Enable undercover in CI, ELPA Syncer, 2022/01/10