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

Function TEST

src/colmap/util/controller_thread_test.cc:101–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99};
100
101TEST(ControllerThread, GetController) {
102 auto controller = std::make_shared<SimpleController>();
103 ControllerThread<SimpleController> thread(controller);
104 EXPECT_EQ(thread.GetController(), controller);
105}
106
107TEST(ControllerThread, RunExecutesControllerRun) {
108 auto controller = std::make_shared<SimpleController>();

Callers

nothing calls this directly

Calls 10

GetControllerMethod · 0.80
RunCalledMethod · 0.80
IsRunningMethod · 0.80
IsFinishedMethod · 0.80
IsStartedMethod · 0.80
StartMethod · 0.45
WaitMethod · 0.45
AddCallbackMethod · 0.45
StopMethod · 0.45
IsStoppedMethod · 0.45

Tested by

no test coverage detected