#include "lldb/Utility/DiagnosticsRendering.h" #include "lldb/Utility/StreamString.h" #include "gtest/gtest.h" usingnamespacelldb_private; usingnamespacelldb; StringRef; namespace { class ErrorDisplayTest : public ::testing::Test { … }; std::string Render(std::vector<DiagnosticDetail> details) { … } } // namespace TEST_F(ErrorDisplayTest, RenderStatus) { … }