public void UpdateIosVersionTest() { //arrange var versionProvider = new BuildVersionProvider(); var buildNumber = 100; //act var version = versionProvider.GetBuildVersion(BuildTarget.iOS, "1.0.2", buildNumber); //assert Assert.That(version, Is.EqualTo("1.0.100")); }
public string GetVersionTest(BuildTarget target, string branch) { //arrange var buildHandler = new BuildVersionProvider(); var buildNumber = 100; var bundleVersion = "1.0.2"; //act var version = buildHandler.GetBuildVersion(target, bundleVersion, buildNumber, branch); //assert return(version); }