MCPcopy Create free account
hub / github.com/apache/brpc / expect_first_run

Method expect_first_run

test/bthread_timer_thread_unittest.cpp:76–79  ·  view source on GitHub ↗

verify the first run is in specified time range.

Source from the content-addressed store, hash-verified

74
75 // verify the first run is in specified time range.
76 void expect_first_run()
77 {
78 expect_first_run(_expect_run_time);
79 }
80
81 void expect_first_run(timespec expect_run_time)
82 {

Callers 1

TESTFunction · 0.80

Calls 2

timespec_diff_usFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected