コード例 #1
0
 public Result(string name)
 {
     if (name == null)
         throw new ArgumentNullException("name");
     this.name = name;
     this.monitor = new TestMonitor();
 }
コード例 #2
0
 public void Update(TestMonitor monitor)
 {
     this.consoleError = UnitSerializer.XmlSerializerEscapeWorkAround(monitor.Console.Error);
     this.consoleOut = UnitSerializer.XmlSerializerEscapeWorkAround(monitor.Console.Out);
     this.startTime = monitor.Timer.StartTime.ToString("u");
     this.endTime = monitor.Timer.EndTime.ToString("u");
     this.duration = monitor.Timer.Duration;
     this.log = monitor.GetLog();
 }
コード例 #3
0
 public XmlMonitor(TestMonitor monitor)
 {
     this.Update(monitor);
 }