MCPcopy Create free account
hub / github.com/NetSys/bess / SetUp

Method SetUp

core/metadata_test.cc:86–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 MetadataTest() : m0(), m1(), Foo_singleton() {}
85
86 virtual void SetUp() {
87 default_pipeline.CleanupMetadataComputation();
88 default_pipeline.registered_attrs_.clear();
89 m0 = ::create_foo();
90 m1 = ::create_foo();
91 ASSERT_TRUE(m0);
92 ASSERT_TRUE(m1);
93 }
94
95 virtual void TearDown() { ModuleGraph::DestroyAllModules(); }
96

Callers

nothing calls this directly

Calls 3

create_fooFunction · 0.85
clearMethod · 0.80

Tested by

no test coverage detected