Ejemplo n.º 1
0
        public WebConsoleResponse(string title, bool isAutomatedTool, HeadingService headingService, Action <IProgressStatus> processAction)
        {
            Assert.ArgumentNotNullOrEmpty(title, "title");
            Assert.ArgumentNotNull(processAction, "processAction");
            Assert.ArgumentNotNull(headingService, "headingService");

            _title           = title;
            _processAction   = processAction;
            _isAutomatedTool = isAutomatedTool;
            _headingService  = headingService;
        }
Ejemplo n.º 2
0
        public void ShouldReturnValidControlPanelHeading()
        {
            var service = new HeadingService();

            service.GetControlPanelHeadingHtml().Should().NotBeNullOrWhiteSpace();
        }
Ejemplo n.º 3
0
 public void Dispose()
 {
     headingService = null;
 }
Ejemplo n.º 4
0
 public void Init()
 {
     headingService = new HeadingService();
 }
Ejemplo n.º 5
0
 protected ControlPanelConsole(bool isAutomatedTool, HeadingService headingService)
 {
     _isAutomatedTool = isAutomatedTool;
     _headingService  = headingService;
 }