Commit graph

1358 commits

Author SHA1 Message Date
Paul Beckingham
a2cae67644 Unit Tests
- Converted filter-prefix.t to Python.  Still needs a rename and possible merge
  with other tests.
2015-03-07 11:11:18 -05:00
Renato Alves
ebd6977480 Tests - merge bug.1044 into project.t and convert to python 2015-03-06 16:44:28 +00:00
Renato Alves
276050ce0b Tests - rename bug.1043.t to completion.t and convert to python 2015-03-06 15:19:04 +00:00
Renato Alves
197815a3a7 Tests - convert bug.1036.t to python 2015-03-06 15:10:07 +00:00
Paul Beckingham
4118fe70ae Unit Test
- Added quotes, which is a reasonable workaround for a misinterpreted argument.
2015-03-05 21:29:38 -05:00
Renato Alves
7fa3c5ac84 Tests - convert bug.1031.t to python 2015-03-04 00:54:40 +00:00
Renato Alves
b5da4acab9 Tests - run_all script now exports TASKD_USE_PATH=1 2015-03-03 01:50:57 +00:00
Renato Alves
180c382de2 Tests - Finer control on which binaries to look for on PATH
* It is now possible to control whether taskw and/or taskd are looked up
on the PATH by setting TASK_USE_PATH/TASKD_USE_PATH to "1"
2015-03-03 01:46:53 +00:00
Renato Alves
23d4e2b3c9 Tests - rename bug.1023.t to feature.default.project.t and convert to python
Also add testcase from TW-1287 and TW-1279 which are part of the same feature
2015-03-03 01:25:45 +00:00
Paul Beckingham
d1f7e44811 Unit Tests
- Removed unit test for a bug that is a deliberate attempt to generate an
  ambiguous command line, to break the parser. The '--' terminator is meant
  to resolve these issues, and we don't need more tests proving that the
  grammar is ambiguous.
2015-03-02 16:44:28 -05:00
Paul Beckingham
a40967a324 Unit Tests
- Fixed project.t errors.
2015-03-02 11:35:19 -05:00
Paul Beckingham
234e4d7308 Unit Tests
- Modified Lexer types to reflect DOM recognition.
2015-03-01 23:55:10 -05:00
Paul Beckingham
7aa55a8a71 Unit Tests
- Corrected test so it doesn't include '--' separator token.
2015-03-01 21:19:16 -05:00
Paul Beckingham
565987a177 Unit Tests
- Corrected token types for '3rd', which is Lexer::Type::word, not
  LExer::Type::identifier.
2015-03-01 21:14:28 -05:00
Paul Beckingham
abe8819f2f Unit Tests
- Restored 'name=value' tests that expect three tokens.
2015-03-01 15:53:24 -05:00
Paul Beckingham
c849cc9bfe Unit Tests
- Added tests with spaces around the operators, for better coverage.
2015-02-28 12:00:36 -05:00
Paul Beckingham
2811b9a571 Unit Tests
- Fixed tests regarding quoted strings coming out of the Lexer.
2015-02-27 00:16:14 -05:00
Paul Beckingham
9dad0c7eb6 Merge branch '2.4.2' into lexer2 2015-02-24 23:14:58 -05:00
Paul Beckingham
ea78200ae3 TW-1549
- TW-1549 task annotate hangs with specific text pattern (thanks to Alexandre
          de Verteuil).
2015-02-24 22:04:05 -05:00
Paul Beckingham
8c6892fed6 Merge branch '2.4.2' into lexer2 2015-02-24 17:03:11 -05:00
Tomas Babej
9748fa2ab1 tests: Fix asserted strings in context tests 2015-02-24 16:51:20 -05:00
Tomas Babej
1a0f479394 CmdContext: Add helpful hint to output when setting context 2015-02-24 16:51:05 -05:00
Paul Beckingham
0548fca88f Merge branch '2.4.2' into lexer2 2015-02-23 20:22:34 -05:00
Tomas Babej
ee23a099f2 CmdContext: Minor style and message changes 2015-02-23 19:21:50 -05:00
Tomas Babej
c2a9bb65e6 tests: Add tests for the context feature 2015-02-23 19:20:00 -05:00
Tomas Babej
75cf742a55 tests: Add taskrc_content property 2015-02-23 19:19:55 -05:00
Paul Beckingham
26aff348d2 Lexer
- Replaced old digitsOnly() function with Lexer::isAllDigits.
2015-02-22 20:23:00 -05:00
Paul Beckingham
9f82926c65 Text
- Removed obsolete noSpaces() function.
2015-02-22 18:27:19 -05:00
Paul Beckingham
745aad0d27 Lexer
- Renamed Lexer2 to Lexer, it looks good enough to assume control.
2015-02-22 18:23:03 -05:00
Paul Beckingham
e1c0d5b130 Merge branch '2.4.2' into lexer2 2015-02-22 15:26:22 -05:00
Paul Beckingham
0cf18f3b16 Lexer2
- Integrated Lexer2 in place of Lexer. Tests fail.
2015-02-22 13:52:14 -05:00
Renato Alves
d37937d970 Tests - add total number of tests to conversion script 2015-02-19 14:11:19 +00:00
Renato Alves
51e947064f Tests - merge args.[2-5].t with enpassant.t and convert to python 2015-02-19 13:38:27 +00:00
Renato Alves
606a7505d3 Tests - convert args.5.t to python 2015-02-19 13:02:46 +00:00
Renato Alves
846dd14a9f Tests - convert args.4.t to python 2015-02-19 12:56:19 +00:00
Renato Alves
d8f436cca9 Tests - convert args.3.t to python 2015-02-19 12:54:45 +00:00
Renato Alves
ac9c726782 Tests - convert args.2.t to python 2015-02-19 12:50:40 +00:00
Renato Alves
4c491d8a0d Tests - convert args.1.t to python 2015-02-18 19:54:45 +00:00
Renato Alves
917a152a1e Tests - convert args.t to python 2015-02-18 19:32:58 +00:00
Renato Alves
289e45499a Tests - convert append.t to python 2015-02-18 16:26:59 +00:00
Renato Alves
2efb9594d9 Tests - convert annotate.t to python 2015-02-18 14:05:53 +00:00
Paul Beckingham
cc1c063925 Merge branch '2.4.2' of ssh://git.tasktools.org/tm/task into 2.4.2 2015-02-17 18:46:41 -05:00
Paul Beckingham
c11601e30e Cleanup
- Removed unused Nibbler::getHex.
2015-02-17 10:58:45 -05:00
Paul Beckingham
520067f522 Cleanup
- Eliminated text.cpp upperCase(), as it was not UTF8-safe, and is no longer
  used.
2015-02-17 10:44:31 -05:00
Renato Alves
fa249bfedd Tests - Convert alias.t to python 2015-02-17 13:46:00 +00:00
Renato Alves
d211969236 Tests - clarify that USE_PATH alone is not enough. 2015-02-17 13:37:39 +00:00
Renato Alves
bd320b6729 Tests - Remove commented code 2015-02-17 12:24:13 +00:00
Renato Alves
3f004f547e Tests - Don't hang if spawning taskw fails 2015-02-17 12:24:13 +00:00
Renato Alves
9180aa6e33 Tests - minor formatting changes 2015-02-16 15:37:31 +00:00
Renato Alves
32d837fb25 Tests - Convert add.t to python
* Also added UUID_regex to basetest.utils, likely to be reused
2015-02-16 15:36:38 +00:00