Refactor namespaces

This commit is contained in:
Caelan Sayler
2025-05-13 18:45:44 +01:00
committed by Caelan
parent f4c82bed9d
commit 53bf55cace
32 changed files with 70 additions and 88 deletions

View File

@@ -41,7 +41,7 @@ public abstract class ReleaseCommandTests<T> : BaseCommandTests<T>
string cli = GetRequiredDefaultOptions() + "--delta none";
ParseResult parseResult = command.ParseAndApply(cli);
Assert.True(command.DeltaMode == Packaging.DeltaMode.None);
Assert.True(command.DeltaMode == Packaging.Compression.DeltaMode.None);
}
[Fact]

View File

@@ -1,5 +1,4 @@
using System.Runtime.Versioning;
using Velopack.Compression;
using Velopack.Core;
using Velopack.Util;

View File

@@ -5,9 +5,9 @@ using System.Xml.Linq;
using Microsoft.Deployment.WindowsInstaller;
using Microsoft.Win32;
using NuGet.Packaging;
using Velopack.Compression;
using Velopack.Core;
using Velopack.Packaging.Commands;
using Velopack.Packaging.Compression;
using Velopack.Packaging.Windows.Commands;
using Velopack.Util;
using Velopack.Vpk;

View File

@@ -1,7 +1,6 @@
using System.ComponentModel;
using System.IO.Compression;
using NCode.ReparsePoints;
using Velopack.Compression;
using Velopack.Logging;
using Velopack.Util;

View File

@@ -1,6 +1,5 @@
using System.Text;
using NuGet.Versioning;
using Velopack.Compression;
using Velopack.Core;
using Velopack.Exceptions;
using Velopack.Locators;

View File

@@ -39,8 +39,8 @@ public class ZipPackageTests
SymbolicLink.Create(symlink, actual);
SymbolicLink.Create(symfile, actualFile);
Compression.EasyZip.CreateZipFromDirectoryAsync(logger.ToVelopackLogger(), zipFile, tempDir).GetAwaiterResult();
Compression.EasyZip.ExtractZipToDirectory(logger.ToVelopackLogger(), zipFile, extractedDir, expandSymlinks: true);
EasyZip.CreateZipFromDirectoryAsync(logger.ToVelopackLogger(), zipFile, tempDir).GetAwaiterResult();
EasyZip.ExtractZipToDirectory(logger.ToVelopackLogger(), zipFile, extractedDir, expandSymlinks: true);
Assert.True(File.Exists(Path.Combine(extractedDir, "actual", "file.txt")));
Assert.Equal("hello", File.ReadAllText(Path.Combine(extractedDir, "actual", "file.txt")));