Пример #1
0
        public void GetFileContents_UpdateReleaseCandidateToProduction()
        {
            var buildTypeFileMaker = new UpdateBuildTypeFile();

            string contents = buildTypeFileMaker.GetUpdatedFileContents(GetFileContentsForType("ReleaseCandidate"), "Production");

            Assert.AreEqual(GetFileContentsForType("Production"), contents);
        }
Пример #2
0
        public void GetFileContents_UpdateBogusToBeta_NoReplacement()
        {
            var buildTypeFileMaker = new UpdateBuildTypeFile();

            string contents = buildTypeFileMaker.GetUpdatedFileContents(GetFileContentsForType("Bogus"), "Beta");

            Assert.AreEqual(GetFileContentsForType("Bogus"), contents);
        }
Пример #3
0
        public void GetFileContents_UpdateAlphaToReleaseCandidate()
        {
            var buildTypeFileMaker = new UpdateBuildTypeFile();

            string contents = buildTypeFileMaker.GetUpdatedFileContents(GetFileContentsForType("Alpha"), "ReleaseCandidate");

            Assert.AreEqual(GetFileContentsForType("ReleaseCandidate"), contents);
        }