mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Rename fixtures to workaround legacy parsing
This commit is contained in:
@@ -136,10 +136,10 @@ pub fn test_delta_apply_legacy() {
|
||||
dialogs::set_silent(true);
|
||||
let fixtures = find_fixtures();
|
||||
let base = fixtures.join("Clowd-3.4.287-full.nupkg");
|
||||
let d1 = fixtures.join("Clowd-3.4.288-delta-zstd.nupkg");
|
||||
let d2 = fixtures.join("Clowd-3.4.291-delta-zstd.nupkg");
|
||||
let d3 = fixtures.join("Clowd-3.4.292-delta-zstd.nupkg");
|
||||
let d4 = fixtures.join("Clowd-3.4.293-delta-zstd.nupkg");
|
||||
let d1 = fixtures.join("Clowd-3.4.288-delta.nupkg");
|
||||
let d2 = fixtures.join("Clowd-3.4.291-delta.nupkg");
|
||||
let d3 = fixtures.join("Clowd-3.4.292-delta.nupkg");
|
||||
let d4 = fixtures.join("Clowd-3.4.293-delta.nupkg");
|
||||
|
||||
let deltas = vec![&d1, &d2, &d3, &d4];
|
||||
|
||||
|
||||
@@ -145,7 +145,7 @@ public class UpdateManagerTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void DownlaodFullUpdateFromFixtures()
|
||||
public void DownloadFullUpdateFromFixtures()
|
||||
{
|
||||
using var logger = _output.BuildLoggerFor<UpdateManagerTests>();
|
||||
using var _1 = TempUtil.GetTempDirectory(out var packagesPath);
|
||||
@@ -388,7 +388,6 @@ public class UpdateManagerTests
|
||||
Assert.Contains(modifiedHash, ex.Message);
|
||||
}
|
||||
|
||||
|
||||
[Fact]
|
||||
public void NoDeltaIfNoBasePackage()
|
||||
{
|
||||
@@ -527,7 +526,7 @@ public class UpdateManagerTests
|
||||
}
|
||||
|
||||
[SkippableTheory]
|
||||
[InlineData("Clowd", "3.4.287", "3.4.292")]
|
||||
[InlineData("Clowd", "3.4.287", "3.4.293")]
|
||||
//[InlineData("slack", "1.1.8", "1.2.2")]
|
||||
public async Task DownloadsDeltasAndCreatesFullVersion(string id, string fromVersion, string toVersion)
|
||||
{
|
||||
@@ -560,7 +559,7 @@ public class UpdateManagerTests
|
||||
var info = await um.CheckForUpdatesAsync();
|
||||
Assert.NotNull(info);
|
||||
Assert.True(SemanticVersion.Parse(toVersion) == info.TargetFullRelease.Version);
|
||||
Assert.Equal(3, info.DeltasToTarget.Count());
|
||||
Assert.Equal(4, info.DeltasToTarget.Count());
|
||||
Assert.NotNull(info.BaseRelease);
|
||||
|
||||
await um.DownloadUpdatesAsync(info);
|
||||
|
||||
BIN
test/fixtures/Clowd-3.4.288-delta-zstd.nupkg
vendored
BIN
test/fixtures/Clowd-3.4.288-delta-zstd.nupkg
vendored
Binary file not shown.
BIN
test/fixtures/Clowd-3.4.288-delta.nupkg
vendored
BIN
test/fixtures/Clowd-3.4.288-delta.nupkg
vendored
Binary file not shown.
BIN
test/fixtures/Clowd-3.4.291-delta-zstd.nupkg
vendored
BIN
test/fixtures/Clowd-3.4.291-delta-zstd.nupkg
vendored
Binary file not shown.
BIN
test/fixtures/Clowd-3.4.291-delta.nupkg
vendored
BIN
test/fixtures/Clowd-3.4.291-delta.nupkg
vendored
Binary file not shown.
BIN
test/fixtures/Clowd-3.4.292-delta-zstd.nupkg
vendored
BIN
test/fixtures/Clowd-3.4.292-delta-zstd.nupkg
vendored
Binary file not shown.
BIN
test/fixtures/Clowd-3.4.292-delta.nupkg
vendored
BIN
test/fixtures/Clowd-3.4.292-delta.nupkg
vendored
Binary file not shown.
Reference in New Issue
Block a user