Specified that the ToolTests relates to the remote synchronization tool

This commit is contained in:
Carl Johnsen
2025-07-08 07:51:43 +02:00
parent d98e1096e3
commit bb2847eb55
+7 -6
View File
@@ -42,7 +42,7 @@ namespace Duplicati.UnitTest
/// Tests that the remote synchronization tool doesn't do anything when the dry run option is used.
/// </summary>
[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.
/// </summary>
[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.
/// </summary>
[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.
/// </summary>
[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.
/// </summary>
[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.
/// </summary>
[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.
/// </summary>
[Test]
[Category("Tools")]
[Category("Tools/RemoteSynchronization")]
public void TestVerifies()
{
var l1 = Path.Combine(TARGETFOLDER, "l1");