reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
139 EXPECT_EQ("", highlightC("", s)); 146 EXPECT_EQ(" int i = <scalar>22</scalar>;", highlightC(" int i = 22;", s)); 154 highlightC("const char *f = 22 + \"foo\";", s)); 161 EXPECT_EQ(" f = \"", highlightC(" f = \"", s)); 168 EXPECT_EQ(" <k>return</k> 1; ", highlightC(" return 1; ", s)); 175 EXPECT_EQ("foo<c>:</c><c>:</c>bar<c>:</c>", highlightC("foo::bar:", s)); 182 EXPECT_EQ("a<b>{</b><b>}</b>", highlightC("a{}", s)); 189 EXPECT_EQ("a<sb>[</sb><sb>]</sb>", highlightC("a[]", s)); 197 highlightC(" bool f = foo(), 1;", s)); 205 highlightC("#include \"foo\" //c", s)); 213 highlightC(" /*com */ // com /*n*/", s)); 220 EXPECT_EQ(" 1[+]2[/]a[*]f[&]x[|][~]l", highlightC(" 1+2/a*f&x|~l", s)); 228 highlightC(" foo c = bar(); return 1;", s)); 236 highlightC(" foo c = bar(); return 1;", s, 0)); 238 highlightC(" foo c = bar(); return 1;", s, 1)); 240 highlightC(" foo c = bar(); return 1;", s, 2)); 242 highlightC(" foo c = bar(); return 1;", s, 3)); 244 highlightC(" foo c = bar(); return 1;", s, 4)); 246 highlightC(" foo c = bar(); return 1;", s, 5)); 253 EXPECT_EQ("f", highlightC("f", s, 1)); 259 EXPECT_EQ("f", highlightC("f", s, 2)); 260 EXPECT_EQ("f", highlightC("f", s, 3)); 261 EXPECT_EQ("f", highlightC("f", s, 4)); 270 highlightC(" foo c = bar(); return 1;", s, 0)); 279 highlightC(" foo c = bar(); return 1;", s, 4)); 288 highlightC(" foo c = bar(); return 1;", s, 1)); 290 highlightC(" foo c = bar(); return 1;", s, 2)); 292 highlightC(" foo c = bar(); return 1;", s, 3));