Ejemplo n.º 1
0
        public void DevelopBranch()
        {
            var vars      = new TestableVersionVariables(fullSemVer: "0.0.0-Unstable4");
            var tcVersion = buildServer.GenerateSetVersionMessage(vars);

            Assert.AreEqual("##teamcity[buildNumber '0.0.0-Unstable4']", tcVersion);
        }
Ejemplo n.º 2
0
    public void Develop_branch()
    {
        var versionBuilder = new TeamCity();
        var tcVersion      = versionBuilder.GenerateSetVersionMessage("0.0.0-Unstable4");

        Assert.AreEqual("##teamcity[buildNumber '0.0.0-Unstable4']", tcVersion);
    }
        public void Develop_branch()
        {
            var versionBuilder = new TeamCity(environment, log);
            var vars           = new TestableVersionVariables(fullSemVer: "0.0.0-Unstable4");
            var tcVersion      = versionBuilder.GenerateSetVersionMessage(vars);

            Assert.AreEqual("##teamcity[buildNumber '0.0.0-Unstable4']", tcVersion);
        }