Пример #1
0
        public MainWindow()
        {
            this.InitializeComponent();
            _controller = new MainWindowController();
            TrayMinimizer.EnableMinimizeToTray(this);

            TaskView.CurrentUser = _controller.CurrentUser;
        }
 public void LogTimeTest()
 {
     MainWindowController target = new MainWindowController(); // TODO: Initialize to an appropriate value
     string pTaskName = string.Empty; // TODO: Initialize to an appropriate value
     DateTime pStartTime = new DateTime(); // TODO: Initialize to an appropriate value
     DateTime pEndTime = new DateTime(); // TODO: Initialize to an appropriate value
     target.LogTime(pTaskName, pStartTime, pEndTime);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
 public void MainWindowControllerConstructorTest()
 {
     MainWindowController target = new MainWindowController();
     Assert.Inconclusive("TODO: Implement code to verify target");
 }