public void GenerateBuildVersion()
 {
     var arguments = new Arguments();
     var versionBuilder = new ContinuaCi(arguments);
     var continuaCiVersion = versionBuilder.GenerateSetVersionMessage("0.0.0-Beta4.7");
     Assert.AreEqual("@@continua[setBuildVersion value='0.0.0-Beta4.7']", continuaCiVersion);
 }
예제 #2
0
 public void GenerateBuildVersion()
 {
     var versionBuilder = new ContinuaCi();
     var vars = new TestableVersionVariables(fullSemVer: "0.0.0-Beta4.7");
     var continuaCiVersion = versionBuilder.GenerateSetVersionMessage(vars);
     Assert.AreEqual("@@continua[setBuildVersion value='0.0.0-Beta4.7']", continuaCiVersion);
 }