summaryrefslogtreecommitdiff
path: root/test/lisp/gnus
Commit message (Collapse)AuthorAgeFilesLines
* ; Add 2024 to copyright yearsPo Lu2024-01-0210-10/+10
|
* Change news.gmane.org to news.gmane.ioStefan Kangas2023-10-241-1/+1
| | | | | | | | | | | | | | | * admin/notes/emba: * doc/misc/gnus.texi (Group Parameters) (Non-ASCII Group Names, Filling In Threads) (Selection Groups, Spam Package Configuration Examples) (Terminology): * lisp/gnus/gnus-group.el (gnus-useful-groups): * lisp/gnus/gnus-sum.el (gnus-fetch-old-headers): * lisp/gnus/spam-report.el (spam-report-gmane-use-article-number) (spam-report-gmane-internal): * test/lisp/gnus/gnus-group-tests.el (gnus-short-group-name): Change news.gmane.org to news.gmane.io. Ref: https://news.gmane.io/
* ; Add 2023 to copyright years.Eli Zaretskii2023-01-0110-10/+10
|
* ; Fix typosStefan Kangas2022-12-261-1/+1
| | | | (cherry picked from commit a5d39e11443fa30c8e8bc58254a1a59550dcd99e)
* ; Fix typosStefan Kangas2022-12-081-1/+1
|
* Replace aging OpenPGP artifacts in gnus' mml-sec tests.Justus Winter2022-10-0651-43/+163
| | | | | | | | | This replaces the old OpenPGPv4 keys that are used in the test suite with more modern OpenPGPv4 keys. Having old cryptographic artifacts in the test suite presents a problem once the old algorithms are rejected by contemporary implementations (bug#58301).
* Prefer pos-bol and pos-eol in testsStefan Kangas2022-08-211-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/lisp/calendar/todo-mode-tests.el (todo-test-toggle-item-header02, todo-test-edit-item-date-month) (todo-test-multiline-item-indentation-1) (todo-test-multiline-item-indentation-2) (todo-test-multiline-item-indentation-3): * test/lisp/cedet/semantic-utest-ia.el (semantic-ia-utest-buffer) (semantic-sr-utest-buffer-refs): * test/lisp/cedet/semantic-utest.el (semantic-utest-kill-indicator) (semantic-utest-unkill-indicator): * test/lisp/dired-tests.el (dired-test-bug27968): * test/lisp/emacs-lisp/backtrace-tests.el (backtrace-tests--verify-single-and-multi-line): * test/lisp/emacs-lisp/find-func-tests.el (find-func-tests--find-library-verbose): * test/lisp/erc/erc-tests.el (erc-ring-previous-command) (erc-log-irc-protocol): * test/lisp/gnus/message-tests.el (message-mode-propertize): * test/lisp/info-xref-tests.el (info-xref-test-emacs-manuals): * test/lisp/mail/footnote-tests.el (footnote-tests-same-place): * test/lisp/progmodes/elisp-mode-tests.el (elisp-shorthand-completion-at-point): * test/lisp/progmodes/f90-tests.el (f90-test-bug38415): * test/lisp/progmodes/python-tests.el (python-indent-electric-comma-inside-multiline-string) (python-indent-electric-comma-after-multiline-string) (python-indent-electric-colon-1, python-indent-electric-colon-2) (python-indent-electric-colon-3, python-indent-electric-colon-4) (python-mark-defun-2, python-mark-defun-3, python-mark-defun-4) (python-mark-defun-5, python-nav-end-of-defun-2) (python-nav-end-of-statement-1, python-nav-end-of-block-1) (python-indent-dedent-line-backspace-2) (python-indent-dedent-line-backspace-3) (python-eldoc--get-symbol-at-point-1) (python-info-beginning-of-statement-p-1) (python-info-beginning-of-statement-p-2): * test/lisp/replace-tests.el (replace-occur-revert-bug32543) (replace-occur-revert-bug32987): * test/lisp/simple-tests.el (simple-delete-indentation-boundaries) (simple-delete-indentation-region) (line-number-at-pos-in-narrow-buffer) (line-number-at-pos-keeps-restriction): * test/lisp/textmodes/css-mode-tests.el (css-mode-test-selectors) (scss-mode-test-selectors): * test/lisp/textmodes/fill-tests.el (fill-test-unbreakable-paragraph) (fill-test-breakable-paragraph): * test/lisp/time-stamp-tests.el (time-stamp-custom-pattern): * test/src/lread-tests.el (lread-tests--last-message): * test/src/process-tests.el (set-process-filter-t): * test/src/undo-tests.el (undo-test-skip-invalidated-markers): Prefer pos-bol and pos-eol.
* Tag an mml-sec testGlenn Morris2022-01-251-0/+3
| | | | | * test/lisp/gnus/mml-sec-tests.el (mml-secure-en-decrypt-3): Tag unstable on hydra.nixos.org due to repeated intermittent failures.
* ; Add 2022 to copyright years.Eli Zaretskii2022-01-011-1/+1
|
* Merge from origin/emacs-28Eli Zaretskii2022-01-019-9/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 836be7a112 ; * etc/refcards/ru-refcard.tex: Update Copyright year. 86cbc6ee4a * lisp/net/tramp-sh.el: Adapt copyright year ebe8772f65 ; Minor fixes related to copyright years 23c1ee6989 ; * test/manual/etags/ETAGS.good_N: Adjust to copyright ye... 8d3fc7ec89 * src/xfaces.c (face_for_font): Make 'hash' be uintptr_t. 19dcb237b5 ; Add 2022 to copyright years. # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex # lib/cdefs.h # lisp/erc/erc-dcc.el # lisp/erc/erc-imenu.el # lisp/erc/erc-replace.el # lisp/image-dired.el # lisp/progmodes/xref.el # m4/alloca.m4 # m4/byteswap.m4 # m4/errno_h.m4 # m4/getopt.m4 # m4/gnulib-common.m4 # m4/inttypes.m4 # m4/stddef_h.m4 # m4/stdint.m4 # m4/sys_socket_h.m4
| * ; Add 2022 to copyright years.Eli Zaretskii2022-01-019-9/+9
| |
* | Add some gnus-short-group-name testsMorgan J. Smith2021-10-291-0/+52
| | | | | | | | | | * test/lisp/gnus/gnus-group-tests.el (gnus-short-group-name): Add some gnus-short-group-name tests (bug#51450).
* | gnus-icalendar: Missing attendees are not REQ-PARTICIPANTAlexandre Duret-Lutz2021-10-021-1/+1
|/ | | | | | | | | | | * lisp/gnus/gnus-icalendar.el (gnus-icalendar-event--get-attendee-names) (gnus-icalendar-event-from-ical): Do not default to REQ-PARTICIPANT if the user was not found as an attendee. * test/lisp/gnus/gnus-icalendar-tests.el (gnus-icalendary-weekly-byday): Remove the ROLE property to test that it correctly defaults to REQ-PARTICIPANT. The case where the user is not listed is covered by gnus-icalendar-parse already (bug#50749).
* ; Minor stylistic checkdoc fixes in test/**/*.elStefan Kangas2021-09-263-3/+3
|
* Fix nnrss-get-namespace-prefix (bug#34685)Benjamin Riefenstahl2021-08-101-5/+5
| | | | | | | * lisp/gnus/nnrss.el (nnrss-get-namespace-prefix): Use the car of parameter el to match what dom-search expects. * test/lisp/gnus/nnrss-tests.el (test-nnrss-xml): Adjust to what xml-parse-region produces (bug#34685).
* Add test for nnrssBenjamin Riefenstahl2021-08-091-0/+16
| | | | * test/lisp/gnus/nnrss-tests.el (test-nnrss-xml): New test (bug#34685).
* Rewrite gnus-search-query-expand-keyEric Abrahamsen2021-07-101-1/+3
| | | | | | | | | * lisp/gnus/gnus-search.el (gnus-search-query-expand-key): There was a misunderstanding about how completion-all-completion works (if the test string can't be completed, the whole table is returned). Simplify to use try-completion. * test/lisp/gnus/gnus-search-tests.el (gnus-s-expand-keyword): Ensure that an unknown/uncompletable keyword is returned unmolested.
* Fix message-replace-header after recent changedickmao2021-06-231-0/+29
| | | | | * lisp/gnus/message.el (message-replace-header): Restore else branch removed by mistake in 989de3b824 (bug#49179).
* Remove the base64 Face header repadding in GnusAlex Bochannek2021-05-261-37/+0
| | | | | | * lisp/gnus/gnus-fun.el (gnus-convert-face-to-png): Remove call. * lisp/gnus/gnus-util.el (gnus-base64-repad): Remove.
* ; Normalize and add missing first and last linesStefan Kangas2021-04-191-1/+1
|
* ; Minor license statement fixesStefan Kangas2021-02-084-14/+17
|
* Revert recent mm-with-part changeLars Ingebrigtsen2021-01-101-16/+0
| | | | | | * lisp/gnus/mm-decode.el (mm-with-part): Revert 23a887e426f81033b0de2f4c93a8525cb31c28da -- this is the wrong place to handle this peculiarity.
* Add more mm-decode testsLars Ingebrigtsen2021-01-102-0/+73
|
* Add work-around for nnmaildir encoding problemLars Ingebrigtsen2021-01-071-1/+17
| | | | | * lisp/gnus/mm-decode.el (mm-with-part): Fix problem with multipart 8bit encoded posts from nnmaildir (bug#44307).
* Add tests for mm-decode.elLars Ingebrigtsen2021-01-072-0/+93
|
* Update copyright year to 2021Paul Eggert2021-01-018-8/+8
| | | | Run "TZ=UTC0 admin/update-copyright".
* Kill the scdaemon after doing the mml-sec testsLars Ingebrigtsen2020-12-261-1/+2
| | | | | * test/lisp/gnus/mml-sec-tests.el (mml-sec-test--kill-gpg-agent): Kill the scdaemon, too (bug#43358).
* Skip some mml tests that rely on CMS if that's not installedLars Ingebrigtsen2020-12-251-0/+4
|
* Fix gpg-agent killing in mml-sec-testsLars Ingebrigtsen2020-12-251-1/+2
| | | | | | * test/lisp/gnus/mml-sec-tests.el (mml-sec-test--kill-gpg-agent): Identify the gpg-agent more successfully after the resource dir makeover.
* New gnus-search libraryEric Abrahamsen2020-11-031-0/+96
| | | | | | | | | | | | | | | | | | | | | | | This library provides a fundamental reworking of the search functionality previously found in nnir.el. It uses class-based search engines to interface with external searching facilities, and a parsed search query syntax that can search multiple engines. * lisp/gnus/gnus-search.el: New library containing search functionality for Gnus. * doc/misc/gnus.texi: Document. * lisp/gnus/gnus-group.el (gnus-group-make-search-group, gnus-group-read-ephemeral-search-group): Remove references to nnir, change meaning of prefix argument, change values of nnselect-function and nnselect-args. * lisp/gnus/nnselect.el: Replace references to nnir (nnselect-request-article): Use gnus-search functions, and search criteria. (nnselect-request-thread, nnselect-search-thread): Use gnus-search thread search. (gnus-summary-make-search-group): Switch to use gnus-search function and arguments. * test/lisp/gnus/search-tests.el: Tests for new functionality.
* Disable mml-sec-tests on MacOSLars Ingebrigtsen2020-10-281-1/+4
| | | | | * test/lisp/gnus/mml-sec-tests.el (test-conf): Disable tests on MacOS (bug#44259).
* ; Prefer https to http in more URLsStefan Kangas2020-10-242-2/+2
| | | | These were all tested and confirmed working.
* Move mml-sec.el test data to follow our conventionsStefan Kangas2020-10-2435-4/+34
| | | | | | | | * test/lisp/gnus/mml-sec-tests.el (ert-x): Require. (mml-secure-test-fixture, mml-sec-test--kill-gpg-agent): Use ert-resource-directory. * test/lisp/gnus/mml-sec-resources/*: Moved from test/data/mml-sec/. * .gitignore: Update location of moved file "random_seed".
* Make Gnus more liberal when interpreting Face headers againLars Ingebrigtsen2020-10-151-2/+0
| | | | | | | * lisp/gnus/gnus-fun.el (gnus-convert-face-to-png): Do it. * lisp/gnus/gnus-util.el (gnus-base64-repad): Allow not checking anything, but just repadding.
* Remove mml-sec-test that assumes the first signatureLars Ingebrigtsen2020-10-011-31/+0
| | | | | This is no longer supported; the user is asked for what signature to use.
* Make gnus-base64-repad a bit stricter againAlex Bochannek2020-10-011-5/+8
| | | | | * lisp/gnus/gnus-util.el (gnus-base64-repad): Make the code a bit stricter again.
* Query for the signer when sending signed mail (with unknown signer)Robert Pluim2020-10-011-1/+0
| | | | | | | | | * lisp/gnus/mml-sec.el (mml-secure-sender-sign-query): New function (bug#40118). (mml-secure-epg-sign): Use it to determine the signer (bug#40118). * lisp/gnus/mml-sec.el (mml-secure-allow-signing-with-unknown-recipient): Remove.
* Fix gnus-base64-repad test failuresLars Ingebrigtsen2020-09-301-6/+3
|
* Repad the Face header in GnusAlex Bochannek2020-09-281-0/+98
| | | | | | * lisp/gnus/gnus-fun.el (gnus-convert-face-to-png): Use it. * lisp/gnus/gnus-util.el (gnus-base64-repad): New function (bug#43441).
* Fix Gnus parsing of weekly recurring icalendar eventsJan Tatarik2020-09-281-51/+74
| | | | | | | | | | | | | | * lisp/gnus/gnus-icalendar.el (gnus-icalendar-event:recurring-interval): Fix parsing of weekly recurring events (bug#43669). Example: in the absence of explicit INTERVAL value in the calendar event, a weekly event with occurrences scheduled for Mondays and Wednesdays should receive the default recurring interval of "1" and the org mode timestamp repeater should be "+1w". Due to a bug in the current code we receive "WEEKLY" and "+WEEKLYw" instead. The patch fixes the issue.
* ; Fix typosStefan Kangas2020-09-211-1/+1
|
* Kill gpg-agents started by mml-sec-tests (bug#43358)Lars Ingebrigtsen2020-09-131-1/+15
|
* ; Fix copyright yearsGlenn Morris2020-09-121-1/+1
|
* Use lexical-binding in mml-sec-tests.elStefan Kangas2020-09-101-6/+12
| | | | | | * test/lisp/gnus/mml-sec-tests.el: Use lexical-binding. (mml-secure-test-mail-fixture) (mml-secure-test-en-decrypt-with-passphrase): Fix warnings.
* Use lexical-binding in more testsStefan Kangas2020-08-291-1/+1
| | | | | | | | | | | | | | | | | * test/lib-src/emacsclient-tests.el: * test/lisp/emacs-lisp/hierarchy-tests.el: * test/lisp/eshell/eshell-tests.el: * test/lisp/gnus/gnus-util-tests.el: * test/lisp/progmodes/js-tests.el: * test/lisp/textmodes/bibtex-tests.el: * test/src/editfns-tests.el: * test/src/fns-tests.el: Use lexical-binding. * test/lisp/emacs-lisp/hierarchy-tests.el (hierarchy-leafs-includes-lonely-roots): * test/src/editfns-tests.el (transpose-test-get-byte-positions): * test/src/fns-tests.el (fns-tests-func-arity): Adjust for lexical-binding.
* Fix lexical misunderstandings in gnus-icalendar-tests.el (bug#39782)Mattias Engdegård2020-08-261-14/+6
| | | | | | | | | | | * test/lisp/gnus/gnus-icalendar-tests.el: (icalendar-tests--get-ical-event): Remove unused function accidentally copy-pasted from icalendar-tests.el. (gnus-icalendar-parse, gnus-icalendary-byday): Remove unintended initial newlines. Duplicate comma-escaping backslashes so that they have intended effects, conforming to RFC 5545. Remove ineffective comma-escaping backslashes where not intended.
* Fix gpg2-related test failures on RHEL 7.8Paul Eggert2020-08-251-3/+4
| | | | | | | | | * test/lisp/gnus/mml-sec-tests.el (test-conf) (mml-secure-en-decrypt-passphrase-no-cache-openpgp-todo) (mml-secure-run-tests-with-gpg2): Use epg-find-configuration instead of the obsolescent epg-configuration. This fixes test failures on RHEL 7.8, where ‘gpg’ and ‘gpg2’ are both 2.0.22.
* mml-secure-en-decrypt-sign-1-2-double is unstablePaul Eggert2020-08-251-0/+1
| | | | | * test/lisp/gnus/mml-sec-tests.el: (mml-secure-en-decrypt-sign-1-2-double): Mark this as unstable.
* Bind the time zone so that the tests work everywhereLars Ingebrigtsen2020-08-221-16/+29
|
* ; Copyright fixGlenn Morris2020-08-221-4/+6
| | | | Author has assignment