From: teranisi Date: Wed, 29 Aug 2001 10:30:02 +0000 (+0000) Subject: * test-env.el (test-base64-encode-4, test-base64-encode-5): New testcases. X-Git-Tag: wl-2_7_4~59 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=b97e56aa830dd95c08cf0d3372d6f44c126e5462;p=elisp%2Fwanderlust.git * test-env.el (test-base64-encode-4, test-base64-encode-5): New testcases. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index b7ef3ae..847ea74 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +2001-08-29 Yuuichi Teranishi + + * test-env.el (test-base64-encode-4, test-base64-encode-5): + New testcases. + 2001-08-29 TAKAHASHI Kaoru * test-utf7.el: New file. diff --git a/tests/test-env.el b/tests/test-env.el index e3bb93f..3c91210 100644 --- a/tests/test-env.el +++ b/tests/test-env.el @@ -36,3 +36,23 @@ (string= "QUFB" (elmo-base64-encode-string "AAA")))) + +;; Old base64 module on XEmacs 21.1 +;; +(luna-define-method test-base64-encode-4 ((case test-env)) + (require 'elmo-util) + (lunit-assert + (condition-case nil + (elmo-base64-encode-string "" t) + (wrong-number-of-arguments)))) + +;; +(luna-define-method test-base64-encode-5 ((case test-env)) + (require 'mel) + (lunit-assert + (condition-case nil + (with-temp-buffer + (funcall (mel-find-function 'mime-encode-region "base64") + (point-min) (point-max) t) + t) + (wrong-number-of-arguments))))