MCPcopy Create free account
hub / github.com/cpputest/cpputest / setup

Function setup

tests/CppUTest/TestInstallerTest.cpp:45–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 TestRegistry* myRegistry;
44 TestInstallerTestUtestShell shell;
45 void setup()
46 {
47 myRegistry = new TestRegistry();
48 myRegistry->setCurrentRegistry(myRegistry);
49 testInstaller = new TestInstaller(shell, "TestInstaller", "test", __FILE__, __LINE__);
50 }
51 void teardown()
52 {
53 myRegistry->setCurrentRegistry(NULLPTR);

Callers

nothing calls this directly

Calls 1

setCurrentRegistryMethod · 0.80

Tested by

no test coverage detected