Lines Matching refs:ASSERT_EQ
34 ASSERT_EQ(uv_kill(pid, -1), UV_EINVAL); in TEST_IMPL()
37 ASSERT_EQ(uv_kill(pid, NSIG), UV_EINVAL); in TEST_IMPL()
39 ASSERT_EQ(uv_kill(pid, 4096), UV_EINVAL); in TEST_IMPL()
58 ASSERT_EQ(uv_signal_start(&signal, signum_test_cb, 0), UV_EINVAL); in TEST_IMPL()
69 ASSERT_EQ(uv_signal_start(&signal, signum_test_cb, -1), UV_EINVAL); in TEST_IMPL()
70 ASSERT_EQ(uv_signal_start(&signal, signum_test_cb, NSIG), UV_EINVAL); in TEST_IMPL()
71 ASSERT_EQ(uv_signal_start(&signal, signum_test_cb, 1024), UV_EINVAL); in TEST_IMPL()
103 ASSERT_EQ(signum, ctx->signum); in signal_cb()
116 ASSERT_EQ(signum, ctx->signum); in signal_cb_one_shot()
117 ASSERT_EQ(1, ++ctx->ncalls); in signal_cb_one_shot()
166 ASSERT_EQ(tc.ncalls, NSIGNALS); in TEST_IMPL()
167 ASSERT_EQ(sc.ncalls, NSIGNALS); in TEST_IMPL()
171 ASSERT_EQ(tc.ncalls, NSIGNALS); in TEST_IMPL()
172 ASSERT_EQ(sc.ncalls, NSIGNALS); in TEST_IMPL()
180 ASSERT_EQ(tc.ncalls, NSIGNALS); in TEST_IMPL()
181 ASSERT_EQ(sc.ncalls, NSIGNALS); in TEST_IMPL()
204 ASSERT_EQ(sc[i].ncalls, NSIGNALS); in TEST_IMPL()
207 ASSERT_EQ(tc[i].ncalls, NSIGNALS); in TEST_IMPL()
223 ASSERT_EQ(tc.ncalls, NSIGNALS); in TEST_IMPL()
224 ASSERT_EQ(1, sc.ncalls); in TEST_IMPL()
228 ASSERT_EQ(1, sc.ncalls); in TEST_IMPL()
235 ASSERT_EQ(tc.ncalls, NSIGNALS); in TEST_IMPL()
236 ASSERT_EQ(1, sc.ncalls); in TEST_IMPL()
256 ASSERT_EQ(tc.ncalls, NSIGNALS); in TEST_IMPL()
257 ASSERT_EQ(1, sc[0].ncalls); in TEST_IMPL()
258 ASSERT_EQ(1, sc[1].ncalls); in TEST_IMPL()
269 ASSERT_EQ(tc.ncalls, NSIGNALS); in TEST_IMPL()
270 ASSERT_EQ(1, sc[0].ncalls); in TEST_IMPL()
271 ASSERT_EQ(1, sc[1].ncalls); in TEST_IMPL()
283 ASSERT_EQ(tc.ncalls, NSIGNALS); in TEST_IMPL()
284 ASSERT_EQ(sc[0].ncalls, NSIGNALS); in TEST_IMPL()
285 ASSERT_EQ(sc[1].ncalls, NSIGNALS); in TEST_IMPL()
299 ASSERT_EQ(tc.ncalls, NSIGNALS); in TEST_IMPL()
302 ASSERT_EQ(1, sc[2].ncalls); in TEST_IMPL()
303 ASSERT_EQ(1, sc[2].ncalls); in TEST_IMPL()
315 ASSERT_EQ(tc.ncalls, NSIGNALS); in TEST_IMPL()
317 ASSERT_EQ(1, sc[1].ncalls); in TEST_IMPL()
319 ASSERT_EQ(sc[3].ncalls, NSIGNALS); in TEST_IMPL()