Commit graph

865 commits

Author SHA1 Message Date
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
Paul Beckingham
69933626aa Unit Tests
- Corrected test output for skipped, pass and fail tests.
2013-12-14 12:54:47 -05:00
Paul Beckingham
efae57d56b Merge from libexpr
- Incorporated Nibbler changes from libexpr.
2013-12-08 16:19:38 -05:00
Paul Beckingham
f18390ee79 Unit Tests
- Finally fixed an age-old bug in unit tests.  The bug was that whenever a test
  output contained '*', shell globbing expanded that to a list of all test
  files.  Even though it was simply diagnostic output text.
2013-11-18 17:11:19 -05:00
Paul Beckingham
d9d7affec0 Unit Tests
- OpenBSD has the same limitations as other BSD variants, with respect to regex
  \b support.
2013-10-31 19:17:45 -04:00
Paul Beckingham
2cbae3fb9c Deprecated Feature Removal
- Removed deprecated 'echo.command' setting, in favor of the 'header' and
  'affected' verbosity tokens.
2013-10-20 14:40:57 -04:00
Paul Beckingham
49c07acb05 Linkage
- More build system cleanup and sync betweee 2.4 and 2.3.
2013-10-20 14:20:46 -04:00
Paul Beckingham
02aaba2f1a Linkage
- Removing last remnants of parser lib.
2013-10-19 23:27:49 -04:00
Paul Beckingham
d27bd24355 Code Reorganization
- Eliminated the parser lib, merged into task.  Failed experiment.
2013-10-19 22:33:16 -04:00
Paul Beckingham
069a707e92 Reports
- New 'newest' report.
2013-10-19 20:54:04 -04:00
Paul Beckingham
ad98552a3b Reports
- New 'oldest' report.
2013-10-19 20:50:01 -04:00
Paul Beckingham
09fce4df46 Reports
- New 'ls' report.
2013-10-19 20:38:09 -04:00