Commit graph

1248 commits

Author SHA1 Message Date
Paul Beckingham
44f2c0c98c Unit Tests
- Added JSON test which includes spaces.
2015-01-19 18:09:54 -05:00
Renato Alves
67cb30fdce Unittest - default to taskd.trust="ignore hostname"
* The currently available taskd testing certificates fail if
taskd.trust is set to strict. See also: TW-1519
2015-01-19 15:07:06 +00:00
Renato Alves
d68fa7ea8a Unittest - Template updated to include hook test examples 2015-01-19 14:58:06 +00:00
Renato Alves
db78851b40 Unittest - Hook testing, fixed a few mistakes 2015-01-19 14:54:11 +00:00
Tomas Babej
5a3037f257 Tests: Fix error in export.t and add test for urgency 2015-01-12 15:38:44 -05:00
Paul Beckingham
adf9f25289 Unit Tests
- Removed failing tests, as there is no plan to address all these now.
2015-01-07 23:43:11 -05:00
Tomas Babej
235e4ef047 Tests: Add negative tests for parsing time 2015-01-07 17:14:49 -05:00
Tomas Babej
1dbb0a57a8 Tests: Add negative tests for parsing dates 2015-01-06 19:14:04 -05:00
Paul Beckingham
5a7117630e Unit Tests
- Typo.
2015-01-05 20:04:26 -05:00
Paul Beckingham
e9f9f6a86e Unit Tests
- Added copyright and removed whitespace at EOL.
2015-01-05 19:52:17 -05:00
Tomas Babej
8ea1563944 Tests: Add basic coverage for the types of attributes in the export command 2015-01-05 19:48:52 -05:00
Wilhelm Schuermann
e522c1980a TW-1424
- Fixed tw-1424.t (mostly).
2015-01-05 06:53:51 -05:00
Paul Beckingham
a3b0d5c6a6 Unit Tests
- Added copyright to tests that were missing it.
2015-01-04 10:55:01 -05:00
Paul Beckingham
d1664b3f55 Unit Tests
- Re-enabled bug.982.t and fixed the regex so it is right. This test was created
  for a parsing bug which is now fixed.
2015-01-04 10:40:21 -05:00
Paul Beckingham
1cac14f3f8 Unit Tests
- This disabled test is verifying 'Total Active Time' functionality that has
  itself been removed.
2015-01-04 10:35:57 -05:00
Paul Beckingham
507e2d5807 Unit Tests
- Added copyright, fixed test name.
2015-01-04 10:30:10 -05:00
Tomas Babej
c664d62c2f Tests: Add coverage for TW-1452 2015-01-04 10:23:38 -05:00
Tomas Babej
2a782b8f01 Tests: Add coverage for TW-1481 2015-01-03 20:21:46 -05:00
Paul Beckingham
3c07510a43 Unit Tests
- Added copyright to template.
2015-01-03 20:20:30 -05:00
Paul Beckingham
dad0ac0c27 TW-1486
- TW-1486 task wait shows completed tasks which has a wait attribute (thanks to
          Sujeevan Vijayakumaran).
2015-01-03 09:31:54 -05:00
Paul Beckingham
2c986d6e6b Unit Tests
- Fixed typo in comment.
2015-01-03 09:24:07 -05:00
Paul Beckingham
09252c617f Unit Tests
- Commented naive tests that fail on 2015-01-01.
2015-01-01 17:35:05 -05:00
Paul Beckingham
52479f560f Unit tests
- Commented tests that are performing naive date math, which breaks on
  2015-01-01, among other dates.
