1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00
emacs/lisp/erc
F. Jason Park 9bddb264ba Add baseline test coverage for erc-match
* lisp/erc/erc-match.el (erc-pal-highlight-type)
(erc-fool-highlight-type, erc-dangerous-host-highlight-type): Clarify
some areas in doc strings.
* test/lisp/erc/erc-match-tests.el: Require `erc-test-common' library.
(erc-match-tests--assert-face-absent)
(erc-match-tests--assert-face-present)
(erc-match-tests--assert-speaker-highlighted)
(erc-match-tests--assert-speaker-only-highlighted)
(erc-match-tests--perform)
(erc-match-tests--hl-type-nick): New functions.
(erc-match-message/pal/nick, erc-match-message/fool/nick)
(erc-match-message/dangerous-host/nick): New tests.
(erc-match-tests--hl-type-message): New function.
(erc-match-message/pal/message)
(erc-match-message/fool/message)
(erc-match-message/dangerous-host/message): New tests.
(erc-match-tests--hl-type-all): New function.
(erc-match-message/pal/all, erc-match-message/fool/all)
(erc-match-message/dangerous-host/all): New tests.
(erc-match-tests--hl-type-nick-or-keyword): New function.
(erc-match-message/current-nick/nick-or-keyword): New test.
(erc-match-tests--hl-type-keyword): New function.
(erc-match-message/keyword/keyword): New test.
(erc-match-tests--log-matches): New function.
(erc-log-matches): New test.
* test/lisp/erc/resources/erc-tests-common.el: Require `erc-d-i'.
(erc-tests-common-add-cmem, erc-tests-common-parse-line)
(erc-tests-common-simulate-line)
(erc-tests-common-simulate-privmsg): New functions.
2024-10-11 16:13:09 -07:00
..
ChangeLog.1 ; Fix typos 2024-06-16 22:38:26 +02:00
ChangeLog.2
erc-autoaway.el
erc-backend.el Improve inconsistent handling of ban lists in ERC 2024-09-29 16:43:30 -07:00
erc-button.el Checkdoc fixes in erc/*.el 2024-07-08 16:41:02 +02:00
erc-capab.el
erc-common.el ; Fix typos in symbols 2024-06-29 17:29:38 +02:00
erc-compat.el
erc-dcc.el Checkdoc fixes in erc/*.el 2024-07-08 16:41:02 +02:00
erc-desktop-notifications.el
erc-ezbounce.el
erc-fill.el Remove erc-fill binding for cycling visual movement 2024-09-29 16:43:39 -07:00
erc-goodies.el Make erc-keep-place-indicator aware of erc-truncate 2024-09-29 16:43:38 -07:00
erc-ibuffer.el
erc-identd.el
erc-imenu.el
erc-join.el
erc-lang.el
erc-list.el
erc-log.el Don't create directory in erc-truncate compat check 2024-10-11 16:13:09 -07:00
erc-match.el Add baseline test coverage for erc-match 2024-10-11 16:13:09 -07:00
erc-menu.el
erc-netsplit.el
erc-networks.el Reconcile erc-stamp--date-stamps when merging buffers 2024-05-18 15:48:05 -07:00
erc-nicks.el Crystallize erc-nicks-track-faces behavior 2024-10-11 16:13:09 -07:00
erc-notify.el
erc-page.el
erc-pcomplete.el Improve inconsistent handling of ban lists in ERC 2024-09-29 16:43:30 -07:00
erc-replace.el
erc-ring.el
erc-sasl.el Return nil from more ERC response handlers 2024-05-27 16:39:18 -07:00
erc-services.el
erc-sound.el
erc-speedbar.el Fix how 'no-other-window' window parameter is ignored (Bug#73706) 2024-10-11 10:39:10 +02:00
erc-spelling.el
erc-stamp.el Redo ERC truncation and /CLEAR hook mechanism 2024-09-29 16:43:38 -07:00
erc-status-sidebar.el
erc-track.el Crystallize erc-nicks-track-faces behavior 2024-10-11 16:13:09 -07:00
erc-truncate.el Don't create directory in erc-truncate compat check 2024-10-11 16:13:09 -07:00
erc-xdcc.el
erc.el Don't create directory in erc-truncate compat check 2024-10-11 16:13:09 -07:00