MCPcopy Create free account
hub / github.com/alibaba/proxima / TEST

Function TEST

tests/query/task_test.cc:32–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30const int kMillSeconds = 100;
31
32TEST(TaskTest, TestDefaultContructor) {
33 TaskImpl task(kName, kCode);
34 ASSERT_EQ(task.name(), kName);
35 ASSERT_EQ(task.status(), Task::Status::INITIALIZED);
36 ASSERT_FALSE(task.running());
37 ASSERT_FALSE(task.finished());
38}
39
40TEST(TaskTest, TestExitCode) {
41 TaskImpl task(kName, kCode);

Callers

nothing calls this directly

Calls 9

CreateTaskFunction · 0.85
exit_codeMethod · 0.80
joinMethod · 0.80
statusMethod · 0.45
runningMethod · 0.45
finishedMethod · 0.45
runMethod · 0.45
wait_finishMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected