| 143 | }; |
| 144 | |
| 145 | TEST_F(TestInputFilter, RawStringFilterP) { |
| 146 | const std::string Code = "#include <string>\n" |
| 147 | "extern \"C\" {\n" |
| 148 | "void test() { std::string Var1 = R\"(Hello)\"; }\n" |
| 149 | "}"; |
| 150 | ASSERT_TRUE(loadCPP(Code)); |
| 151 | |
| 152 | auto Node = generateASTIRNode("test", 0, 6, 1); |
| 153 | ASSERT_TRUE(Node); |
| 154 | |
| 155 | RawStringFilter Filter; |
| 156 | ASSERT_TRUE(Filter.start(*Node)); |
| 157 | } |
| 158 | |
| 159 | TEST_F(TestInputFilter, RawStringFilterN) { |
| 160 | const std::string Code = "#include <string>\n" |
nothing calls this directly
no test coverage detected