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

Method SetUp

tests/tcanalysis/TestTCTCallWriter.cpp:12–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10class TestTCTCallWriter : public TestBase {
11protected:
12 void SetUp() override {
13 ASSERT_TRUE(loadC(TCTCode));
14 Extractor = std::make_unique<TCTExtractor>(*SC.get());
15 ASSERT_TRUE(Extractor);
16 Extractor->load();
17 ASSERT_TRUE(Extractor->getTCNames().size() == 1);
18 TCName = Extractor->getTCNames()[0];
19 }
20
21 const std::string TCTCode = "typedef void (*void_fun_ptr)(void);\n"
22 "typedef void (*tc_fun_ptr)(void);\n"

Callers

nothing calls this directly

Calls 4

sizeMethod · 0.80
getTCNamesMethod · 0.80
getMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected