1
;; Authors: Martin Blais <blais@furius.ca>
2
;; Date: $Date: 2005/04/01 23:19:41 $
3
;; Copyright: This module has been placed in the public domain.
5
;; Regression tests for rst-adjust-section-title.
9
;; emacs --script tests-adjust-section.el
11
;; See test-runner.el for documentation on how the format of tests.
15
(setq rst-adjust-decoration-tests
17
;;------------------------------------------------------------------------------
31
;;------------------------------------------------------------------------------
45
;;------------------------------------------------------------------------------
59
;;------------------------------------------------------------------------------
73
;;------------------------------------------------------------------------------
74
(nodec-first-simple-others
100
;;------------------------------------------------------------------------------
113
;;------------------------------------------------------------------------------
127
;;------------------------------------------------------------------------------
128
(nodec-first-forced-2
140
;;------------------------------------------------------------------------------
159
;;------------------------------------------------------------------------------
184
;;------------------------------------------------------------------------------
204
;;------------------------------------------------------------------------------
205
(nodec-simple-force-toggle
225
;;------------------------------------------------------------------------------
244
;;------------------------------------------------------------------------------
267
;;------------------------------------------------------------------------------
280
;;------------------------------------------------------------------------------
293
;;------------------------------------------------------------------------------
307
;;------------------------------------------------------------------------------
308
(incomplete-simple-too-long
320
;;------------------------------------------------------------------------------
321
(incomplete-simple-uo
335
;;------------------------------------------------------------------------------
336
(incomplete-partial-overline
350
;;------------------------------------------------------------------------------
365
;;------------------------------------------------------------------------------
379
;;------------------------------------------------------------------------------
393
;;------------------------------------------------------------------------------
394
(incomplete-toggle-overline
407
;;------------------------------------------------------------------------------
420
;;------------------------------------------------------------------------------
433
;;------------------------------------------------------------------------------
468
;;------------------------------------------------------------------------------
502
;;------------------------------------------------------------------------------
503
(complete-simple-suggestion-down
530
;;------------------------------------------------------------------------------
531
(complete-simple-boundary-down
559
;;------------------------------------------------------------------------------
560
(complete-simple-suggestion-up
588
;;------------------------------------------------------------------------------
589
(complete-simple-boundary-up ;; Note: boundary-up does not exist.
615
;;------------------------------------------------------------------------------
630
;;------------------------------------------------------------------------------
645
;;------------------------------------------------------------------------------
660
;;------------------------------------------------------------------------------
675
;;------------------------------------------------------------------------------
688
;;------------------------------------------------------------------------------
705
;;------------------------------------------------------------------------------
722
;;------------------------------------------------------------------------------
742
;;------------------------------------------------------------------------------
764
;; ;;------------------------------------------------------------------------------
765
;; (cycle-previous-only
767
;; ==================
769
;; ==================
789
;; ==================
791
;; ==================
814
;; Main program. Evaluate this to run the tests.
815
;; (setq debug-on-error t)
817
;; Import the module from the file in the parent directory directly.
818
(add-to-list 'load-path ".")
819
(load "tests-runner.el")
820
(add-to-list 'load-path "..")
824
(regression-test-compare-expect-buffer
825
"Test interactive adjustment of sections."
826
rst-adjust-decoration-tests
828
(call-interactively 'rst-adjust))