Ejemplo n.º 1
0
        public void GetDefaultTodoMarkersTest()
        {
            var configService = new ConfigurationLoader();

            ToDoMarker[] markers = configService.GetDefaultTodoMarkers();
            Assert.AreEqual("NOTE:", markers[0].Text,"Note failed to load.");
            Assert.AreEqual("TODO:", markers[1].Text,"Todo failed to load.");
            Assert.AreEqual("BUG:", markers[2].Text,"Bug failed to load.");
        }
Ejemplo n.º 2
0
        public void GetDefaultTodoMarkersTest()
        {
            var configService = new ConfigurationLoader();

            ToDoMarker[] markers = configService.GetDefaultTodoMarkers();
            Assert.AreEqual("NOTE:", markers[0].Text, "Note failed to load.");
            Assert.AreEqual("TODO:", markers[1].Text, "Todo failed to load.");
            Assert.AreEqual("BUG:", markers[2].Text, "Bug failed to load.");
        }
Ejemplo n.º 3
0
        public void Intialize()
        {
            _addin = new Mock<AddIn>();
            _view = new Mock<IToDoExplorerWindow>();

            _window = RdMockFacotry.CreateWindowMock();
            _windows = new MockWindowsCollection(_window.Object);

            _loader = new ConfigurationLoader();
            _markers = _loader.GetDefaultTodoMarkers();

            _gridViewSorter = new GridViewSort<ToDoItem>("Priority", false);
        }
Ejemplo n.º 4
0
        public void Intialize()
        {
            _addin = new Mock <AddIn>();
            _view  = new Mock <IToDoExplorerWindow>();

            _window  = RdMockFacotry.CreateWindowMock();
            _windows = new MockWindowsCollection(_window.Object);

            _loader  = new ConfigurationLoader();
            _markers = _loader.GetDefaultTodoMarkers();

            _gridViewSorter = new GridViewSort <ToDoItem>("Priority", false);
        }