Beispiel #1
0
 public TestResult(TestResultDao testResultDao, TestRunDao testRunDao)
 {
     TestRunMetaData = new TestRunMetaData(testRunDao);
     Name            = testResultDao.Name;
     Time            = testResultDao.Time;
     TestResultType  = testResultDao.TestResultType;
     EndTime         = testResultDao.EndTime;
     StartTime       = testResultDao.StartTime;
     SubTests        = JsonConvert.DeserializeObject <List <SubTest> >(testResultDao.SubtestsJson);
 }
Beispiel #2
0
 public TestResult(TestRunMetaData metaData, string name, TestResultType type, DateTime start, DateTime end, List <SubTest> subTests)
 {
     TestRunMetaData = metaData;
     Name            = name;
     TestResultType  = type;
     Time            = end.ToString("yyyy-MM-dd HH:mm:ss");
     EndTime         = end;
     StartTime       = start;
     SubTests        = subTests;
 }
Beispiel #3
0
 public TestRun(TestRunMetaData testRunMetaData, List <TestResult> results)
 {
     TestRunMetaData = testRunMetaData;
     Results         = results;
 }