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