public void Init()
        {
            project   = WixBindingTestsHelper.CreateEmptyWixProject();
            factory   = new MockPackageFilesViewFactory();
            workbench = new MockWorkbench();

            view = factory.Create(project, workbench);
        }
Esempio n. 2
0
        public void Init()
        {
            workbench = new MockWorkbench();
            factory   = new MockPackageFilesViewFactory();
            project   = WixBindingTestsHelper.CreateEmptyWixProject();

            ViewSetupFilesCommand viewCommand = new ViewSetupFilesCommand(factory, workbench);

            viewCommand.Run(project);
        }
        public void Init()
        {
            workbench = new MockWorkbench();

            CreatePackageFilesViewWithDifferentWixProject();
            CreatePackageFilesViewWithProjectToBeUsedWithViewSetupFilesCommandRunMethod();

            factory = new MockPackageFilesViewFactory();
            ViewSetupFilesCommand viewCommand = new ViewSetupFilesCommand(factory, workbench);

            viewCommand.Run(project);
        }