public CountingReportMetadata(string expectedSource, string actualSource, TestOperationResultType testOperationResultType, TestReportType testReportType) { this.ExpectedSource = Preconditions.CheckNonWhiteSpace(expectedSource, nameof(expectedSource)); this.ActualSource = Preconditions.CheckNonWhiteSpace(actualSource, nameof(actualSource)); this.TestOperationResultType = testOperationResultType; this.TestReportType = testReportType; }
public CountingReportMetadata(string expectedSource, string actualSource, TestOperationResultType testOperationResultType, TestReportType testReportType) { this.ExpectedSource = expectedSource; this.ActualSource = actualSource; this.TestOperationResultType = testOperationResultType; this.TestReportType = testReportType; }
internal SimpleReportGenerator( string trackingId, string source, ITestResultCollection <TestOperationResult> testResults, TestOperationResultType testOperationResultType) { this.trackingId = Preconditions.CheckNonWhiteSpace(trackingId, nameof(trackingId)); this.Source = Preconditions.CheckNonWhiteSpace(source, nameof(source)); this.TestResults = Preconditions.CheckNotNull(testResults, nameof(testResults)); this.ResultType = testOperationResultType.ToString(); }
public DirectMethodTestResult( string source, DateTime createdAt, string trackingId, Guid batchId, string sequenceNumber, HttpStatusCode result, TestOperationResultType testOperationResultType = TestOperationResultType.DirectMethod) : base(source, testOperationResultType, createdAt) { this.TrackingId = trackingId ?? string.Empty; this.BatchId = Preconditions.CheckNotNull(batchId, nameof(batchId)).ToString(); this.SequenceNumber = Preconditions.CheckNonWhiteSpace(sequenceNumber, nameof(sequenceNumber)); this.HttpStatusCode = result; }
public CountingReportMetadata( string testDescription, string expectedSource, string actualSource, TestOperationResultType testOperationResultType, TestReportType testReportType, bool longHaulEventHubMode) : base(testDescription) { this.ExpectedSource = Preconditions.CheckNonWhiteSpace(expectedSource, nameof(expectedSource)); this.ActualSource = Preconditions.CheckNonWhiteSpace(actualSource, nameof(actualSource)); this.TestOperationResultType = testOperationResultType; this.TestReportType = testReportType; this.LongHaulEventHubMode = longHaulEventHubMode; }
public TestResultBase(string source, TestOperationResultType resultType, DateTime createdAt) { this.Source = Preconditions.CheckNonWhiteSpace(source, nameof(source)); this.ResultType = resultType; this.CreatedAt = createdAt; }
public MessageTestResult(string source, DateTime createdAt, TestOperationResultType testOperationResultType = TestOperationResultType.Messages) : base(source, testOperationResultType, createdAt) { }