public void Should_Return_Correct_Value() { // Given var info = new BambooInfoFixture().CreatePlanInfo(); // When var result = info.ShortPlanName; // Then Assert.Equal("Cake", result); }
public void Should_Return_Correct_Value() { // Given var info = new BambooInfoFixture().CreateCommitInfo(); // When var result = info.RepositoryRevision; // Then Assert.Equal("d4a3a4cb304548450e3cab2ff735f778ffe58d03", result); }
public void Should_Return_Correct_Value() { // Given var info = new BambooInfoFixture().CreateBuildInfo(); // When var result = info.BuildTimestamp; // Then Assert.Equal("2015-12-15T22:53:37.847+01:00", result); }
public void Should_Return_Correct_Value() { // Given var info = new BambooInfoFixture().CreatePlanInfo(); // When var result = info.PlanKey; // Then Assert.Equal("CAKE-CAKE", result); }
public void Should_Return_Correct_Value() { // Given var info = new BambooInfoFixture().CreateBuildInfo(); // When var result = info.ResultKey; // Then Assert.Equal("CAKE-CAKE-JOB1-28", result); }
public void Should_Return_Correct_Value() { // Given var info = new BambooInfoFixture().CreateBuildInfo(); // When var result = info.ResultsUrl; // Then Assert.Equal("https://cakebuild.atlassian.net/builds/browse/CAKE-CAKE-JOB1-28", result); }
public void Should_Return_Correct_Value() { // Given var info = new BambooInfoFixture().CreateBuildInfo(); // When var result = info.Number; // Then Assert.Equal(28, result); }
public void Should_Return_Correct_Value() { // Given var info = new BambooInfoFixture().CreateBuildInfo(); // When var result = info.Folder; // Then Assert.Equal(@"C:\build\CAKE-CAKE-JOB1", result); }
public void Should_Return_Correct_Value() { // Given var info = new BambooInfoFixture().CreateRepositoryInfo(); // When var result = info.Branch; // Then Assert.Equal("develop", result); }
public void Should_Return_Correct_Value() { // Given var info = new BambooInfoFixture().CreateCustomBuildInfo(); // When var result = info.RevisonName; // Then Assert.Equal("Cake with Iceing", result); }
public void Should_Return_Correct_Value() { // Given var info = new BambooInfoFixture().CreateCustomBuildInfo(); // When var result = info.IsCustomBuild; // Then Assert.Equal(true, result); }