예제 #1
0
        public void Handle(ScenarioStarting eventToHandle)
        {
            var id = eventToHandle.Scenario.Id;

            _remoteTask = FindScenarioTask(id);
            _server.TaskStarting(_remoteTask);

            if (_remoteTask == null)
            {
                return;
            }

            var outline = FindOutline(_remoteTask);

            if (outline != null && outline.IsFirstChild(((RunScenarioTask)_remoteTask).GetScenario().Id))
            {
                _server.TaskStarting(outline);
            }
        }
예제 #2
0
        public void Handle(ScenarioStarting eventToHandle)
        {
            var message = Format(TestStartedMessagePattern, eventToHandle.Scenario.Name);

            SendTeamCityServiceMessage(message);
        }
예제 #3
0
 public void Handle(ScenarioStarting eventToHandle)
 {
     _mruTypes = new List <Type>();
 }
예제 #4
0
 public void Handle(ScenarioStarting eventToHandle)
 {
     DoWrite(ConsoleColor.White, "\r\nSCENARIO: " + eventToHandle.Scenario.Name);
 }
예제 #5
0
 public void Handle(ScenarioStarting eventToHandle)
 {
     _currentScenarioElement = _doc.CreateElement(XmlNames.Scenario);
     _currentStoryElement.AppendChild(_currentScenarioElement);
 }