(executionId int, folderId int, totalTests int, testSet *api.TestSet, result *api.TestExecution)
| 30 | } |
| 31 | |
| 32 | func newTestRunStatusDone(executionId int, folderId int, totalTests int, testSet *api.TestSet, result *api.TestExecution) *testRunStatus { |
| 33 | return &testRunStatus{executionId, TestRunStatusDone, folderId, totalTests, totalTests, testSet, result, nil} |
| 34 | } |
| 35 | |
| 36 | func newTestRunStatusError(executionId int, err error) *testRunStatus { |
| 37 | return &testRunStatus{executionId, TestRunStatusError, -1, 0, 0, nil, nil, err} |