Commit graph

64 commits

Author SHA1 Message Date
Paul Beckingham
fc58d1e14d Tests: Added first DOM test 2017-04-29 11:10:43 -04:00
Paul Beckingham
111e36ed8c Tests: Named date tests migrated to libshared 2017-03-05 15:03:14 -05:00
Paul Beckingham
2912df58fb Tests: Removed unused Nibbler tests 2017-03-04 22:21:07 -05:00
Paul Beckingham
3a7e3b8836 Tests: Eliminated ISO8601d tests 2017-03-04 22:16:36 -05:00
Paul Beckingham
7647a089d0 Tests: Eliminated ISO8601p tests 2017-03-04 21:49:38 -05:00
Paul Beckingham
dd4fef6794 Config: Migrated to libshared Configuration 2017-02-26 10:46:51 -05:00
Paul Beckingham
7e09dd9457 Color: Now uses libshared 2017-01-25 22:26:33 -05:00
Paul Beckingham
f6ae39cb82 Msg: Migrated to use libshared 2016-12-11 20:33:13 -05:00
Paul Beckingham
eb1e35e84b Tests: Eliminated empty text.t test 2016-12-11 17:40:40 -05:00
Paul Beckingham
b38eae6930 Tests: Removed migrated autoComplete tests 2016-12-07 01:18:25 -05:00
Paul Beckingham
62d2514425 Tests: Removed redundant FS tests 2016-06-26 09:21:55 -04:00
Paul Beckingham
fb3563bf65 Tests: Removed redundant utf8 tests 2016-06-25 17:54:18 -04:00
Paul Beckingham
446580d8dd Tests: Removed redundant listt tests 2016-06-25 17:50:14 -04:00
Paul Beckingham
058f9ab218 Tests: Removed redundant format tests 2016-06-25 17:48:21 -04:00
Paul Beckingham
59f4475466 Tests: Removed JSON tests 2016-06-25 17:42:59 -04:00
Paul Beckingham
806043f0ad Tests: Removed RX tests 2016-06-25 17:23:15 -04:00
Paul Beckingham
acca829aed Test: Merged t3.t.cpp into t.t.cpp 2015-10-23 10:19:17 -04:00
Paul Beckingham
bb58b796fd Task Data Parsing
- Improved the handling when parsing blank lines and empty task in the data, so
  that instead of the message:

    Taskwarrior no longer supports file format 1, originally used between 27
    November 2006 and 31 December 2007.

  We now see:

    Unrecognized Taskwarrior file format or blank line in data.

- Merged t2.t.cpp into t.t.cpp.
2015-10-23 10:13:38 -04:00
Paul Beckingham
799e62051f Test: Removed Date 2015-10-05 09:54:54 -04:00
Paul Beckingham
565232eccd Duration: Obsolete, removed 2015-08-12 11:41:15 -04:00
Paul Beckingham
3619cf219d Test: Added col.t to test Column::measure 2015-07-18 14:11:14 -04:00
Renato Alves
03847ab8ba Test: run_all is now in Python and defaults to parallelizing tests
In addition to the conversion to Python, run_all now defaults to running
all Python tests in parallel, using the same approach previously
available via '--fast'. If desired one can force all tests to run
serially by calling run_all with --serial

A debugging flag was now also included in run_all.  Pass one or more -l
(-l, -ll or -lll) for different levels of debugging information.
2015-06-25 23:36:28 +01:00
Paul Beckingham
afa39de68b Tests: Combined and converted DOM unit tests
- Eliminated dom.t.cpp and therefore dom.t
- Eliminated dom.2.t (perl)
- Created dom.t (python) combining the above
2015-06-14 22:15:33 -04:00
Paul Beckingham
3e043291f0 Cleanup: Combined File, Path and Directory into FS
- The three objects are related and always travel together, so they are now
  combined.
2015-05-25 10:11:41 -04:00
Wilhelm Schuermann
3a7af017f8 Tests: Make "run_all --fast" even faster
- Run isolated tests in the background, bringing the time for running
  "run_all" down to the time it takes to run the old tests.
