Exemple #1
0
        public void ProjectConfigurationControllerShouldSetViewIgnore()
        {
            Mocker.ReplayAll();

            ProjectConfigurationController controller = new ProjectConfigurationController(_view, _model);

            Mocker.VerifyAll();
        }
Exemple #2
0
        public void ProjectConfigurationControllerShouldSetModelIgnorePAssemblyFilesChangedOnViewIgnoreAssemblyFilesChanged()
        {
            bool value = true;

            Expect.Call(_model.IgnoreAssemblyFiles = value).Repeat.Once();

            Mocker.ReplayAll();

            ProjectConfigurationController controller = new ProjectConfigurationController(_view, _model);

            _view.Raise(x => x.IgnoreAssemblyFilesChanged += null, this, new CheckedEventArgs(value));

            Mocker.VerifyAll();
        }
Exemple #3
0
        public ProjectConfigurationWindow(ICalidusProjectModel model)
        {
            InitializeComponent();

            ProjectConfigurationController controller = new ProjectConfigurationController(projectConfigurationView, model);
        }