FIX names in tests
This commit is contained in:
parent
25360c78ae
commit
49f7975f77
|
@ -78,7 +78,7 @@ Forms are denoted like %(FORM)%."
|
||||||
`(describe ,name ,@forms)))
|
`(describe ,name ,@forms)))
|
||||||
|
|
||||||
(org-x--test-buffer-strings "Task status"
|
(org-x--test-buffer-strings "Task status"
|
||||||
(org-x-task-status)
|
(org-x-headline-get-task-status)
|
||||||
|
|
||||||
"no status"
|
"no status"
|
||||||
"* headline"
|
"* headline"
|
||||||
|
@ -165,7 +165,7 @@ Forms are denoted like %(FORM)%."
|
||||||
;; NOTE the silly thing about this function is that headlines need not actually
|
;; NOTE the silly thing about this function is that headlines need not actually
|
||||||
;; be projects :/
|
;; be projects :/
|
||||||
(org-x--test-buffer-strings "Project status"
|
(org-x--test-buffer-strings "Project status"
|
||||||
(org-x-get-project-status)
|
(org-x-headline-get-project-status)
|
||||||
|
|
||||||
"scheduled"
|
"scheduled"
|
||||||
("* TODO project"
|
("* TODO project"
|
||||||
|
@ -343,7 +343,7 @@ Forms are denoted like %(FORM)%."
|
||||||
=> :stuck)
|
=> :stuck)
|
||||||
|
|
||||||
(org-x--test-buffer-strings "Iterator status"
|
(org-x--test-buffer-strings "Iterator status"
|
||||||
(org-x-get-iterator-status)
|
(org-x-headline-get-iterator-status)
|
||||||
|
|
||||||
"uninitialized"
|
"uninitialized"
|
||||||
("* TODO iterator"
|
("* TODO iterator"
|
||||||
|
@ -385,7 +385,7 @@ Forms are denoted like %(FORM)%."
|
||||||
":PARENT_TYPE: iterator"
|
":PARENT_TYPE: iterator"
|
||||||
":END:"
|
":END:"
|
||||||
"** TODO sub"
|
"** TODO sub"
|
||||||
"SCHEDULED: %(org-x-gen-ts (+ (* 60 60 24) org-x-iter-future-time))%")
|
"SCHEDULED: %(org-x-gen-ts (+ (* 60 60 24) org-x-iterator-active-future-offset))%")
|
||||||
=> :actv
|
=> :actv
|
||||||
|
|
||||||
"project error"
|
"project error"
|
||||||
|
@ -395,11 +395,11 @@ Forms are denoted like %(FORM)%."
|
||||||
":END:"
|
":END:"
|
||||||
"** NEXT sub"
|
"** NEXT sub"
|
||||||
"*** TODO subsub"
|
"*** TODO subsub"
|
||||||
"SCHEDULED: %(org-x-gen-ts (1+ org-x-iter-future-time))%")
|
"SCHEDULED: %(org-x-gen-ts (1+ org-x-iterator-active-future-offset))%")
|
||||||
=> :project-error)
|
=> :project-error)
|
||||||
|
|
||||||
(org-x--test-buffer-strings "Periodical status"
|
(org-x--test-buffer-strings "Periodical status"
|
||||||
(org-x-get-periodical-status)
|
(org-x-headline-get-periodical-status)
|
||||||
|
|
||||||
"uninitialized"
|
"uninitialized"
|
||||||
("* periodical"
|
("* periodical"
|
||||||
|
@ -423,7 +423,7 @@ Forms are denoted like %(FORM)%."
|
||||||
":PARENT_TYPE: periodical"
|
":PARENT_TYPE: periodical"
|
||||||
":END:"
|
":END:"
|
||||||
"** sub"
|
"** sub"
|
||||||
"%(org-x-gen-ts (+ (* 60 60 24) org-x-peri-future-time) t)%")
|
"%(org-x-gen-ts (+ (* 60 60 24) org-x-periodical-active-future-offset) t)%")
|
||||||
=> :actv
|
=> :actv
|
||||||
|
|
||||||
"unscheduled"
|
"unscheduled"
|
||||||
|
|
Loading…
Reference in New Issue