2015-05-07 11:41:05 +02:00
Wilhelm Schuermann
5fee3ef27c Tests: Clean up after "run_all --fast" 2015-05-06 20:56:35 +02:00
Paul Beckingham
70c3d9845c Unіt Tests
- Merged width.t.cpp into utf8.t.cpp.
2015-03-07 11:59:37 -05:00
Paul Beckingham
6d75045658 Tree
- Eliminated Tree object from the repository.
2014-11-02 22:30:21 -05:00
Paul Beckingham
f585f31d69 OldDuration
- Removed obsolete OldDuration object, replaced by Duration.
2014-05-28 23:59:16 -04:00
Paul Beckingham
c9f6a4b9df Unit Tests
- Added Variant::operator_partial unit tests, based initially on
  ::operator==.
2014-05-19 20:15:32 -04: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
09f6160880 Unit Tests
- Updated named dates tests.
2014-01-05 21:23:34 -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
8f9a48c3ff Unit Tests
- Added Tree object unit tests.
2013-08-31 19:01:51 -04:00
Paul Beckingham
b408458439 Import
- The import command now uses the built-in Task::parseJSON method.
- Began t3.t.cpp for JSON parsing tests.
2013-05-20 16:31:57 -04:00
Paul Beckingham
8af0a7f3ba Merge branch 'master' into 2.3.0
Conflicts:
	AUTHORS
	CMakeLists.txt
	INSTALL
	NEWS
	cmake.h.in
	doc/man/task-faq.5.in
	package-config/osx/README
	scripts/utils/verify_l10n
	src/API.h
	src/Config.cpp
	src/Context.cpp
	src/DOM.cpp
	src/Hooks.cpp
	src/TransportShell.h
	src/commands/CmdDiagnostics.cpp
	src/commands/CmdShell.cpp
	src/commands/CmdVersion.cpp
	src/en-US.h
	src/shell/Readline.h
	src/wcwidth6.cpp
	test/CMakeLists.txt
	test/color.uda.t
	test/duration.t.cpp
	test/hook.on-launch.t
	test/template.t
	test/uuid.t
2013-04-07 17:56:59 -04:00
Paul Beckingham
61fdc0da52 Unit Tests
- Updated test class to conform to coding standards.
- Implemented TAP.py to allow Python unit tests.
2013-04-07 00:09:16 -04:00
Paul Beckingham
fcf9ba983c Unit Tests
- Added unit tests for specific character width calculations.
2013-03-02 10:47:43 -05:00
Paul Beckingham
01e589a172 I18N
- One does not simply std::string::substr a UTF8 string, like a bloody caveman.
  Implemented utf8_substr, and added unit tests.
2013-01-16 18:36:54 -05:00
Paul Beckingham
ce2f7054f7 Messaging
- Migrated taskd messaging code over, for client-side communications.
2012-10-06 09:03:27 -04:00
Federico Hernandez
112d0d8771 Unit tests
- portability to help flod
2012-09-12 00:00:54 +02:00
Paul Beckingham
a3cb1172a1 Code Cleanup
- The .gitignore file listed old junk.
2011-09-05 09:34:01 -04:00
Paul Beckingham
402ac5b418 Code Cleanup
- Removed .gitignore entries for obsolete tests.
2011-09-05 02:10:18 -04:00
Paul Beckingham
f245fa808c Code Cleanup
- Removed obsolete TDB, Att and Location code.
- Removed associated unit tests, unfortunately all ones that pass.
2011-09-03 13:17:03 -04:00
Paul Beckingham
dab06f8672 Code Cleanup
- All objects now use the same convention for naming members.  The
  consistency is a good thing.
2011-08-25 21:54:28 -04:00
Paul Beckingham
85e77c1958 Code Cleanup
- Merging Record and Task objects, step 5.  Done.
2011-08-07 17:06:06 -04:00
Paul Beckingham
d83b2d5e36 Expressions
- Implemented an operator lookup table with type, associativity and
  precedence.
- Implemented Expression::to_postfix that generates a postfix
  expression list using a Dijkstra Shunt.
2011-06-07 00:25:21 -04:00
Paul Beckingham
306f10b420 Command Line Parsing
- Implemented Arguments::extract_command to locate the command
  keyword in an argument list.
- Implemented Arguments::extract_sequence to locate and remove an ID
  sequence from an argument list.
- Added unit test for extract_sequence.
- Stubbed all Argument::extract_<object> methods.
- Simplified code in (soon to be obsolete) Sequence.cpp.
2011-05-28 12:09:25 -04:00