void CreateOpenMSBuildProjects()
        {
            fakeProjectService = MockRepository.GenerateStub <IPackageManagementProjectService>();
            openProjects       = new SimpleModelCollection <IProject>();
            fakeProjectService.Stub(service => service.AllProjects).Return(openProjects);

            projects = new OpenMSBuildProjects(fakeProjectService);
        }
		void CreateOpenMSBuildProjects()
		{
			fakeProjectService = MockRepository.GenerateStub<IPackageManagementProjectService>();
			openProjects = new SimpleModelCollection<IProject>();
			fakeProjectService.Stub(service => service.AllProjects).Return(openProjects);
			
			projects = new OpenMSBuildProjects(fakeProjectService);
		}
		void CreateOpenMSBuildProjects()
		{
			fakeProjectService = MockRepository.GenerateStub<IPackageManagementProjectService>();
			openProjects = new List<IProject>();
			fakeProjectService.Stub(service => service.GetOpenProjects()).Return(openProjects);
			
			projects = new OpenMSBuildProjects(fakeProjectService);
		}
Example #4
0
        void CreateOpenMSBuildProjects()
        {
            fakeProjectService = MockRepository.GenerateStub <IPackageManagementProjectService>();
            openProjects       = new List <IProject>();
            fakeProjectService.Stub(service => service.GetOpenProjects()).Return(openProjects);

            projects = new OpenMSBuildProjects(fakeProjectService);
        }
Example #5
0
		void CreateProject()
		{
			msbuildProject = ProjectHelper.CreateTestProject();
			helper = new ProjectContentHelper();
			
			fakeProjectService = MockRepository.GenerateStub<IPackageManagementProjectService>();
			fakeProjectService.Stub(service => service.GetProjectContent(msbuildProject)).Return(helper.ProjectContent);
			
			fakeFileService = MockRepository.GenerateStub<IPackageManagementFileService>();
			project = new Project(msbuildProject, fakeProjectService, fakeFileService);
		}
Example #6
0
        void CreateProject()
        {
            msbuildProject = ProjectHelper.CreateTestProject();
            helper         = new ProjectContentHelper();

            fakeProjectService = MockRepository.GenerateStub <IPackageManagementProjectService>();
            fakeProjectService.Stub(service => service.GetProjectContent(msbuildProject)).Return(helper.ProjectContent);

            fakeFileService = MockRepository.GenerateStub <IPackageManagementFileService>();
            project         = new Project(msbuildProject, fakeProjectService, fakeFileService);
        }