MCPcopy Create free account
hub / github.com/Samsung/UTopia / TEST_F

Function TEST_F

tests/inputfilter/TestInputFilter.cpp:145–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143};
144
145TEST_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
159TEST_F(TestInputFilter, RawStringFilterN) {
160 const std::string Code = "#include <string>\n"

Callers

nothing calls this directly

Calls 5

getLLVMModuleMethod · 0.80
getSrcDirPathMethod · 0.80
startMethod · 0.45
setMethod · 0.45
createFileMethod · 0.45

Tested by

no test coverage detected