예제 #1
0
        public void SetUp()
        {
            dictionary    = new MockDictionaryService();
            view          = new MockCreateModulePage();
            solutionModel = new MockSolutionModel(null);
            model         = new CreateModulePageModel(dictionary, solutionModel, null);
            presenter     = new CreateModulePagePresenter(view, model);

            MockProjectModel moduleProject1 = new MockProjectModel();

            moduleProject1.ProjectPath = (new System.IO.DirectoryInfo(@".\Support\MockWebSite")).FullName;
            dictionary.SetValue("WebUIProject", moduleProject1);
        }
        public void SetUp()
        {
            dictionary = new MockDictionaryService();
            view = new MockCreateModulePage();
            solutionModel = new MockSolutionModel(null);
            model = new CreateModulePageModel(dictionary, solutionModel, null);
            presenter = new CreateModulePagePresenter(view, model);

            MockProjectModel moduleProject1 = new MockProjectModel();
            moduleProject1.ProjectPath = (new System.IO.DirectoryInfo(@".\Support\MockWebSite")).FullName;
            dictionary.SetValue("WebUIProject", moduleProject1);
        }