diff --git a/test/DocumentContextReaderTest.cpp b/test/DocumentContextReaderTest.cpp index 3ff5f12..91ce5b0 100644 --- a/test/DocumentContextReaderTest.cpp +++ b/test/DocumentContextReaderTest.cpp @@ -24,6 +24,19 @@ #include #include +namespace QodeAssist::PluginLLMCore { + +void PrintTo(const ContextData &data, std::ostream *os) +{ + *os << "ContextData{prefix=" + << (data.prefix ? data.prefix->toStdString() : "") + << ", suffix=" << (data.suffix ? data.suffix->toStdString() : "") + << ", fileContext=" << (data.fileContext ? data.fileContext->toStdString() : "") + << "}"; +} + +} // namespace QodeAssist::PluginLLMCore + using namespace QodeAssist::Context; using namespace QodeAssist::LLMCore; using namespace QodeAssist::Settings;