Skip to main content

TestVelopackLocator Class

Namespace: Velopack.Locators
Assembly: Velopack
Assembly Version: 0.0.626+6f1a94e

Provides a mock / test implementation of VelopackLocator. This can be used to verify that your application is able to find and prepare updates from your chosen update source without actually having an installed application. This could be used in a CI/CD pipeline, or unit tests etc.

[ExcludeFromCodeCoverage]
public class TestVelopackLocator : VelopackLocator

Inheritance: object → VelopackLocator → TestVelopackLocator

Attributes: ExcludeFromCodeCoverageAttribute

Constructors

NameDescription
TestVelopackLocator(string, string, string, ILogger)
TestVelopackLocator(string, string, string, string, string, string, string, ILogger, VelopackAsset)

Properties

NameDescription
AppContentDir
AppId
Channel
CurrentlyInstalledVersion
PackagesDir
RootAppDir
UpdateExePath

Methods

NameDescription
GetLatestLocalFullPackage()

Documentation generated by MdDocs