Thomas Lauf
b7cc9f2443
Make test use dynamic test data
...
- Fix test description
2019-01-20 23:12:49 +01:00
Thomas Lauf
02f05eec55
Fix filemode, faketime call
2019-01-20 23:10:17 +01:00
Thomas Lauf
68549dc22d
Add a timemachine tool script
...
- Wrapper around faketime
- Provides an interface to run tests at specific points in time
2019-01-19 10:32:00 +01:00
Thomas Lauf
42acf839d9
Add descriptions to interval assertions
2019-01-19 10:32:00 +01:00
Thomas Lauf
6958c3a7f8
Create test data depending on the point in time the test runs
2019-01-19 10:32:00 +01:00
Thomas Lauf
c2546bacd8
Fix package name in pip install command
2019-01-13 23:34:18 +01:00
Thomas Lauf
b3f838aa65
Install dateutil via pip
2019-01-13 23:20:49 +01:00
Thomas Lauf
bb0539468a
Setting environment variable via ENV
2019-01-13 23:17:24 +01:00
Thomas Lauf
368be8397e
Remove comment
2019-01-13 22:19:40 +01:00
Thomas Lauf
50b15463bb
Set timezone to Europe/Berlin via TZ environment variable
2019-01-13 22:07:53 +01:00
Thomas Lauf
65453fcf98
Install python-dateutil and set timezone on fedora 29
2019-01-07 22:16:09 +01:00
Thomas Lauf
595ec2ea8a
Set timezone on fedora 28
2019-01-07 22:08:11 +01:00
Thomas Lauf
fc42580bbd
Set timezone on openSUSE
2019-01-07 22:07:28 +01:00
Thomas Lauf
bdbb766a53
Add check for timedatectl on fedora 28
2019-01-07 21:53:51 +01:00
Thomas Lauf
7d50ba925f
Install python-dateutil on centOS 7
2019-01-07 21:50:42 +01:00
Thomas Lauf
f6ac47d222
Install python-dateutil on openSUSE
2019-01-07 21:48:13 +01:00
Thomas Lauf
8e61ab830d
Run timedatectl to debug container
2019-01-07 21:34:34 +01:00
Thomas Lauf
f843b6e732
Add sleep to fix clock test
2019-01-07 21:33:05 +01:00
Thomas Lauf
0199f2db7d
Explicitly set timezone to Europe/Berlin on fedora 28
2019-01-07 21:11:40 +01:00
Thomas Lauf
092003f4cb
Add missing 'yes' option
2019-01-07 20:45:12 +01:00
Thomas Lauf
f44840b131
Install python-dateutil on fedora 28
2019-01-07 20:38:37 +01:00
Thomas Lauf
2418d6f51a
Apply ubuntu-fix to debian
2019-01-07 07:01:08 +01:00
Thomas Lauf
ba18e10326
Fix install of tzdata and configure timezone for ubuntu 18.04
2019-01-07 06:56:24 +01:00
Thomas Lauf
62dd70f999
Set timezone to Europe/Berlin
...
- Necessary as export.t fails on timezone Etc/UTC (needs to be investigated!)
2019-01-07 06:42:57 +01:00
Thomas Lauf
5a73150b6e
Remove explicit setting of timezone
...
- Seems not necessary, default timezone UTC should suffice
2019-01-06 23:03:37 +01:00
Thomas Lauf
d11a73d1d7
Try to fix install of tzdata
2019-01-06 22:54:36 +01:00
Thomas Lauf
a5ae4d03cc
Move install of python-dateutil to ubuntu docker-config
2019-01-06 22:25:40 +01:00
Tomas Babej
92a8029598
tests: Fix version printout
2019-01-06 21:03:43 +01:00
Tomas Babej
d12922d345
tests: Remove stale submodule directory gtest-tap-listener
2019-01-06 21:03:43 +01:00
Tomas Babej
8252dfc306
tests: Remove stale 'googletest' submodule
2019-01-06 21:03:43 +01:00
Tomas Babej
bdb98553fb
tests: Implement Travis-based Multi-OS CI service
...
This commit implements (after the example of taskwarrior) a Travis-based
multi-OS continuous integration service, that tests on a variety of
Linux-based hosts and Mac OS X.
2019-01-06 21:03:43 +01:00
Thomas Lauf
2e7ed5076a
Add TagInfoDatabase.t to .gitignore
2018-12-07 14:02:03 +01:00
Thomas Lauf
2026296bf5
Update AUTHORS, ChangeLog
...
- Fix copyright dates
2018-12-06 21:08:30 +01:00
Thomas Lauf
9598f01fcf
Remove accidentially added files from repository
2018-12-06 13:36:17 +01:00
Shaun Ruffell
ceca4c817e
#131 : Introduce 'modify' to adjust historical records to fixed date/time.
...
This change introduces a new command that, like lengthen, move, resize, and
shorten, is intended to move and/or resize a record, but instead of taking an
interval, will take an absolute date/time.
This command is useful because it removes the need for the user to calculate
the time intervals to shorten / lengthen a record by. For example, if the user
accidentally forgot to stop tracking an interval before starting a new one,
but new they stopped working at a specific time, it is easy to simply modify
the end time of the interval that they had forgotten to stop.
2018-11-30 22:27:08 +01:00
Thomas Lauf
c598f2bd66
Add lower bounds check for DOM tag reference
...
- Closes #189
2018-11-25 12:24:30 +01:00
Thomas Lauf
067a475614
libshared: Updated to 230c63bd385b2a5a6ee5eb431df54b0c5c229b4d
...
- Closes #139
2018-11-04 19:25:03 +01:00
Thomas Lauf
81bfbf4ae8
Add quotes to expected annotations in interval.t
2018-10-18 08:20:35 +02:00
Thomas Lauf
481a445a86
Add test for undoing 'timew annotate'
2018-10-12 08:01:13 +02:00
Thomas Lauf
0e43feed3c
Add tests for 'timew annotate'
2018-10-10 20:42:01 +02:00
Thomas Lauf
0077768843
Add annotations to intervals
2018-10-08 21:42:25 +02:00
Thomas Lauf
b64f6f7568
Add round-trip tests
2018-10-08 21:42:25 +02:00
Thomas Lauf
1a24c49507
Extract creation of intervals into IntervalFactory
2018-10-08 21:42:25 +02:00
Thomas Lauf
c0039b6ff5
Add convenience method to set range with two dates
2018-09-19 06:32:56 +02:00
Thomas Lauf
9dd106116c
Let Interval inherit from Range
...
- Remove 1 level of indirection
- Remove public field Interval::range (instead use interval directly)
2018-09-19 06:32:56 +02:00
Thomas Lauf
9e1e604108
Rename Range::overlap to Range::overlaps
2018-09-18 21:06:33 +02:00
Thomas Lauf
2f7e247859
Add tests for intervals enclosing month borders
2018-09-18 21:06:33 +02:00
Janik Rabe
fef522c53d
Fix getTracked() when last interval is empty
2018-09-18 21:06:05 +02:00
Janik Rabe
4e08bcca4d
#165 : Add test for empty intervals at midnight
2018-09-18 21:04:09 +02:00
Janik Rabe
2976e43136
#101 : Add test for full-month intervals
2018-09-18 21:04:09 +02:00