MCPcopy Create free account
hub / github.com/chen3feng/toft / TEST

Function TEST

system/threading/thread_test.cpp:20–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20TEST(Thread, Construct)
21{
22 int n = 0;
23 Thread thread(std::bind(ThreadCallback, &n));
24 thread.Join();
25 EXPECT_EQ(1, n);
26}
27
28TEST(Thread, Start)
29{

Callers

nothing calls this directly

Calls 6

JoinMethod · 0.45
StartMethod · 0.45
GetIdMethod · 0.45
IsAliveMethod · 0.45
DetachMethod · 0.45
IsJoinableMethod · 0.45

Tested by

no test coverage detected