Exemplo n.º 1
0
 public void Develop_branch()
 {
     var authentication = new Authentication();
     var versionBuilder = new TeamCity(authentication);
     var tcVersion = versionBuilder.GenerateSetVersionMessage("0.0.0-Unstable4");
     Assert.AreEqual("##teamcity[buildNumber '0.0.0-Unstable4']", tcVersion);
 }
Exemplo n.º 2
0
 public void Develop_branch()
 {
     var versionBuilder = new TeamCity();
     var vars = new TestableVersionVariables(fullSemVer: "0.0.0-Unstable4");
     var tcVersion = versionBuilder.GenerateSetVersionMessage(vars);
     Assert.AreEqual("##teamcity[buildNumber '0.0.0-Unstable4']", tcVersion);
 }