|
|
@ -27,8 +27,8 @@ class CodegenTestFull : public ::testing::Test {}; |
|
|
|
|
|
|
|
|
|
|
|
TEST_F(CodegenTestFull, Init) { |
|
|
|
TEST_F(CodegenTestFull, Init) { |
|
|
|
grpc::CompletionQueue cq; |
|
|
|
grpc::CompletionQueue cq; |
|
|
|
void* tag; |
|
|
|
void* tag = nullptr; |
|
|
|
bool ok; |
|
|
|
bool ok = false; |
|
|
|
cq.AsyncNext(&tag, &ok, gpr_time_0(GPR_CLOCK_REALTIME)); |
|
|
|
cq.AsyncNext(&tag, &ok, gpr_time_0(GPR_CLOCK_REALTIME)); |
|
|
|
ASSERT_FALSE(ok); |
|
|
|
ASSERT_FALSE(ok); |
|
|
|
} |
|
|
|
} |
|
|
|