Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void GetPackageKeyFromFileNameTest() { string name = "Pundit.Core-1.0.0-4-noarch.pundit"; PackageKey key = PackageUtils.GetPackageKeyFromFileName(name); Assert.AreEqual("Pundit.Core", key.PackageId); Assert.AreEqual(new Version(1, 0, 0, 4), key.Version); Assert.AreEqual("noarch", key.Platform); }