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

A notebook with two notes, its automation interface listening. More...

Inheritance diagram for anonymous_namespace{test_notebook.cpp}::NotebookTest:

Protected Member Functions

void SetUp () override
 Adds the two notes and starts listening.

Static Protected Member Functions

static QStringList titles (LocalClient &c)
 The note titles, as note_list gives them.
static bool isError (const QJsonObject &result)
 Whether a tool result is an error.

Protected Attributes

NotesStore store
 The notes.
ScriptedAsker asker
 The "user".
Automation automation { &store, &asker }
 The interface under test.
QString name
 Its socket.

Detailed Description

A notebook with two notes, its automation interface listening.


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