diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/automated/threads.el | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/automated/threads.el b/test/automated/threads.el index 4c1afbdde67..ce929fc0add 100644 --- a/test/automated/threads.el +++ b/test/automated/threads.el | |||
| @@ -175,4 +175,17 @@ | |||
| 175 | (accept-process-output nil 1)) | 175 | (accept-process-output nil 1)) |
| 176 | threads-test-global))) | 176 | threads-test-global))) |
| 177 | 177 | ||
| 178 | (ert-deftest threads-condvarp () | ||
| 179 | "simple test of condition-variablep" | ||
| 180 | (should-not (condition-variablep 'hi))) | ||
| 181 | |||
| 182 | (ert-deftest threads-condvarp-2 () | ||
| 183 | "another simple test of condition-variablep" | ||
| 184 | (should (condition-variablep (make-condition-variable (make-mutex))))) | ||
| 185 | |||
| 186 | (ert-deftest threads-condvar-type () | ||
| 187 | "type-of condvar" | ||
| 188 | (should (eq (type-of (make-condition-variable (make-mutex))) | ||
| 189 | 'condition-variable))) | ||
| 190 | |||
| 178 | ;;; threads.el ends here | 191 | ;;; threads.el ends here |