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

Method SetUp

tests/tcanalysis/TestBoostCallWriter.cpp:12–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10class TestBoostCallWriter : public TestBase {
11protected:
12 void SetUp() override {
13 ASSERT_TRUE(loadCPP(BoostCode));
14
15 Extractor = std::make_unique<BoostExtractor>(*SC.get());
16 ASSERT_TRUE(Extractor);
17 Extractor->load();
18 ASSERT_TRUE(Extractor->getTCNames().size() == 1);
19 TCName = Extractor->getTCNames()[0];
20 }
21
22 const std::string BoostCode = "#define BOOST_TEST_DYN_LINK\n"
23 "#define BOOST_TEST_MAIN\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