#include "lldb/Expression/DiagnosticManager.h"
#include "gtest/gtest.h"
usingnamespacelldb_private;
static const uint32_t custom_diag_id = …;
namespace {
class FixItDiag : public Diagnostic { … };
}
namespace {
class TextDiag : public Diagnostic { … };
}
TEST(DiagnosticManagerTest, AddDiagnostic) { … }
TEST(DiagnosticManagerTest, HasFixits) { … }
TEST(DiagnosticManagerTest, GetStringNoDiags) { … }
TEST(DiagnosticManagerTest, GetStringBasic) { … }
TEST(DiagnosticManagerTest, GetStringMultiline) { … }
TEST(DiagnosticManagerTest, GetStringMultipleDiags) { … }
TEST(DiagnosticManagerTest, GetStringSeverityLabels) { … }
TEST(DiagnosticManagerTest, GetStringPreserveOrder) { … }
TEST(DiagnosticManagerTest, AppendMessageNoDiag) { … }
TEST(DiagnosticManagerTest, AppendMessageAttachToLastDiag) { … }
TEST(DiagnosticManagerTest, AppendMessageSubsequentDiags) { … }
TEST(DiagnosticManagerTest, PutString) { … }
TEST(DiagnosticManagerTest, PutStringMultiple) { … }
TEST(DiagnosticManagerTest, PutStringSeverities) { … }
TEST(DiagnosticManagerTest, FixedExpression) { … }