Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
QtWarningMsg::EventsTest Class Reference

Fixture with a server, one custom event source and a connected client. More...

Inheritance diagram for QtWarningMsg::EventsTest:

Protected Member Functions

void SetUp () override
 Starts the server, adds the source and connects the client.
QJsonObject read (const QJsonObject &args={ })
 Calls event_read with the given arguments.

Protected Attributes

Server server
 Server under test.
QString name
 Local socket name.
QPointer< EventSource > source
 The "net" source (owned by the server).
std::unique_ptr< LocalClient > client
 Initialized client.

Detailed Description

Fixture with a server, one custom event source and a connected client.


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