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

Function TEST

tests/CppUTest/SimpleMutexTest.cpp:80–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78};
79
80TEST(SimpleMutexTest, CreateAndDestroy)
81{
82 {
83 SimpleMutex mtx;
84 }
85
86 CHECK_EQUAL(1, mutexCreateCount);
87 CHECK_EQUAL(1, mutexDestroyCount);
88 CHECK_EQUAL(0, mutexLockCount);
89 CHECK_EQUAL(0, mutexUnlockCount);
90}
91
92TEST(SimpleMutexTest, LockUnlockTest)
93{

Callers

nothing calls this directly

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected