Commit graph

626 commits

Author SHA1 Message Date
Paul Beckingham
25b8082fbd Diagnostics
- Added diagnostic token dump to 'calc' in debug mode, after token substitution
  so the new tokens can be seen.
- Added unit tests to look for parser syntax errors.
- Added test for '2--3'.
2014-04-06 23:57:15 -04:00
Paul Beckingham
6354bc09ab Bug TW-1295
- TW-1295 test/time.t fails on the last day of the month (thanks to Jakub
          Wilk).
2014-04-05 11:25:20 -04:00
Paul Beckingham
5965a85151 - Bug TW-1296
- TW-1296 make test/run_all exit with non-zero code if a test fail (thanks to
          Jakub Wilk).
2014-04-05 10:39:38 -04:00
Paul Beckingham
065cb2ef01 Bug
- Correct a DST error in date handling.
2014-03-13 21:15:42 -04:00
Renato Alves
39efcf11bd Unit Tests TW-1254
- Added unit tests for TW-1254.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-03-06 16:40:05 -05:00
Renato Alves
08fc7c3978 Remove unecessary import from bug.360 2014-02-27 19:40:02 +00:00
Paul Beckingham
70f5588867 Unit Tests
- Fixed project.t tests that were broken after the projects report was
  truncated.
2014-02-19 23:26:01 -05:00
Renato Alves
3a45a2f639 Unit tests - Migrated bug.360 to python 2014-02-19 23:01:21 -05:00
Renato Alves
3c28566590 Unit tests - version.t now uses BaseTestCase 2014-02-19 23:01:18 -05:00
Renato Alves
74bca0e5bf Unit tests - Add a BaseTestCase which prepares and isolates the environment of each test 2014-02-19 23:01:16 -05:00
Renato Alves
b250ded517 Unit tests - Replace old version.t with the new python based version.py 2014-02-19 23:01:11 -05:00
Renato Alves
5daca69b4b Unit tests - Keep a template as example for the new unittesting framework 2014-02-19 23:01:07 -05:00
Paul Beckingham
1170a43f6b Unit Tests
- Removed name of old module from unit tests.
2014-02-15 13:28:49 -05:00
Paul Beckingham
9eaac5ccd5 Unit Tests
- Typo in test (thanks to Jakub Wilk).
2014-02-13 18:19:38 -05:00
Renato Alves
112d4bfb14 Improvement TW-1255
- #TW-1255 New testing framework (thanks to Renato Alves).

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-02-09 20:10:24 -05:00
Paul Beckingham
00062f4dae Unit Tests
- Added shebang.
2014-02-09 16:18:08 -05:00
Renato Alves
93f0e14073 Initial unittest skeleton using python and TAP 2014-02-02 20:57:36 -05:00
Paul Beckingham
523dce8f32 Code Cleanup
- Standardized headers.
2014-02-01 14:33:37 -05:00
Paul Beckingham
22303e8e1c Portability
- Now uses POSIX mktime instead of timelocal calls.
2014-01-27 17:24:42 -05:00
Paul Beckingham
a95ff5a165 Unit Tests
- Added a Python TAP-compliant module so that unit tests in Python are now
  supported.  Not that there are any, yet.
2014-01-26 14:04:41 -05:00
Paul Beckingham
f729c5ca80 Unit Tests
- Removed color.deprecated.t, which existed only to make sure that
  deprecated color was marked accordingly.  Now that this is removed,
  the test is moot.
