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

A server with small limits, an HTTP listener, a local listener and a tool that never finishes on its own. More...

Inheritance diagram for anonymous_namespace{test_limits.cpp}::LimitsTest:

Protected Member Functions

void SetUp () override
 Applies the limits from limits() before listening, so the transports pick them up.
virtual ServerLimits limits () const
 The limits under test.

Static Protected Member Functions

static QByteArray initializeBody ()
 An initialize request body.

Protected Attributes

Server server
 Server under test.
quint16 port = 0
 HTTP port.
QString name
 Local socket name.
QList< ToolCall > held
 Calls to the "hold" tool, unfinished.

Detailed Description

A server with small limits, an HTTP listener, a local listener and a tool that never finishes on its own.


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