From bb2847eb552886cffdca1e4d5fadf4330ef5c136 Mon Sep 17 00:00:00 2001 From: Carl Johnsen Date: Tue, 8 Jul 2025 07:51:43 +0200 Subject: [PATCH] Specified that the ToolTests relates to the remote synchronization tool --- Duplicati/UnitTest/ToolTests.cs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Duplicati/UnitTest/ToolTests.cs b/Duplicati/UnitTest/ToolTests.cs index 8d8a8935c..6bff53d4b 100644 --- a/Duplicati/UnitTest/ToolTests.cs +++ b/Duplicati/UnitTest/ToolTests.cs @@ -42,7 +42,7 @@ namespace Duplicati.UnitTest /// Tests that the remote synchronization tool doesn't do anything when the dry run option is used. /// [Test] - [Category("Tools")] + [Category("Tools/RemoteSynchronization")] public void TestDryRun() { var l1 = Path.Combine(TARGETFOLDER, "l1"); @@ -67,7 +67,7 @@ namespace Duplicati.UnitTest /// Tests that the remote synchronization tool works with an empty source to an empty destination. /// [Test] - [Category("Tools")] + [Category("Tools/RemoteSynchronization")] public void TestEmptySourceAndDestination() { var l1 = Path.Combine(TARGETFOLDER, "empty_src"); @@ -89,7 +89,7 @@ namespace Duplicati.UnitTest /// Test that remote synchronizing an empty source to a non-empty destination deletes the destination files. /// [Test] - [Category("Tools")] + [Category("Tools/RemoteSynchronization")] public void TestEmptySourceDeletesDestination() { var l1 = Path.Combine(TARGETFOLDER, "empty_src"); @@ -113,7 +113,7 @@ namespace Duplicati.UnitTest /// Test that remote synchronizing an empty source to a non-empty destination renames the destination files when the `--retention` option is used. /// [Test] - [Category("Tools")] + [Category("Tools/RemoteSynchronization")] public void TestEmptySourceRenamesDestination() { var l1 = Path.Combine(TARGETFOLDER, "empty_src"); @@ -147,6 +147,7 @@ namespace Duplicati.UnitTest /// Tests passing all arguments to the main method of the remote synchronization tool. /// [Test] + [Category("Tools/RemoteSynchronization")] public void TestMainMethodParsesArgumentsCorrectly() { string[][] testCases = @@ -192,7 +193,7 @@ namespace Duplicati.UnitTest /// Tests the original inded use of the remote synchronization tool on an empty destination. /// [Test] - [Category("Tools")] + [Category("Tools/RemoteSynchronization")] public void TestRemoteSynchronization() { var l1 = Path.Combine(TARGETFOLDER, "l1"); @@ -413,7 +414,7 @@ namespace Duplicati.UnitTest /// Tests that the remote synchronization tool verifies the contents of the files. /// [Test] - [Category("Tools")] + [Category("Tools/RemoteSynchronization")] public void TestVerifies() { var l1 = Path.Combine(TARGETFOLDER, "l1");