1 ;; -*- lexical-binding: t -*-
3 (require 'elmo-localdir)
5 (luna-define-class test-elmo-localdir (lunit-test-case))
7 (luna-define-method test-elmo-folder-expand-msgdb-path-1 ((case test-elmo-localdir))
10 (elmo-folder-expand-msgdb-path
11 (wl-folder-get-elmo-folder
12 (concat "+" (expand-file-name "~/Mail/inbox"))))
13 (elmo-folder-expand-msgdb-path
14 (wl-folder-get-elmo-folder "+~/Mail/inbox")))))
16 (luna-define-method test-elmo-folder-expand-msgdb-path-2 ((case test-elmo-localdir))
19 (expand-file-name "localdir/inbox" elmo-msgdb-directory)
20 (elmo-folder-expand-msgdb-path (wl-folder-get-elmo-folder "+inbox")))))
23 (luna-define-method test-elmo-folder-expand-msgdb-path-3 ((case test-elmo-localdir))
27 (elmo-folder-expand-msgdb-path (wl-folder-get-elmo-folder "+/inbox"))
28 (elmo-folder-expand-msgdb-path (wl-folder-get-elmo-folder "+inbox"))))))