Ejemplo n.º 1
0
        public Tuple<IJointShows, IJointShowWindow, JointShowController> CreateJointShowWindow()
        {
            JointShows model = new JointShows();
            JointShowWindow window = new JointShowWindow(model);
            JointShowController controller = new JointShowController(window, model);

            return new Tuple<IJointShows, IJointShowWindow, JointShowController>(model, window, controller);
        }
Ejemplo n.º 2
0
        public void Setup()
        {
            _fakeShowModel = new FakeJointShows();
            _fakeShowWindow = new FakeJointShowWindow(_fakeShowModel);
            _fakeFactory = new FakeJointShowEditorWindowFactory();
            _jointShowFakeMessageShower = new FakeMessageShower();
            _controller = new JointShowController(_fakeShowWindow, _fakeShowModel, _fakeFactory, _jointShowFakeMessageShower);

            _showTester = new JointShowTester(_fakeShowWindow, _fakeFactory);
        }
Ejemplo n.º 3
0
 private void Initialize()
 {
     _jointShowsModel = new JointShows(JointShowTester.TestFilename);
     _fakeShowWindow = new FakeJointShowWindow(_jointShowsModel);
     _fakeFactory = new FakeJointShowEditorWindowFactory();
     _controller = new JointShowController(_fakeShowWindow, _jointShowsModel, _fakeFactory, new FakeMessageShower());
     _showTester = new JointShowTester(_fakeShowWindow, _fakeFactory);
 }