public void HideProgressTest() { WabbitcodeStatusBar target = new WabbitcodeStatusBar(); // TODO: Initialize to an appropriate value target.HideProgress(); Assert.Inconclusive("A method that does not return a value cannot be verified."); }
public void ModeStatusBarPanelTest() { WabbitcodeStatusBar target = new WabbitcodeStatusBar(); // TODO: Initialize to an appropriate value StatusBarItem actual; actual = target.ModeStatusBarPanel; Assert.Inconclusive("Verify the correctness of this test method."); }
public void InitPanelsTest() { DockingService target = new DockingService(); // TODO: Initialize to an appropriate value WabbitcodeStatusBar statusBar = null; // TODO: Initialize to an appropriate value target.InitPanels(statusBar); Assert.Inconclusive("A method that does not return a value cannot be verified."); }
public void SetMessageTest() { WabbitcodeStatusBar target = new WabbitcodeStatusBar(); // TODO: Initialize to an appropriate value string message = string.Empty; // TODO: Initialize to an appropriate value bool highlighted = false; // TODO: Initialize to an appropriate value target.SetMessage(message, highlighted); Assert.Inconclusive("A method that does not return a value cannot be verified."); }
public void ShowProgressTest() { IDockingService dockingService = null; // TODO: Initialize to an appropriate value WabbitcodeStatusBar statusBar = null; // TODO: Initialize to an appropriate value WabbitcodeStatusBarService target = new WabbitcodeStatusBarService(dockingService, statusBar); // TODO: Initialize to an appropriate value target.ShowProgress(); Assert.Inconclusive("A method that does not return a value cannot be verified."); }
public void DisplayProgressTest() { WabbitcodeStatusBar target = new WabbitcodeStatusBar(); // TODO: Initialize to an appropriate value string taskName = string.Empty; // TODO: Initialize to an appropriate value double workDone = 0F; // TODO: Initialize to an appropriate value OperationStatus status = new OperationStatus(); // TODO: Initialize to an appropriate value target.DisplayProgress(taskName, workDone, status); Assert.Inconclusive("A method that does not return a value cannot be verified."); }
public void SetInsertModeTest() { IDockingService dockingService = null; // TODO: Initialize to an appropriate value WabbitcodeStatusBar statusBar = null; // TODO: Initialize to an appropriate value WabbitcodeStatusBarService target = new WabbitcodeStatusBarService(dockingService, statusBar); // TODO: Initialize to an appropriate value bool insertMode = false; // TODO: Initialize to an appropriate value target.SetInsertMode(insertMode); Assert.Inconclusive("A method that does not return a value cannot be verified."); }
public void SetProgressTest() { IDockingService dockingService = null; // TODO: Initialize to an appropriate value WabbitcodeStatusBar statusBar = null; // TODO: Initialize to an appropriate value WabbitcodeStatusBarService target = new WabbitcodeStatusBarService(dockingService, statusBar); // TODO: Initialize to an appropriate value double progress = 0F; // TODO: Initialize to an appropriate value string name = string.Empty; // TODO: Initialize to an appropriate value OperationStatus status = new OperationStatus(); // TODO: Initialize to an appropriate value target.SetProgress(progress, name, status); Assert.Inconclusive("A method that does not return a value cannot be verified."); }
public void SetCaretPositionTest() { IDockingService dockingService = null; // TODO: Initialize to an appropriate value WabbitcodeStatusBar statusBar = null; // TODO: Initialize to an appropriate value WabbitcodeStatusBarService target = new WabbitcodeStatusBarService(dockingService, statusBar); // TODO: Initialize to an appropriate value int x = 0; // TODO: Initialize to an appropriate value int y = 0; // TODO: Initialize to an appropriate value int charOffset = 0; // TODO: Initialize to an appropriate value target.SetCaretPosition(x, y, charOffset); Assert.Inconclusive("A method that does not return a value cannot be verified."); }
public void VisibleTest() { IDockingService dockingService = null; // TODO: Initialize to an appropriate value WabbitcodeStatusBar statusBar = null; // TODO: Initialize to an appropriate value WabbitcodeStatusBarService target = new WabbitcodeStatusBarService(dockingService, statusBar); // TODO: Initialize to an appropriate value bool expected = false; // TODO: Initialize to an appropriate value bool actual; target.Visible = expected; actual = target.Visible; Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public void WabbitcodeStatusBarServiceConstructorTest_Invalid_StatusBar() { Mock <IDockingService> dockingService = new Mock <IDockingService>(MockBehavior.Strict); WabbitcodeStatusBar statusBar = null; try { WabbitcodeStatusBarService target = new WabbitcodeStatusBarService(dockingService.Object, statusBar); } catch (ArgumentNullException ex) { Assert.IsTrue(ex.ParamName == "statusBar"); return; } Assert.Fail("No Exception thrown"); }
public void WabbitcodeStatusBarServiceConstructorTest_Invalid_DockingService() { IDockingService dockingService = null; WabbitcodeStatusBar statusBar = new WabbitcodeStatusBar(); try { WabbitcodeStatusBarService target = new WabbitcodeStatusBarService(dockingService, statusBar); } catch (ArgumentNullException ex) { Assert.IsTrue(ex.ParamName == "dockingService"); return; } Assert.Fail("No Exception thrown"); }
public void WabbitcodeStatusBarConstructorTest() { WabbitcodeStatusBar target = new WabbitcodeStatusBar(); Assert.Inconclusive("TODO: Implement code to verify target"); }
private static void Main(string[] args) { try { if (Settings.Default.FirstRun) { Settings.Default.Upgrade(); Settings.Default.FirstRun = false; Settings.Default.Save(); } } catch (ConfigurationErrorsException ex) { DockingService.ShowError("Error upgrading settings", ex); } Application.EnableVisualStyles(); DockPanel panel = new WabbitcodeDockPanel(); StatusStrip statusBar = new WabbitcodeStatusBar(); ToolStripContainer toolStripContainer = new WabbitcodeToolStripContainer(statusBar, panel); Task.Factory.StartNew(() => InitializeDependencies(panel, statusBar, toolStripContainer), TaskCreationOptions.PreferFairness); Task.Factory.StartNew(() => { FileLocations.InitDirs(); FileLocations.InitFiles(); HighlightingUtils.MakeHighlightingFile(); }); Task.Factory.StartNew(() => { if (!UpdateService.CheckForUpdate()) { return; } var result = MessageBox.Show("New version available. Download now?", "Update Available", MessageBoxButtons.YesNo, MessageBoxIcon.None); if (result != DialogResult.Yes) { return; } UpdateService.StartUpdater(); Application.Exit(); }); int numErrors = 0; AppBase appBase = new AppBase(toolStripContainer); #if !DEBUG try { #endif appBase.Run(args); #if !DEBUG } catch (Exception ex) { numErrors++; DockingService.ShowError("Unhandled exception occurred. Please report this to the developers", ex); } #endif if (numErrors == 0) { return; } do { try { appBase.DoEvents(); } catch (Exception ex) { numErrors++; DockingService.ShowError("Unhandled exception occurred. Please report this to the developers", ex); } } while (numErrors < 5); }