27 references to InvokeAndAssertAsync
Microsoft.Extensions.AI.Tests (27)
ChatCompletion\FunctionInvokingChatClientApprovalsTests.cs (27)
53await InvokeAndAssertAsync(options, input, downstreamClientOutput, expectedOutput, additionalTools: useAdditionalTools ? tools : null);
92await InvokeAndAssertAsync(options, input, downstreamClientOutput, expectedOutput);
144await InvokeAndAssertAsync(options, input, downstreamClientOutput, expectedOutput, additionalTools: additionalTools);
192await InvokeAndAssertAsync(options, input, downstreamClientOutput, expectedOutput);
237await InvokeAndAssertAsync(options, input, downstreamClientOutput, expectedOutput);
288await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput);
341await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput);
400await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput);
459await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput);
523await InvokeAndAssertAsync(options, input, downstreamClientOutput, nonStreamingOutput, expectedDownstreamClientInput);
588await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput);
679await InvokeAndAssertAsync(options, input, downstreamClientOutput, nonStreamingOutput, expectedDownstreamClientInput);
739await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput);
793await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput);
856await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput);
1091async () => await InvokeAndAssertAsync(options, input, [], [], []));
1140await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput);
1184await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput);
1233await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput);
1281await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput);
1335await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput);
1386await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput);
1662await InvokeAndAssertAsync(options, input, downstreamClientOutput, expectedOutput);
1709var actualOutput = await InvokeAndAssertAsync(options, input, downstreamClientOutput, expectedOutput);
1757await InvokeAndAssertAsync(options, input, downstreamClientOutput, expectedOutput, additionalTools: useAdditionalTools ? tools : null);
1837await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput, additionalTools: useAdditionalTools ? tools : null);
1927await InvokeAndAssertAsync(options, input, downstreamClientOutput, output, expectedDownstreamClientInput, additionalTools: useAdditionalTools ? tools : null);