Example #1
0
 public TestEvent(string comment = "", DateTime started = default(DateTime), DateTime finished = default(DateTime))
 {
     Comment   = comment;
     Started   = started;
     Finished  = finished;
     EventInfo = new SimpleItemInfo();
 }
Example #2
0
 public TestEvent()
 {
     Comment   = "";
     Started   = default(DateTime);
     Finished  = default(DateTime);
     EventInfo = new SimpleItemInfo();
 }
Example #3
0
 public TestRun(string guid = "", string name = "", string fullName = "")
 {
     TestInfo = new ItemInfo
     {
         Guid   = guid.Equals("") ? Guid.Empty : Guid.Parse(guid),
         Start  = DateTime.Now,
         Finish = default(DateTime)
     };
     Name           = name;
     FullName       = fullName;
     Description    = "";
     TestStackTrace = "";
     TestMessage    = "";
     Result         = "";
     Output         = new SimpleItemInfo();
     Priority       = "";
     TestType       = "";
     Categories     = new string[] { };
     RunGuid        = Guid.Empty;
     Screenshots    = new List <SimpleItemInfo>();
     Events         = new List <TestEvent>();
     TestData       = new List <TestData>();
 }