Commit graph

81 commits

Author SHA1 Message Date
Paul Beckingham
555dc98f5b Tests: Removed redundant FS tests 2018-05-13 20:04:55 -04:00
Paul Beckingham
d0251642bc Tests: Removed redundant utf8 tests 2018-05-13 20:02:56 -04:00
Paul Beckingham
9a63bd5d6f Tests: Removed redundant listt tests 2018-05-13 20:02:03 -04:00
Paul Beckingham
a7900205e5 Tests: Removed redundant format tests 2018-05-13 20:01:45 -04:00
Paul Beckingham
dbb22f506d Tests: Removed JSON tests 2018-05-13 20:01:27 -04:00
Paul Beckingham
db182f4612 Tests: Removed RX tests 2018-05-13 19:59:09 -04:00
Paul Beckingham
4395818e72 CMake: Added snotty comment about CMake bullshit 2018-05-13 19:44:41 -04:00
Paul Beckingham
9b5c0c81a3 Build: Included 'problems' script in build dir
- Thanks to Gordon Ball.
2016-02-06 12:08:31 -05: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
f97e68f1d6 Build: Ensured 'run_all' is present in the test dir
- Thanks to Gordon Ball.
2015-09-19 12:48:32 -04:00
Paul Beckingham
565232eccd Duration: Obsolete, removed 2015-08-12 11:41:15 -04:00
Paul Beckingham
ff53919af1 TW-1543: cmake complains "test" is not a valid target (on arch linux)
- Thanks to Renato Alves.
2015-07-19 17:29:23 -04:00
Paul Beckingham
3619cf219d Test: Added col.t to test Column::measure 2015-07-18 14:11:14 -04:00
Paul Beckingham
6f38d531a1 Test: Removed obsolete 'run_all' processing 2015-06-25 23:39:42 -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
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
8b736934d7 Code Cleanup
- Removed deprecated 'push', 'pull' and 'merge' commands.
2014-01-18 19:12:48 -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
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
fae0e35241 Unit Tests
- Added libexpr Duration unit tests.
2014-01-02 01:09:42 -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
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
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
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
a973ccf8f2 Sync
- When taskwarrior is built without GnuTLS, there will be a message to that
  effect.
- Stubbed the TLSClient calling code.  The current Socket code will become
  obsolete soon.
2013-05-11 13:07:14 -04:00
Paul Beckingham
09f577536a Feature #1250
- #1250 Support out-of-tree test runs (thanks to Jakub Wilk).
2013-04-13 15:02:50 -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
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
Federico Hernandez
31bbc0ea2f Unit testing
- verbose unit testing to help flod tinderbox in displaying the results.
2012-09-11 22:38:40 +02:00
Louis-Claude Canon
3cea8889e3 CMake
- Automatically link taskwarrior executable before launching tests with
  "make test".
2012-06-16 16:08:14 -04:00
Federico Hernandez
25e3453321 Disabled gcov for the time being - cygwin. 2011-09-14 23:17:29 +02:00
Alexei Romanoff
082f7d703e [PATCH] GCOV support added for measuring code test coverage.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-09-12 00:51:20 -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