2014-01-26 14:03:06 -05:00
Paul Beckingham
885946a24e Unit Tests
- It is not an error to have deprecated variables in a release.  Test was bad.
2014-01-26 13:39:13 -05:00
Paul Beckingham
38c460d713 Feature #1501
- #1501 info report streamlining - partially implemented.
2014-01-26 13:26:07 -05:00
Paul Beckingham
8b736934d7 Code Cleanup
- Removed deprecated 'push', 'pull' and 'merge' commands.
2014-01-18 19:12:48 -05:00
Paul Beckingham
cd6067a39f Merge branch 'master' into 2.4.0 2014-01-15 22:17:30 -05:00
Paul Beckingham
af0b43a6a5 Bug #1479
- #1479 bug_annual.t failure (thanks to Jakub Wilk).
2014-01-08 06:54:03 -05:00
Paul Beckingham
f816725050 Bug #1478
- #1478 pri_sort.t failure (thanks to Jakub Wilk).
2014-01-08 06:47:54 -05:00
Paul Beckingham
9c41610f56 Merge Errors
- Fixed errors from merge mistakes.
2014-01-07 19:23:54 -05:00
Paul Beckingham
98f740e9d1 Merge branch '2.3.0' into 2.4.0
Conflicts:
	AUTHORS
	CMakeLists.txt
	NEWS
	src/A3.cpp
	src/CMakeLists.txt
	src/Config.cpp
	src/Duration.cpp
	src/Duration.h
	src/Nibbler.cpp
	src/Nibbler.h
	src/RX.cpp
	src/RX.h
	src/columns/ColDate.cpp
	src/columns/ColScheduled.cpp
	src/commands/Command.cpp
	src/legacy.cpp
	src/utf8.cpp
	src/utf8.h
	test/CMakeLists.txt
	test/bug.mergedeps.t.postponed
	test/duration.t.cpp
	test/merge.duplicates.t
	test/merge.simple_duplication.t
	test/merge.t
	test/nibbler.t.cpp
	test/roundtrip.t
	test/rx.t.cpp
	test/utf8.t.cpp
2014-01-07 19:10:03 -05:00
Paul Beckingham
ab0d929a3c Dates
- Added support for eom and eocm.
- Added more named date unit tests.
2014-01-06 23:42:02 -05:00
Paul Beckingham
55cc02bbc1 Merge branch '2.4.0' of tasktools.org:task into 2.4.0 2014-01-06 17:55:25 -05:00
Paul Beckingham
09f6160880 Unit Tests
- Updated named dates tests.
2014-01-05 21:23:34 -05:00
Paul Beckingham
76db5a45e1 Unit Tests
- Prevented test descriptions containing '*' from expanding in the shell.
2014-01-05 16:54:31 -05:00
Paul Beckingham
d12aeeca6a Unit Tests
- Migrated missing subtraction unit tests from libexpr.
2014-01-04 11:38:52 -05:00
Paul Beckingham
eb7c8e2365 Unit Tests
- Added calculator bug unit tests.
2014-01-02 01:52:38 -05:00
Paul Beckingham
409c6ddcd8 Unit Tests
- Added calculator tests.
2014-01-02 01:52:06 -05:00
Paul Beckingham
fae592f921 Unit Tests
- Merged libexpr eval tests.
2014-01-02 01:28:41 -05:00
Paul Beckingham
12520715af Unit Tests
- Merged libexpr Variant tests.
- Updated .gitignore.
2014-01-02 01:21:40 -05:00
Paul Beckingham
2b747e2df2 Unit Tests
- Merged libexpr Lexer tests.
- Updated .gitignore.
2014-01-02 01:12:38 -05:00
Paul Beckingham
fae0e35241 Unit Tests
- Added libexpr Duration unit tests.
2014-01-02 01:09:42 -05:00
Paul Beckingham
18f03c25b4 Duration
- Renamed Duration object to OldDuration so that the two implementations can
  coexist in a binary.
2014-01-02 01:06:48 -05:00
Paul Beckingham
9c5adc432c Unit Tests
- Renamed duration.t.cpp to old_duration.t.cpp, ready for the new duration
  tests.
2014-01-02 00:48:55 -05:00
Paul Beckingham
712b0bb4b5 ISO8601
- Merged libexpr ISO8601 code.
2014-01-02 00:45:16 -05:00
Paul Beckingham
4cf0763845 Nibbler
- Merged libexpr changes.
2014-01-02 00:34:51 -05:00
Paul Beckingham
57106c86a9 UTF8
- Merged libexpr changes.
2014-01-02 00:26:23 -05:00
Paul Beckingham
2c2e94bb0f RX
- Merged libexpr changes.
2014-01-02 00:19:41 -05:00
Paul Beckingham
2d4a1e93d9 Unit Tests
- The cal.t tests use an abbreviated 'cal' command, which is no longer unique
  given the new 'calc' command.
2014-01-02 00:13:41 -05:00
Paul Beckingham
d27451590a Duration Rename
- In preparation for a new (different) Duration object, the source files need
  to be renamed.
2014-01-02 00:12:28 -05:00
Paul Beckingham
8ed92ca498 Copyright
- Bumped copyright to 2014, ready for release.
2014-01-01 13:32:22 -05:00
Paul Beckingham
fa7a8389fe Unit Tests
- Corrected output for skipped, pass and fail tests.
2013-12-14 12:55:49 -05:00