2015-01-01 17:32:31 -05:00
Paul Beckingham
b7ad091d00 Updated copyright to 2015 2015-01-01 00:00:41 -05:00
Paul Beckingham
8de2a1030e Eval
- Reduced the verbosity of Eval under rc.debug.parser=3, improving readability.
- Updated unit tests regarding modified debug output.
2014-12-28 12:48:16 -05:00
Paul Beckingham
fe2f5de230 Unit Tests
- Added _neg_ unit tests for integer, real and duration.
2014-12-28 10:04:20 -05:00
Paul Beckingham
0f780bcfae Unit Tests
- Removed Variant definitions of unused EPSILON values.
2014-12-28 09:27:31 -05:00
Paul Beckingham
8795b0a692 TW-1447
- TW-1447 Not possible to filter on a UDA of type String (thanks to atomicules).
2014-12-25 17:18:44 -05:00
Paul Beckingham
143fb60d15 Unit Tests
- Refactored, now cleaner.
2014-12-25 16:32:20 -05:00
Paul Beckingham
44eae76188 Unit Tests
- Implemented proper Test::More skipping.
2014-12-25 16:29:16 -05:00
Paul Beckingham
db9b17bcb2 Unit Tests
- Skipped regex case-insensitive tests on Cygwin.  Doesn't work.
2014-12-25 16:19:21 -05:00
Paul Beckingham
41473252bf Unit Tests
- Skip regex, case-insensitive tests on Cygwin.  Because it doesn't work.
2014-12-25 16:03:11 -05:00
Paul Beckingham
5a81fda835 Unit Tests
- Made test more portable.
2014-12-25 15:57:06 -05:00
Paul Beckingham
8e31ae2075 TW-1445
- TW-1445 Aliases broken: cannot contain multiple arguments anymore (thanks to
          Johannes Schlatow).
2014-12-25 15:24:58 -05:00
Paul Beckingham
84dc7dd245 TW-1423
- TW-1423 Using the date February 29th, in a non leap year does not fail well
          (thanks to Black Ops Testing).
2014-12-24 09:03:49 -05:00
Paul Beckingham
632fca4c9a Unit Tests
- Explicitly set colors so that tests are not dependent on current defaults.
2014-12-24 00:11:16 -05:00
Paul Beckingham
eb7b55ceef Unit Tests
- Explicitly set colors so that tests are not dependent on current defaults.
2014-12-23 23:57:14 -05:00
Paul Beckingham
7e8c277bb7 Unit Tests
- Added explicit rc.rule.precedence.color to make the test independent of the
  current defaults.
2014-12-23 23:51:37 -05:00
Paul Beckingham
8228c8bf83 Unit Tests
- Added unit tests for tw-1469.t, to verify behavior on suported platforms.
2014-12-14 11:02:36 -05:00
Paul Beckingham
9349d5808c Unit Tests
- Modified test so that it passes, which is a temporary measure. The problem is
  unfixed, but there is a workaround.
2014-11-29 16:38:35 -05:00
Paul Beckingham
206323dd6a TW-1468
- TW-1468 Filtering for project and description has issues (thanks to Richard
          Boß).
2014-11-28 12:24:51 -05:00
Paul Beckingham
7ca40db738 Unit Tests
- Corrected escaping for a test, where '+' does not need to be escaped when
  added in a description, or when scanning output with '+ in string', but does
  need to be escaped when it is part of a regular expression, because it has
  regex semantics.
2014-11-22 14:03:30 -05:00
Paul Beckingham
06319711f1 Quoting
- Removed automatic dequoting by the Lexer.
- Implemented Lexer::dequote for manual control.
- Variant dequotes string values when appropriate.
- Fixed some unit tests that became wrong.
2014-11-18 00:59:52 -05:00
Paul Beckingham
65ca1ab84d Unit Tests
- Removed './' from relative paths, which seems to make a difference to FreeBSD.
2014-11-10 21:41:57 -05:00
Paul Beckingham
ba9043e6a7 Unit Tests
- Removed debugging output from test - that was not helping.
- Added more basic tests because FreeBSD is misbehaving.
2014-11-10 21:04:22 -05:00
Paul Beckingham
9936157704 TW01438
- TW-1438 Configuration setting rc.confirmation=no no longer disables
          confirmation requests (thanks to Adam Coddington).
2014-11-10 20:05:28 -05:00
Renato Alves
ff9b8217e2 Unittest - let vramsteg count non-executable tests
Currently harmless as there's only 1 non-executable test
2014-11-10 12:00:21 +00:00
Renato Alves
1a4774a2d8 Revert "Unittest - TOTAL tests shouldn't include non-executable tests"
TESTBLOB can have multiple arguments. Doesn't work with find.

This reverts commit 3dfbed6e4c.
2014-11-10 11:56:16 +00:00
Renato Alves
3dfbed6e4c Unittest - TOTAL tests shouldn't include non-executable tests 2014-11-10 11:40:48 +00:00
Renato Alves
94cd3df675 Unittest - Also check for execute bit if not running in verbose mode 2014-11-10 11:40:18 +00:00