Commit Graph
24 Commits
Author SHA1 Message Date
Kenneth Skovhede d7f027b9e2 Fixed usings in unit tests 2024-03-03 15:41:49 +01:00
Kenneth Skovhede aa20088c39 Tool based upgrade of all projects with some manual update 2024-03-01 14:29:54 +01:00
Kenneth Skovhede 40dd3c6816 Updated all license mentions to MIT 2024-02-28 15:45:30 +01:00
marodev e87688d9d3 Fix ReSharper's "Use string interpolation expression" / Code Smell 2021-05-15 17:02:57 +02:00
Kenneth Skovhede 88a1ec59c3 Added delay to purge-broken-files unittest.
Since the repair introduces artifical filelists, there is sometimes a race in CI where the purge is faster than a second causing the time sequences to not line up during testing.
2021-03-08 11:53:13 +01:00
Kenneth Hsu 780f53b89a Add test for purging broken files with dry-run.
This concerns #4379.
2020-11-30 19:56:08 -08:00
Kenneth Hsu e1a6ae4483 Check operation results for errors and warnings in tests. 2020-07-05 18:50:10 -07:00
Kenneth Hsu ee751f218a Test purge operation with simple filter expression.
This will test the situation described in issue #3927, where the
specified file was kept, and all other files were deleted.

Without the fix in 9333517950 ("Fix query used by purge operation for
case-sensitive fileystems"), this test would pass in AppVeyor (Windows),
but fail in Travis (Linux).
2019-09-29 09:54:25 -07:00
Kenneth Hsu d364be4037 Clean test data after each test. 2019-08-18 14:27:01 -07:00
Kenneth Hsu a6f751f605 Move creation of test data folders to base class. 2019-08-18 14:01:27 -07:00
verhoek b2cc18426c Renamed Library.IO to Library.Common.IO.
Moved basic Platform functions to Library.Common.Platform.
Turned IO_OS into property within Library.Common.
2018-11-02 21:34:07 +01:00
verhoek dd74245b75 Handled GetFiles calls at risky spots in combination with PathTooLongExceptions. 2018-10-30 17:16:13 +01:00
Kenneth Hsu 183ae4ede2 Remove additional unused variables. 2018-09-29 12:49:22 -07:00
Kenneth Hsu 9ce1e807c7 Remove unused variables and fields. 2018-09-29 10:41:27 -07:00
Kenneth Skovhede 842fd96543 Implemented a new logging system that is more transparent and allows a more granular way of picking log messages.
Added ID's to each log message and each exception to allow later introduction of a Knowledgebase service that explains each error in more detail.
2018-03-15 09:12:34 +01:00
Kenneth Skovhede e65d38e235 Updated the unittest to not use the deprecated NUnit attributes 2018-02-01 09:48:55 +01:00
Kenneth Skovhede f0cfde1cb2 Added delays to unittest as it is now too fast with the improved hashing library 2017-10-10 13:52:57 +02:00
Kenneth Skovhede 640ec634b7 Increased delays in unittest due to faster hashing performance 2017-09-26 09:41:27 +02:00
Kenneth Skovhede 9c0b463765 Added minor delays to purge unittest to avoid errors that happen when timestamps are back-to-back 2017-01-06 23:00:30 +01:00
Kenneth Skovhede 1108d51d7f Implemented a new new list-broken-files and purge-broken-files command for the commandline to assist with handling remote file loss. 2017-01-05 16:46:01 +01:00
Kenneth Skovhede e69cec8dd6 Fixed purge unittest by delaying final backup such that the modified timestamp is not in the future 2017-01-01 20:09:29 +01:00
Kenneth Skovhede 33694ba45e Additional debugging information for Travis debug 2016-12-31 11:11:46 +01:00
Kenneth Skovhede 15de17c86d Fixed error messages in purge unittest 2016-12-30 00:08:14 +01:00
Kenneth Skovhede 4bf4871427 Added commandline operation to purge select files from filesets.
This fixes #1009.
This paves the way for #1337.
2016-12-29 22:41:13 +01:00