13 references to TheorySubject
System.ServiceModel.Primitives.Tests (13)
Infrastructure\RetryOnFailureTests.cs (13)
118TheorySubject.Attempts = new int[3];
120string methodName = nonSerializableData ? nameof(TheorySubject.WithNonSerializableRows) : nameof(TheorySubject.Run);
121ExecutionResult result = await ExecuteAsync(typeof(TheorySubject), methodName, preEnumerateTheories);
123Assert.Equal(new[] { 1, 2, 3 }, TheorySubject.Attempts);
141TheorySubject.Attempts = new int[3];
144typeof(TheorySubject), nameof(TheorySubject.SingleAttempt), preEnumerateTheories);
146Assert.Equal(new[] { 1, 1, 1 }, TheorySubject.Attempts);
159TheorySubject.Attempts = new int[3];
162typeof(TheorySubject), nameof(TheorySubject.WithSkippedRow), preEnumerateTheories);
164Assert.Equal(new[] { 0, 2, 0 }, TheorySubject.Attempts);