10#include "gtest/gtest.h"
18TEST_F(AnnotateHighlightingsTest, Test) {
21 EXPECT_EQ(
"void /* Function [decl] [def] [globalScope] */f() {}",
22 apply(
"void ^f() {}"));
24 EXPECT_EQ(apply(
"[[int f1(); const int x = f1();]]"),
25 "int /* Function [decl] [globalScope] */f1(); "
26 "const int /* Variable [decl] [def] [readonly] [fileScope] */x = "
27 "/* Function [globalScope] */f1();");
30 EXPECT_EQ(apply(
"void f1(); void f2() {^}"),
32 "void /* Function [decl] [def] [globalScope] */f2() {}");
#define TWEAK_TEST(TweakID)
#define EXPECT_AVAILABLE(MarkedCode)
TEST_F(BackgroundIndexTest, NoCrashOnErrorFile)
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//