18 references to InvokeAndAssertAsync
Microsoft.Extensions.AI.Tests (18)
ChatCompletion\FunctionInvokingChatClientApprovalsTests.cs (18)
53await InvokeAndAssertAsync(options, input, downstreamClientOutput, expectedOutput, additionalTools: useAdditionalTools ? tools : null); 89await InvokeAndAssertAsync(options, input, downstreamClientOutput, expectedOutput); 133await InvokeAndAssertAsync(options, input, downstreamClientOutput, expectedOutput, additionalTools: additionalTools); 184await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput); 237await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput); 296await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput); 355await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput); 419await InvokeAndAssertAsync(options, input, downstreamClientOutput, nonStreamingOutput, expectedDownstreamClientInput); 484await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput); 575await InvokeAndAssertAsync(options, input, downstreamClientOutput, nonStreamingOutput, expectedDownstreamClientInput); 635await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput); 689await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput); 752await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput); 842async () => await InvokeAndAssertAsync(options, input, [], [], [])); 891await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput); 935await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput); 1152await InvokeAndAssertAsync(options, input, downstreamClientOutput, expectedOutput); 1199var actualOutput = await InvokeAndAssertAsync(options, input, downstreamClientOutput, expectedOutput);