|
|
|
@ -564,7 +564,7 @@ namespace NzbDrone.Common.Test.DiskTests
|
|
|
|
|
|
|
|
|
|
var count = Subject.MirrorFolder(source.FullName, destination.FullName);
|
|
|
|
|
|
|
|
|
|
count.Should().Equals(0);
|
|
|
|
|
count.Should().Be(0);
|
|
|
|
|
destination.GetFileSystemInfos().Should().BeEmpty();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -584,7 +584,7 @@ namespace NzbDrone.Common.Test.DiskTests
|
|
|
|
|
|
|
|
|
|
var count = Subject.MirrorFolder(source.FullName, destination.FullName);
|
|
|
|
|
|
|
|
|
|
count.Should().Equals(0);
|
|
|
|
|
count.Should().Be(0);
|
|
|
|
|
destination.GetFileSystemInfos().Should().HaveCount(1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -601,7 +601,7 @@ namespace NzbDrone.Common.Test.DiskTests
|
|
|
|
|
|
|
|
|
|
var count = Subject.MirrorFolder(source.FullName, destination.FullName);
|
|
|
|
|
|
|
|
|
|
count.Should().Equals(3);
|
|
|
|
|
count.Should().Be(3);
|
|
|
|
|
VerifyCopyFolder(original.FullName, destination.FullName);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -618,7 +618,7 @@ namespace NzbDrone.Common.Test.DiskTests
|
|
|
|
|
|
|
|
|
|
var count = Subject.MirrorFolder(source.FullName, destination.FullName);
|
|
|
|
|
|
|
|
|
|
count.Should().Equals(3);
|
|
|
|
|
count.Should().Be(3);
|
|
|
|
|
|
|
|
|
|
File.Exists(Path.Combine(destination.FullName, _nfsFile)).Should().BeFalse();
|
|
|
|
|
}
|
|
|
|
@ -638,7 +638,7 @@ namespace NzbDrone.Common.Test.DiskTests
|
|
|
|
|
|
|
|
|
|
var count = Subject.MirrorFolder(source.FullName, destination.FullName);
|
|
|
|
|
|
|
|
|
|
count.Should().Equals(0);
|
|
|
|
|
count.Should().Be(0);
|
|
|
|
|
VerifyCopyFolder(original.FullName, destination.FullName);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -655,7 +655,7 @@ namespace NzbDrone.Common.Test.DiskTests
|
|
|
|
|
|
|
|
|
|
var count = Subject.MirrorFolder(source.FullName + Path.DirectorySeparatorChar, destination.FullName);
|
|
|
|
|
|
|
|
|
|
count.Should().Equals(3);
|
|
|
|
|
count.Should().Be(3);
|
|
|
|
|
VerifyCopyFolder(original.FullName, destination.FullName);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|