Server IP : 111.118.215.189 / Your IP : 3.147.48.161 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/emacs-lisp/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:09:03 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/emacs-lisp/ert.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\307\310\311\312\313\314\315\316&\210\317\320\321\322\315\310%\210\317\323\324\325\315\310%\207" [require button debug easymenu ewoc find-func help custom-declare-group ert nil "ERT, the Emacs Lisp regression testing tool." :prefix "ert-" :group lisp custom-declare-face ert-test-result-expected ((((class color) (background light)) :background "green1") (((class color) (background dark)) :background "green3")) "Face used for expected results in the ERT results buffer." ert-test-result-unexpected ((((class color) (background light)) :background "red1") (((class color) (background dark)) :background "red3")) "Face used for unexpected results in the ERT results buffer."] 8) #@54 Copy of `cl-do-remf'. Modify PLIST by removing TAG. (defalias 'ert--cl-do-remf #[(plist tag) "A\211A\203 A@\n=\204 AA\211\202 A\205% \211AAA\241\210\303)\207" [plist p tag t] 3 (#$ . 1327)]) #@60 Copy of `cl-remprop'. Modify SYM's plist by removing TAG. (defalias 'ert--remprop #[(sym tag) "\303!\211\203 \n @=\203 \304 AA\"\210\305\202 \306 \n\")\207" [sym plist tag symbol-plist setplist t ert--cl-do-remf] 4 (#$ . 1535)]) #@94 A reimplementation of `remove-if-not'. ERT-PRED is a predicate, ERT-LIST is the input list. (defalias 'ert--remove-if-not #[(ert-pred ert-list) "\305\211 :\203 @\f\n!\203 \nB A\211\202 \237+\207" [ert-list #1=#:--cl-var-- ert-x #2=#:--cl-var-- ert-pred nil] 3 (#$ . 1777)]) #@104 A reimplementation of `intersection'. Intersect the sets A and B. Elements are compared using `eql'. (defalias 'ert--intersection #[(a b) "\305\211 :\203 @\306\n\f\"\203 \nB A\211\202 \237+\207" [a #1=#:--cl-var-- x #2=#:--cl-var-- b nil memql] 4 (#$ . 2072)]) #@113 A reimplementation of `set-difference'. Subtract the set B from the set A. Elements are compared using `eql'. (defalias 'ert--set-difference #[(a b) "\305\211 :\203 @\306\n\f\"\204 \nB A\211\202 \237+\207" [a #1=#:--cl-var-- x #2=#:--cl-var-- b nil memql] 4 (#$ . 2355)]) #@112 A reimplementation of `set-difference'. Subtract the set B from the set A. Elements are compared using `eq'. (defalias 'ert--set-difference-eq #[(a b) "\305\211 :\203 @\211\f>\204 \nB A\211\202 \237+\207" [a #1=#:--cl-var-- x #2=#:--cl-var-- b nil] 3 (#$ . 2649)]) #@108 A reimplementation of `union'. Compute the union of the sets A and B. Elements are compared using `eql'. (defalias 'ert--union #[(a b) "\302\303 \"\"\207" [a b append ert--set-difference] 5 (#$ . 2936)]) (defvar ert--gensym-counter 0) #@52 Only allows string PREFIX, not compatible with CL. (defalias 'ert--gensym #[(&optional prefix) "\204 \302\303\304\305 \211T#!\207" [prefix ert--gensym-counter "G" make-symbol format "%s%s"] 6 (#$ . 3181)]) #@23 Coerce X to a vector. (defalias 'ert--coerce-to-vector #[(x) "\301!\203\n \302\303!\210\304!\203 \207\305!\207" [x char-table-p error "Not supported" vectorp vconcat] 2 (#$ . 3398)]) #@74 Does not support all the keywords of remove*. (fn X LIST &key KEY TEST) (defalias 'ert--remove* #[(x list &rest #1=#:--cl-rest--) "\306>A@\307>A@\2038 @\310>\203! AA\211\202 \311>A@\203/ \312\211\202 \313\314@\"\210\202 ) \204? \315\n\204E \316\f\312\211 :\203o @\n !\"\204h B A\211\202N \237-\207" [#1# key test #2=#:--cl-keys-- list #3=#:--cl-var-- :key :test (:key :test :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:key :test)" identity eql y #4=#:--cl-var-- x] 5 (#$ . 3592)]) #@72 Return the position of the first occurrence of C in S, or nil if none. (defalias 'ert--string-position #[(c s) "\306 \307\310\311\310T\211\nGW\2036 \nH\312\f\f\"\203, \310\211\202- \311\2036 T\202 .\207" [i s #1=#:--cl-vec-- #2=#:--cl-idx-- x #3=#:--cl-var-- 0 -1 nil t eql #4=#:--cl-var-- c] 3 (#$ . 4155)]) #@109 Return index of first element that differs between A and B. Like `mismatch'. Uses `equal' for comparison. (defalias 'ert--mismatch #[(a b) "<\204\n <\203 \306\307!\307 !\"\207G GV\203 \306 \"\207G G\310!\2043 \311\312\313D\"\210\310 !\204@ \311\312\314 D\"\210\nX\204N \311\312\315\nE\"\210\316\317\320\f W\203} \fH \fH\232\204r \f\320\211\202s \317\203} \fT\211\202Y \203\236 \nU\204\214 \202\240 \232\204\232 \311\312\321 E\"\210\320\202\240 .\207" [a b lb la i #1=#:--cl-var-- ert--mismatch ert--coerce-to-vector arrayp signal cl-assertion-failed (arrayp a) (arrayp b) (<= la lb) 0 t nil (equal a b) #2=#:--cl-var-- #3=#:--cl-var--] 6 (#$ . 4493)]) #@48 Return a subsequence of SEQ from START to END. (defalias 'ert--subseq #[(seq start &optional end) "\306!\203\n \307\310!\210\311! \nO\312!\203 \202\200 ;\203&