org-mode/testing/lisp
Ruijie Yu ab9c9732ea
Fix dependence on locale in org testing facilities
* testing/org-test.el org-test-day-of-weeks-seconds: add values of
seconds that yield different days of week (by trial-and-error).
org-test-day-of-weeks-abbrev: add a vector of abbreviated DoW
names for testing.
org-test-day-of-weeks-full: add a vector of full DoW names for
testing.

* testing/lisp/test-org-clock.el
(test-org-clock/clock-drawer-dwim): make use of the pre-generated
DoW names in the testing to remove assumptions on LANG=C.
(test-org-clock/org-clock-timestamps-change): renamed from
test-org-clok/org-clock-timestamps-change; used DoW pre-generated
names.

* testing/lisp/test-org.el (org-test-with-result):
(org-test-without-dow): add two macros to combat the 40-time
repetition of "do not add day-of-week, do something, and return
buffer string".
(test-org/clone-with-time-shift): (test-org/add-planning-info):
(test-org/deadline): (test-org/schedule): rewrite the
day-of-week-removal portion to avoid generating day-of-week names
altogether, using the new macro `org-test-without-dow'.
2023-07-17 11:04:23 +03:00
..
test-ob-awk.el
test-ob-C.el
test-ob-clojure.el
test-ob-emacs-lisp.el
test-ob-eshell.el testing/lisp/test-ob-eshell.el: Fix tests 2022-10-13 18:28:56 +08:00
test-ob-exp.el
test-ob-fortran.el
test-ob-header-arg-defaults.el
test-ob-java.el
test-ob-julia.el
test-ob-lilypond.el
test-ob-lob.el
test-ob-lua.el
test-ob-maxima.el
test-ob-octave.el
test-ob-perl.el testing: Make all files use lexical-binding 2022-09-15 19:17:19 +08:00
test-ob-plantuml.el
test-ob-python.el
test-ob-R.el
test-ob-ruby.el testing/lisp: Add missing `featurep' checks for required packages 2022-10-13 18:30:07 +08:00
test-ob-scheme.el
test-ob-sed.el
test-ob-shell.el
test-ob-sql.el
test-ob-sqlite.el
test-ob-table.el
test-ob-tangle.el
test-ob.el
test-oc.el
test-ol-bbdb.el
test-ol.el
test-org-agenda.el
test-org-archive.el
test-org-attach-git.el
test-org-attach.el
test-org-capture.el
test-org-clock.el
test-org-colview.el
test-org-datetree.el
test-org-duration.el
test-org-element.el
test-org-feed.el
test-org-fold.el test-org-fold.el: Add test for inline image displaying when cycling 2022-10-26 12:43:08 +08:00
test-org-footnote.el
test-org-info.el
test-org-inlinetask.el
test-org-lint.el
test-org-list.el
test-org-macro.el
test-org-macs.el
test-org-num.el
test-org-pcomplete.el
test-org-protocol.el
test-org-src.el
test-org-table.el
test-org-tempo.el
test-org-timer.el
test-org.el
test-ox-html.el
test-ox-icalendar.el ox-icalendar: Add support for unscheduled and repeating TODOs 2023-06-18 06:51:47 -07:00
test-ox-latex.el
test-ox-publish.el
test-ox-texinfo.el
test-ox.el
test-property-inheritance.el