riece-ruby-output-handler-alist and riece-ruby-output-queue-alist.
2005-08-29 Daiki Ueno <ueno@unixuser.org>
+ * test/test-riece-ruby.el (lunit-test-case-teardown): Rest
+ riece-ruby-output-handler-alist and riece-ruby-output-queue-alist.
+
* riece-server.el (riece-server-keyword-map): Abolished
:coding-system-alist keyword.
(riece-send-string): Take the target identity as the 2nd argument.
(format "%s-output-handler" name))
(cdr handler-entry) name output time)
(if entry
- (setcdr entry (cons output (cdr entry)))
+ (setcdr entry (cons (cons output time) (cdr entry)))
(setq riece-ruby-output-queue-alist
(cons (list name (cons output time))
riece-ruby-output-queue-alist))))))
(luna-define-class test-riece-ruby (lunit-test-case))
(luna-define-method lunit-test-case-teardown ((case test-riece-ruby))
+ (setq riece-ruby-output-handler-alist nil
+ riece-ruby-output-queue-alist nil)
(riece-ruby-execute "exit!")
(sleep-for 1))
(setq test-riece-ruby-output-handler-2 output)))
(lunit-assert-2
case
- (equal test-riece-ruby-output-handler-2 "4294967296"))))
\ No newline at end of file
+ (equal test-riece-ruby-output-handler-2 "4294967296"))))