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

Fixture with introspection tools and a TestObject tree under the application. More...

Inheritance diagram for anonymous_namespace{test_introspection.cpp}::IntrospectionTest:

Protected Member Functions

void SetUp () override
 Installs the tools and builds the tree.
void TearDown () override
 Deletes the tree.
QString text (const QString &tool, const QJsonObject &args)
 Calls a tool and returns its text.
bool fails (const QString &tool, const QJsonObject &args)
 Calls a tool and reports whether it failed.

Protected Attributes

Server server
 Server under test.
QString name
 Local socket name.
TestObject * root = nullptr
 "iroot", child of the application.
TestObject * target = nullptr
 "target", with five plain QObject children.
TestObject * hidden = nullptr
 "hiddenOne", visible=false, with child "underHidden".
std::unique_ptr< LocalClient > client
 Initialized client.

Detailed Description

Fixture with introspection tools and a TestObject tree under the application.


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