Example #1
0
        public void HasMultipleProjects_OneProjectInSolution_ReturnsFalse()
        {
            CreateSolution();
            TestableProject project = ProjectHelper.CreateTestProject();

            fakeProjectService.AddFakeProject(project);

            bool hasMultipleProjects = solution.HasMultipleProjects();

            Assert.IsFalse(hasMultipleProjects);
        }
Example #2
0
        TestableProject AddProjectToSolution(string projectName)
        {
            TestableProject project = ProjectHelper.CreateTestProject(projectName);

            fakeProjectService.AddFakeProject(project);
            return(project);
        }
Example #3
0
        void AddProjectToMSBuildSolution(string fileName)
        {
            TestableProject project = ProjectHelper.CreateTestProject();

            project.FileName = fileName;
            fakeProjectService.AddFakeProject(project);
        }