MCPcopy Create free account
hub / github.com/BVLC/caffe / TEST_F

Function TEST_F

src/caffe/test/test_internal_thread.cpp:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12class InternalThreadTest : public ::testing::Test {};
13
14TEST_F(InternalThreadTest, TestStartAndExit) {
15 InternalThread thread;
16 EXPECT_FALSE(thread.is_started());
17 thread.StartInternalThread();
18 EXPECT_TRUE(thread.is_started());
19 thread.StopInternalThread();
20 EXPECT_FALSE(thread.is_started());
21}
22
23class TestThreadA : public InternalThread {
24 void InternalThreadEntry() {

Callers

nothing calls this directly

Calls 4

set_random_seedFunction · 0.85
is_startedMethod · 0.80
StartInternalThreadMethod · 0.80
StopInternalThreadMethod · 0.80

Tested by

no test coverage detected