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

Function TEST_F

test/anyflow/test_data.cpp:238–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236*/
237
238TEST_F(DataTest, closure_finish_when_data_ready) {
239 *a->emit<::std::string>() = "10086";
240 // mx.lock();
241 auto closure = graph->run(b);
242 ::usleep(100000);
243 // ASSERT_FALSE(closure.finished());
244 // mx.unlock();
245 ASSERT_EQ(0, closure.get());
246}
247
248/*
249TEST_F(DataTest, activate_data_fail_for_no_producer) {

Callers

nothing calls this directly

Calls 2

runMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected