|
|
|
|
@ -11,6 +11,7 @@
|
|
|
|
|
(use-modules (gnucash reports))
|
|
|
|
|
(use-modules (tests test-report-extras))
|
|
|
|
|
(use-modules (srfi srfi-9))
|
|
|
|
|
(use-modules (srfi srfi-26))
|
|
|
|
|
(use-modules (srfi srfi-64))
|
|
|
|
|
(use-modules (srfi srfi-98))
|
|
|
|
|
(use-modules (tests srfi64-extras))
|
|
|
|
|
@ -68,7 +69,8 @@
|
|
|
|
|
(gnc:options-for-each
|
|
|
|
|
(lambda (option)
|
|
|
|
|
(when (case (gnc:option-type option)
|
|
|
|
|
((multichoice) (pair? (cdr (gnc:option-data option))))
|
|
|
|
|
((multichoice)
|
|
|
|
|
(> (GncOption-num-permissible-values option) 1))
|
|
|
|
|
((boolean) #t)
|
|
|
|
|
(else #f))
|
|
|
|
|
(set! report-options-tested
|
|
|
|
|
@ -76,8 +78,9 @@
|
|
|
|
|
(gnc:option-section option)
|
|
|
|
|
(gnc:option-name option)
|
|
|
|
|
(case (gnc:option-type option)
|
|
|
|
|
((multichoice) (map (lambda (d) (vector-ref d 0))
|
|
|
|
|
(gnc:option-data option)))
|
|
|
|
|
((multichoice)
|
|
|
|
|
(map (cut GncOption-permissible-value option <>)
|
|
|
|
|
(iota (GncOption-num-permissible-values option))))
|
|
|
|
|
((boolean) (list #t #f))))
|
|
|
|
|
report-options-tested))))
|
|
|
|
|
options)
|
|
|
|
|
|