6 instantiations of ExpectedException
Microsoft.Extensions.DataIngestion.Tests (6)
IngestionPipelineTests.cs (1)
194
? Task.FromException<IngestionDocument>(new
ExpectedException
())
Processors\AlternativeTextEnricherTests.cs (1)
166
GetResponseAsyncCallback = (messages, options, cancellationToken) => Task.FromException<ChatResponse>(new
ExpectedException
())
Processors\ClassificationEnricherTests.cs (1)
105
GetResponseAsyncCallback = (messages, options, cancellationToken) => Task.FromException<ChatResponse>(new
ExpectedException
())
Processors\KeywordEnricherTests.cs (1)
105
GetResponseAsyncCallback = (messages, options, cancellationToken) => Task.FromException<ChatResponse>(new
ExpectedException
())
Processors\SentimentEnricherTests.cs (1)
92
GetResponseAsyncCallback = (messages, options, cancellationToken) => Task.FromException<ChatResponse>(new
ExpectedException
())
Processors\SummaryEnricherTests.cs (1)
89
GetResponseAsyncCallback = (messages, options, cancellationToken) => Task.FromException<ChatResponse>(new
ExpectedException
())
7 references to ExpectedException
Microsoft.Extensions.DataIngestion.Tests (7)
IngestionPipelineTests.cs (2)
216
Assert.IsType<
ExpectedException
>(ingestionResult.Exception);
259
Assert.All(failed, a => Assert.Equal(
ExpectedException
.ExceptionMessage, a.StatusDescription));
Processors\AlternativeTextEnricherTests.cs (1)
180
Assert.IsType<
ExpectedException
>(record.Exception);
Processors\ClassificationEnricherTests.cs (1)
117
Assert.IsType<
ExpectedException
>(collector.LatestRecord.Exception);
Processors\KeywordEnricherTests.cs (1)
117
Assert.IsType<
ExpectedException
>(collector.LatestRecord.Exception);
Processors\SentimentEnricherTests.cs (1)
104
Assert.IsType<
ExpectedException
>(collector.LatestRecord.Exception);
Processors\SummaryEnricherTests.cs (1)
101
Assert.IsType<
ExpectedException
>(collector.LatestRecord.Exception);