Пример #1
0
 public void TestStdRtmNoRelease()
 {
     AppVeyourVersion.GetProductVersion("1.0.0.14", "rtm", "false");
     Assert.AreEqual("", AppVeyourVersion.ProductVersion);
 }
Пример #2
0
 public void TestStdCiBeta()
 {
     AppVeyourVersion.GetProductVersion("1.0.0.14", "beta", "false");
     Assert.AreEqual("1.0.0-beta-000014", AppVeyourVersion.ProductVersion);
 }
Пример #3
0
 public void TestStdRelease()
 {
     AppVeyourVersion.GetProductVersion("1.0.0.14", "", "true");
     Assert.AreEqual("1.0.0", AppVeyourVersion.ProductVersion);
 }
Пример #4
0
 public void TestStdCiBuild()
 {
     AppVeyourVersion.GetProductVersion("1.0.0.14", "", "false");
     Assert.AreEqual("1.0.0-alpha-000014", AppVeyourVersion.ProductVersion);
 }