Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
anonymous_namespace{test_toolcall.cpp}::ToolCallTest Class Reference

Fixture with a server whose "async" tool stores its call for the test to drive. More...

Inheritance diagram for anonymous_namespace{test_toolcall.cpp}::ToolCallTest:

Protected Member Functions

void SetUp () override
 Starts the server and registers the capturing tool.

Static Protected Member Functions

static QJsonObject callParams (const QJsonValue &progressToken={ })
 Builds tools/call params, optionally requesting progress.

Protected Attributes

Server server
 Server under test.
QString name
 Local socket name.
ToolCall pending
 The last call made to the "async" tool.

Detailed Description

Fixture with a server whose "async" tool stores its call for the test to drive.


The documentation for this class was generated from the following file:
  • tests/core/test_toolcall.cpp