From 82e0967b9febe0c57cb12840e2b05434ca7c3a0e Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 16 Feb 2019 19:47:14 +0100 Subject: [PATCH] [Timeline] Some basic structure in tests --- site-lisp/timeline-tools-test.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/site-lisp/timeline-tools-test.el b/site-lisp/timeline-tools-test.el index 0f57156..5f29684 100644 --- a/site-lisp/timeline-tools-test.el +++ b/site-lisp/timeline-tools-test.el @@ -6,7 +6,7 @@ (require 'timeline-tools) (require 'cl-lib) -;; + ;; Basic parsing tests (ert-deftest timeline-tools-test-parse-clocklines-1 () "Test `timeline-tools-clocklines-in-range’ with simple setup." @@ -101,6 +101,10 @@ CLOCK: [2018-01-08 Mon 16:00]--[2018-01-08 Mon 16:15] => 0:15 ((1515334380.0 . 1515338220.0) (1515423600.0 . 1515424500.0))))))) + + +;; Conflict resolution tests + (ert-deftest timeline-tools-test-clockline-no-conflict-1 () "Test `timeline-tools-clockline-no-conflict’ with complex example." (with-temp-buffer @@ -135,3 +139,5 @@ CLOCK: [2018-01-11 Thu 13:33]--[2018-01-12 Fri 14:00] => 24:27 :LOGBOOK: :END: ")))) + +;; XXX: timeline-tools-add-clockline-to-marker (including updating current clock)