예제 #1
0
        public TestSuiteView()
        {
            State = new TestSuiteState();
            TestCasesPresenter = new TestCasesPresenter(new RenameVariableWindow(), new FilterWindow(), new ConnectionStringWindow(), new TestCaseCollectionManager(), State.TestCases, State.Variables, State.ConnectionStringNames);
            TemplatePresenter = new TemplatePresenter(new TemplateManager(), State.Template);
            SettingsPresenter = new SettingsPresenter(new SettingsManager(), State.Settings);
            TestListPresenter = new TestListPresenter(new TestListManager(), State.Tests, State.TestCases, State.Variables, State.Template);
            TestSuitePresenter = new TestSuitePresenter(new TestSuiteManager(), State.Tests, State.Settings);
            MacroPresenter = new MacroPresenter();

            InitializeComponent();
            DeclareBindings();
            BindPresenter();
        }
예제 #2
0
 public OpenTestSuiteCommand(TestSuitePresenter presenter)
 {
     this.presenter = presenter;
 }
예제 #3
0
 public SaveAsTestSuiteCommand(TestSuitePresenter presenter)
 {
     this.presenter = presenter;
 }