public void SetUpFixture()
        {
            WixProject p = WixBindingTestsHelper.CreateEmptyWixProject();

            p.Name = "MySetup";
            view   = new MockWixPackageFilesView();
            view.ContextMenuEnabled = true;
            WixPackageFilesEditor editor = new WixPackageFilesEditor(view, this, this);

            editor.ShowFiles(p);
        }
        public void InitFixture()
        {
            project      = WixBindingTestsHelper.CreateEmptyWixProject();
            project.Name = "MySetup";
            FileProjectItem item = new FileProjectItem(project, ItemType.Compile);

            item.Include = "Setup.wxs";
            ProjectService.AddProjectItem(project, item);
            view   = new MockWixPackageFilesView();
            editor = new WixPackageFilesEditor(view, this, this, this);
            editor.ShowFiles(project);
        }
        public void SetUpFixture()
        {
            WixProject p = WixBindingTestsHelper.CreateEmptyWixProject();

            p.Name = "MySetup";
            FileProjectItem item = new FileProjectItem(p, ItemType.Compile);

            item.Include = "Setup.wxs";
            ProjectService.AddProjectItem(p, item);
            view = new MockWixPackageFilesView();
            WixPackageFilesEditor editor = new WixPackageFilesEditor(view, this, this);

            editor.ShowFiles(p);
            expectedWixDocumentFileName = item.FileName;
            wixDocumentFileName         = editor.Document.FileName;
        }
        public void SetUpFixture()
        {
            SD.InitializeForUnitTests();
            WixProject p = WixBindingTestsHelper.CreateEmptyWixProject();

            p.Name = "MySetup";
            FileProjectItem item = new FileProjectItem(p, ItemType.Compile);

            item.Include = "Setup.wxs";
            ProjectService.AddProjectItem(p, item);

            item         = new FileProjectItem(p, ItemType.Compile);
            item.Include = "Files.wxs";
            ProjectService.AddProjectItem(p, item);

            view = new MockWixPackageFilesView();
            WixPackageFilesEditor editor = new WixPackageFilesEditor(view, this, this);

            editor.ShowFiles(p);
        }