MCPcopy Create free account
hub / github.com/baidu/babylon / SetUp

Method SetUp

test/coroutine/test_cancelable.cpp:18–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17struct CoroutineCancelableTest : public ::testing::Test {
18 virtual void SetUp() override {
19 executor.set_worker_number(8);
20 executor.start();
21 }
22
23 static void assert_in_executor(Executor& executor) {
24 if (!executor.is_running_in()) {

Callers

nothing calls this directly

Calls 2

set_worker_numberMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected