public TestRunMetaData(TestRunDao testRunDao) { Id = testRunDao.Id; BuildNumber = testRunDao.BuildNumber; Duration = testRunDao.Duration; TestRunType = testRunDao.TestRunType; FlytApplicationType = testRunDao.FlytApplicationType; LastRun = testRunDao.LastRun; OriginalFileName = testRunDao.OriginalFileName; }
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); }
public TestRun(TestRunDao testRunDao) { Time = testRunDao.Time; RunCount = testRunDao.RunCount; }