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

Function TEST

tests/CppUTest/TestMemoryAllocatorTest.cpp:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50};
51
52TEST(TestMemoryAllocatorTest, SetCurrentNewAllocator)
53{
54 allocator = new TestMemoryAllocator("new allocator for test");
55 setCurrentNewAllocator(allocator);
56 POINTERS_EQUAL(allocator, getCurrentNewAllocator());
57}
58
59TEST(TestMemoryAllocatorTest, SetCurrentNewAllocatorToDefault)
60{

Callers

nothing calls this directly

Tested by

no test coverage detected