MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3-linux / SetUp

Method SetUp

src/tests/unit/machine-id.cpp:109–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107{
108 protected:
109 void SetUp() override
110 {
111 try
112 {
113 refid.reset(new ReferenceID("unit-test_machine-id"));
114 }
115 catch (MachineIDException &excp)
116 {
117 FAIL() << excp.what();
118 }
119 }
120
121 void TearDown() override
122 {

Callers

nothing calls this directly

Calls 2

resetMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected