private IntegrationResult simulateBuild(int buildLabel) { StatisticsPublisher publisher = new StatisticsPublisher(); IntegrationResult result = IntegrationResultMother.CreateSuccessful(buildLabel.ToString()); result.LastSuccessfulIntegrationLabel = (buildLabel - 1).ToString(); result.ArtifactDirectory = tmpdir.FullName; publisher.Run(result); return result; }
private IntegrationResult SimulateBuild(int buildLabel) { StatisticsPublisher publisher = new StatisticsPublisher(); IntegrationResult result = IntegrationResultMother.CreateSuccessful(buildLabel.ToString()); result.ArtifactDirectory = testDir.ToString(); publisher.Run(result); return result; }