Commit Graph
33 Commits
Author SHA1 Message Date
Kenneth Skovhede a0368d5f30 Added support for reporting backend size when --no-backend-verification is supplied.
This fixes #1723
2016-09-23 13:46:42 +02:00
Kenneth Skovhede 8d6d88c740 Fixed options in unittest. 2016-09-23 13:45:51 +02:00
Kenneth Skovhede 0c68daff6c Fixed all whitespace to be 4 spaces instead of tabs 2016-09-15 11:39:27 +02:00
Kenneth Skovhede ec193a7a58 Added unittest categories 2016-06-29 23:00:37 +02:00
Kenneth Skovhede d2e01d11b1 Added unittests that tests for setups with no index files, and partial index files. 2016-05-02 20:33:34 +02:00
Kenneth Skovhede 785c4d325f Reverted changes to solution file so it again forces Windows linefeeds.
This also moved stuff around in some project files.
2016-04-13 00:36:22 +02:00
Kenneth Skovhede 69929e5949 Added option to set the base folder for unittests from an environment variable 2016-04-07 01:51:05 +02:00
Kenneth Skovhede df58a97e15 Improved debug-ability for unittests by not deleting the database, but instead creating a new side-by-side database. 2016-04-06 20:42:52 +02:00
Kenneth Skovhede e2e645a6a0 Added option to set the base folder for unittests from an environment variable 2016-04-06 20:42:12 +02:00
Kenneth Skovhede 8b448408b3 Cleaned up the border-tests and added a check for restore.
The mixed-hash tests fail the restore for files smaller than blocksize, so they are commented out, but should be fixed soon.
2016-04-02 21:54:46 +02:00
Kenneth Skovhede 406ecdd336 Added restore check to unittest 2016-04-01 00:15:56 +02:00
Kenneth Skovhede 450ee501fd Expanded border tests with additional edge cases 2016-03-31 20:28:08 +02:00
Kenneth Skovhede 6e1a0d3df5 Fixed applying the overrides 2016-03-31 20:15:21 +02:00
Kenneth Skovhede 8d0a42e33d Added additional unittest to verify that using a different filehash and blockhash works 2016-03-30 20:33:15 +02:00
Kenneth Skovhede fcff385c35 Added additional test cases to the unittest to check for files with size zero and 1 byte. 2016-03-30 20:32:47 +02:00
Kenneth Skovhede 201c5c99a9 Fixed the unittest to actually test the odd blocksize values 2016-03-27 12:51:02 +02:00
Kenneth Skovhede 057ac8f707 Added additional tests for checking non-standard settings and borderline cases 2016-03-18 14:33:37 +01:00
Kenneth Skovhede cbe6b959e8 Added new unittest that makes sure strange files with repeated content and sizes around the block-size are handled correctly 2016-03-17 22:23:45 +01:00
Kenneth Skovhede 7e1067e996 Added extra test for the simple a + b test 2016-02-23 20:57:18 +01:00
Kenneth Skovhede 05d3cc2822 Removed unused field 2016-02-19 00:03:02 +01:00
Kenneth Skovhede 6dd9aa2702 Delete target folder before running unittest to allow multiple runs with the same data 2016-01-26 23:30:03 +01:00
Kenneth Skovhede 20a1d4855f More bugfixes for Travis unittest 2016-01-26 22:48:59 +01:00
Kenneth Skovhede 7741bc8b7f ... don't break the build ... 2016-01-26 21:52:28 +01:00
Kenneth Skovhede bfe8639284 Changed unittest to use individual logs to avoid sharingviolations when running tests back-to-back 2016-01-26 21:46:05 +01:00
Kenneth Skovhede 7112e0b19f Fixed building unittest in release mode 2016-01-26 15:14:48 +01:00
Kenneth Skovhede beed30f398 Added SizeOmittingBackend to the unittests to test to test if backends which have no size reporting capabilities cause problems 2015-09-17 20:04:49 +02:00
Kenneth Skovhede 60bd9693d0 Imporved handling of the ~ character in paths 2015-09-05 09:14:21 +02:00
Kenneth Skovhede 6dac0f3c2e Fixed an invalid line-ending character 2015-08-05 13:51:56 +02:00
Kenneth Skovhede e65e7d234e Fixed an issue where a restored database was missing some files.
This fixes #1410.
2015-07-12 21:36:48 +02:00
Kenneth Skovhede e6a8cdd6be Refactored the commandline unittest for easier reuse 2015-07-10 10:23:54 +02:00
Kenneth Skovhede 3fc9102acc Implemented the Google Drive backend, and trashed the Google Docs backend for issue #1347 2015-06-22 14:41:54 +02:00
Kenneth Skovhede b01af6e057 Implemented more unittests 2015-04-10 22:29:52 +02:00
Kenneth Skovhede e3cc53224b Implemented basic unittest structure instead of wrapping it inside the CommandLine project 2015-04-09 21:54:39 +02:00