コード例 #1
0
        private async Task <IVersionInterface> TestInterface(string projectPath)
        {
            IVersionInterface projectInterface = await ProjectInterface.GetProjectInterfaceAsync(projectPath);

            Assert.AreNotEqual(null, projectInterface);
            return(projectInterface);
        }
コード例 #2
0
        public async Task TestIncrementAndSave()
        {
            foreach (TestApp app in Factory.TestProjects.Values)
            {
                IVersionInterface project = await TestInterface(app.ProjectPath);

                string oldVersion = project.Version.ToString();
                project.Version.IncrementBuild();
                await project.SaveVersionAsync();

                project = await TestInterface(app.ProjectPath);

                Assert.AreNotEqual(oldVersion, project.Version.ToString());
            }
        }
コード例 #3
0
     public Type2(IVersionInterface versionCreator) : 
 base(versionCreator)
     {
     }