void CreateProject(MSBuildBasedProject msbuildProject)
		{
			fakePackageManagerFactory = new FakePackageManagerFactory();
			fakePackageManager = fakePackageManagerFactory.FakePackageManager;
			fakeProjectManager = fakePackageManager.FakeProjectManager;
			fakeSourceRepository = new FakePackageRepository();
			fakePackageManagementEvents = new FakePackageManagementEvents();
			
			project = new PackageManagementProject(
				fakeSourceRepository,
				msbuildProject,
				fakePackageManagementEvents,
				fakePackageManagerFactory);
		}
Пример #2
0
        void CreateProject(IPackageRepository sourceRepository)
        {
            fakePackageManagerFactory = new FakePackageManagerFactory();
            fakePackageManager        = fakePackageManagerFactory.FakePackageManager;
            fakeProjectManager        = fakePackageManager.FakeProjectManager;
            fakeProject             = new FakeDotNetProject();
            packageManagementEvents = new PackageManagementEvents();

            project = new PackageManagementProject(
                sourceRepository,
                fakeProject,
                packageManagementEvents,
                fakePackageManagerFactory);
        }
Пример #3
0
        void CreateProject(MSBuildBasedProject msbuildProject)
        {
            fakePackageManagerFactory   = new FakePackageManagerFactory();
            fakePackageManager          = fakePackageManagerFactory.FakePackageManager;
            fakeProjectManager          = fakePackageManager.FakeProjectManager;
            fakeSourceRepository        = new FakePackageRepository();
            fakePackageManagementEvents = new FakePackageManagementEvents();

            project = new PackageManagementProject(
                fakeSourceRepository,
                msbuildProject,
                fakePackageManagementEvents,
                fakePackageManagerFactory);
        }
		void CreateProject()
		{
			fakePackageManagerFactory = new FakePackageManagerFactory();
			fakePackageManager = fakePackageManagerFactory.FakePackageManager;
			fakeProjectManager = fakePackageManager.FakeProjectManager;
			fakeSourceRepository = new FakePackageRepository();
			fakeMSBuildProject = ProjectHelper.CreateTestProject();
			fakePackageManagementEvents = new FakePackageManagementEvents();
			
			project = new PackageManagementProject(
				fakeSourceRepository,
				fakeMSBuildProject,
				fakePackageManagementEvents,
				fakePackageManagerFactory);
		}
        void CreateProject()
        {
            fakePackageManagerFactory   = new FakePackageManagerFactory();
            fakePackageManager          = fakePackageManagerFactory.FakePackageManager;
            fakeProjectManager          = fakePackageManager.FakeProjectManager;
            fakeSourceRepository        = new FakePackageRepository();
            fakeMSBuildProject          = ProjectHelper.CreateTestProject();
            fakePackageManagementEvents = new FakePackageManagementEvents();

            project = new PackageManagementProject(
                fakeSourceRepository,
                fakeMSBuildProject,
                fakePackageManagementEvents,
                fakePackageManagerFactory);
        }