Commit Graph
12 Commits
Author SHA1 Message Date
Kenneth Skovhede 0c68daff6c Fixed all whitespace to be 4 spaces instead of tabs 2016-09-15 11:39:27 +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 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 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