Skip to content

Commit

Permalink
Tests: Update/fix results
Browse files Browse the repository at this point in the history
For recent changes (e.g. :auto-parent doesn't include the priority
cookie anymore).  Also, use :skip-lines in two more relevant tests.
  • Loading branch information
alphapapa committed Sep 16, 2024
1 parent d0954b8 commit c07e354
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 23 deletions.
39 changes: 16 additions & 23 deletions test/results.el
Original file line number Diff line number Diff line change
Expand Up @@ -278,27 +278,27 @@ Wednesday 5 July 2017
test: Scheduled: TODO Shop for groceries :food:shopping:@town:
test: Deadline: CHECK /r/emacs :website:Emacs:
Test data
test: 18:00...... Scheduled: TODO Order a pizza :food:dinner:
ambition: In 10 d.: TODO [#A] Take over the universe :universe:ambition:
test: In 27 d.: TODO [#A] Spaceship lease :bills:spaceship:
test: Scheduled: TODO [#B] Fix flux capacitor :spaceship:shopping:@computer:
test: In 16 d.: TODO [#B] Internet :bills:
test: Scheduled: TODO [#C] Get haircut :personal:@town:
Take over Mars
ambition: In 77 d.: TODO Visit Mars :universe:ambition::space:travel:planet:
Take over the moon
ambition: In 53 d.: WAITING Visit the moon :universe:ambition::space:travel:
[#A] Take over the universe
Take over the universe
ambition: In 2 d.: TODO [#A] Take over the world :universe:ambition::world:
ambition: In 5 d.: TODO [#B] Renew membership in supervillain club :universe:ambition::
ambition: TODO Practice leaping tall ! :universe:ambition::personal:
[#A] Take over the world
Take over the world
ambition: Sched. 1x: TODO [#A] Skype with president of Antarctica :universe:ambition:world::meetings:
[#B] Take over Mars
ambition: In 77 d.: TODO Visit Mars :universe:ambition::space:travel:planet:
[#C] Take over the moon
ambition: In 53 d.: WAITING Visit the moon :universe:ambition::space:travel:
Test data
test: 18:00...... Scheduled: TODO Order a pizza :food:dinner:
ambition: In 10 d.: TODO [#A] Take over the universe :universe:ambition:
test: In 27 d.: TODO [#A] Spaceship lease :bills:spaceship:
test: Scheduled: TODO [#B] Fix flux capacitor :spaceship:shopping:@computer:
test: In 16 d.: TODO [#B] Internet :bills:
test: Scheduled: TODO [#C] Get haircut :personal:@town:
Other items
8:00...... ----------------
Expand Down Expand Up @@ -444,10 +444,7 @@ Wednesday 5 July 2017
Scheduled earlier
ambition: Sched. 1x: TODO [#A] Skype with president of Antarctica :universe:ambition:world::meetings:
" "5db2acc8c5a09927fa8b6246b9480d69" "Headlines with TAGS match: Emacs
Press ‘C-u r’ to search again
SOMEDAY items
" "5db2acc8c5a09927fa8b6246b9480d69" " SOMEDAY items
ideas: SOMEDAY Rewrite Emacs in Common Lisp :Emacs:elisp:computers:software:programming:
Other items
Expand Down Expand Up @@ -700,11 +697,7 @@ Wednesday 5 July 2017
ideas: Scheduled: SOMEDAY Rewrite Emacs in Common Lisp :Emacs:elisp:computers:software:programming:
test: Scheduled: TODO [#C] Get haircut :personal:@town:
ambition: TODO Practice leaping tall ! :universe:ambition::personal:
" "ee86c7d11d20c4894e7956db5efce309" "Global list of TODO items of type: ALL
Press ‘N r’ (e.g. ‘0 r’) to search again: (0)[ALL] (1)CANCELED (2)DONE (3)CHECK (4)MAYBE (5)SOMEDAY (6)WAITING (7)UNDERWAY
(8)IN-PROGRESS (9)STARTED (10)NEXT (11)TODAY (12)TODO
Items without deadlines
" "ee86c7d11d20c4894e7956db5efce309" " Items without deadlines
ambition: TODO [#A] Skype with president of Antarctica :universe:ambition:world::meetings:
ambition: TODO [#B] Take over Mars :universe:ambition::
ambition: TODO Practice leaping tall buildings in a single bound :universe:ambition::personal:
Expand Down
2 changes: 2 additions & 0 deletions test/test.el
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,7 @@ already loaded."

(ert-deftest org-super-agenda-test--someday-tags-view-Emacs ()
(should (org-super-agenda-test--run
:skip-lines 3
:groups '((:todo "SOMEDAY"))
:body (org-tags-view nil "Emacs"))))

Expand Down Expand Up @@ -702,6 +703,7 @@ already loaded."
;; DONE: Works. I don't remember why I have this one using
;; `org-todo-list', but I'll leave it.
(should (org-super-agenda-test--run
:skip-lines 4
:groups '((:deadline nil))
:body (org-todo-list))))
(ert-deftest org-super-agenda-test--:deadline-nil-agenda ()
Expand Down

0 comments on commit c07e354

Please sign in to comment.