;ELC ;;; Compiled ;;; in Emacs version 26.3 ;;; with all optimizations. ;;; This file contains utf-8 non-ASCII characters, ;;; and so cannot be loaded into Emacs 22 or earlier. (and (boundp 'emacs-version) (< (aref emacs-version (1- (length emacs-version))) ?A) (string-lessp emacs-version "23") (error "`%s' was compiled for Emacs 23 or later" #$)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\207" [require ert pyim pyim-dregcache] 2) #@27 当前目录下的词库. (defalias 'pyim-test-get-dicts #[0 "\301\302\"\303\304\"\207" [default-directory directory-files-recursively ".pyim$" mapcar #[257 "\300\301!\302F\207" [:name file-name-base :file] 5 "\n\n(fn F)"]] 4 (#$ . 498)]) (byte-code "\302\303 \304\305\306\307\305\310\311\310\312\310&\"\210\304\313\306\307\313\310\314\310\312\310&\"\210\315 \207" [default-input-method pyim-dicts "pyim" pyim-test-get-dicts ert-set-test pyim-test-generic record ert-test nil #[0 "\303\304\305!r\211q\210\306\307\310\311\312!\313\"\314$\216\315C\3161$\317\n)C0\202/\320\240\210\211@AD\262\321C\322C\306\307\323\311\312$\324\"\325$\216\326\242\"\240)\204V\327\242!\210\266\330\331!*\262)\207" [pyim-dcache-backend signal-hook-function toggle-input-method-active pyim-dregcache generate-new-buffer " *temp*" make-byte-code 0 "\301\300!\205 \302\300!\207" vconcat vector [buffer-name kill-buffer] 2 not (error) ert--should-signal-hook signal #1=#:ert-form-evaluation-aborted-6213 nil "\303\304C\305\300\242\301BD\244\306\302\242\307\"?\205\310\302\242D\244\311\312N\211\205%\313\314\301\"D\262\244\240\210\315\303\242!\207" [(should (not toggle-input-method-active)) :form eql #1# :value not ert-explainer :explanation apply ert--signal-should-execution] 7 apply ert-fail call-interactively toggle-input-method] 14] :passed pyim-test-dregcache-backend #[0 "\303\304\305C\3061\307\nG)\310D0\202\311\240\210\211@AD\262\312C\304C\313\310\314\315\316$\317\"\320$\216\321\242\"\240)\204F\322\242!\210\266\323\324!\210\325C\3261]\307\nG)\310D0\202h\311\240\210\211@AD\262\327C\304C\313\310\314\315\316$\330\"\320$\216\321\242\"\240)\204\217\322\242!\210\266\331\332!\262\305C\3331\247\307G)\334D0\202\262\311\240\210\211@AD\262\335C\304C\313\310\314\315\316$\336\"\320$\216\321\242\"\240)\204\331\322\242!\210\266\337C\3401\354\307@)\341D0\202\367\311\240\210\211@AD\262\342C\304C\313\310\314\315\316$\343\"\320$\216\321\242\"\240)\204\322\242!\210\266\331\344!\262\337C\34516\307@)\346D0\202A\311\240\210\211@AD\262\347C\304C\313\310\314\315\316$\350\"\320$\216\321\242\"\240)\204h\322\242!\210\266\305C\3511{\307G)\352D0\202\206\311\240\210\211@AD\262\353C\304C\313\310\314\315\316$\354\"\320$\216\321\242\"\240)\204\255\322\242!\210\210\211\242\262\266\202)\207" [pyim-dcache-backend signal-hook-function pyim-dregcache-cache pyim-dregcache nil eq (error) ert--should-signal-hook 0 signal #2=#:ert-form-evaluation-aborted-6218 make-byte-code "\303\304C\305\300\242\301BD\244\306\302\242\307\"?\205\310\302\242D\244\311\312N\211\205%\313\314\301\"D\262\244\240\210\315\303\242!\207" vconcat vector [(should (eq (length pyim-dregcache-cache) 0)) :form eql #2# :value eq ert-explainer :explanation apply ert--signal-should-execution] 7 apply ert-fail pyim-dcache-update-code2word t > (error) #3=#:ert-form-evaluation-aborted-6223 [(should (> (length pyim-dregcache-cache) 0)) :form eql #3# :value > ert-explainer :explanation apply ert--signal-should-execution] pyim-dcache-get "zun-bei" (error) 1 #4=#:ert-form-evaluation-aborted-6228 [(should (eq (length words) 1)) :form eql #4# :value eq ert-explainer :explanation apply ert--signal-should-execution] string= (error) #5="尊卑" #6=#:ert-form-evaluation-aborted-6233 [(should (string= (nth 0 words) #5#)) :form eql #6# :value string= ert-explainer :explanation apply ert--signal-should-execution] "zun" (error) #7="尊" #8=#:ert-form-evaluation-aborted-6238 [(should (string= (nth 0 words) #7#)) :form eql #8# :value string= ert-explainer :explanation apply ert--signal-should-execution] (error) 44 #9=#:ert-form-evaluation-aborted-6243 [(should (eq (length words) 44)) :form eql #9# :value eq ert-explainer :explanation apply ert--signal-should-execution]] 14] ert-run-tests-batch-and-exit] 10)