Add list-tests protocol message, test subcommands, extract test handlers

This commit is contained in:
Ian Gulliver
2026-04-11 07:25:16 +09:00
parent f6d8847bcf
commit 34efaeefd5
8 changed files with 183 additions and 115 deletions

View File

@@ -74,6 +74,19 @@ struct ResponseLog {
auto as_tuple() { return std::tie(entries); }
};
struct RequestListTests {
static constexpr int8_t ext_id = 125;
auto as_tuple() const { return std::tie(); }
auto as_tuple() { return std::tie(); }
};
struct ResponseListTests {
static constexpr int8_t ext_id = 124;
std::vector<std::string> names;
auto as_tuple() const { return std::tie(names); }
auto as_tuple() { return std::tie(names); }
};
struct RequestTest {
static constexpr int8_t ext_id = 127;
std::string name;