Lines Matching refs:ASSERT_EQ
236 ASSERT_EQ(0, self->check); in TEST_F()
237 ASSERT_EQ(0, reg_enable(&self->check, sizeof(int), 0)); in TEST_F()
238 ASSERT_EQ(0, change_event(true)); in TEST_F()
239 ASSERT_EQ(1, self->check); in TEST_F()
240 ASSERT_EQ(0, change_event(false)); in TEST_F()
241 ASSERT_EQ(0, self->check); in TEST_F()
244 ASSERT_EQ(0, change_event(true)); in TEST_F()
245 ASSERT_EQ(1, self->check); in TEST_F()
246 ASSERT_EQ(0, reg_disable(&self->check, 0)); in TEST_F()
247 ASSERT_EQ(0, self->check); in TEST_F()
250 ASSERT_EQ(0, change_event(true)); in TEST_F()
251 ASSERT_EQ(0, self->check); in TEST_F()
252 ASSERT_EQ(0, change_event(false)); in TEST_F()
257 ASSERT_EQ(0, reg_enable_flags(&self->check, sizeof(int), 0, in TEST_F()
259 ASSERT_EQ(0, reg_disable(&self->check, 0)); in TEST_F()
265 ASSERT_EQ(0, event_delete()); in TEST_F()
268 ASSERT_EQ(-1, reg_enable_flags(&self->check, sizeof(int), 0, in TEST_F()
277 ASSERT_EQ(0, reg_enable(&self->check, sizeof(int), 0)); in TEST_F()
278 ASSERT_EQ(0, reg_enable(&self->check, sizeof(int), 31)); in TEST_F()
280 ASSERT_EQ(0, reg_disable(&self->check, 0)); in TEST_F()
281 ASSERT_EQ(0, reg_disable(&self->check, 31)); in TEST_F()
285 ASSERT_EQ(0, reg_enable(&self->check_long, sizeof(long), 63)); in TEST_F()
287 ASSERT_EQ(0, reg_disable(&self->check_long, 63)); in TEST_F()
307 ASSERT_EQ(0, reg_enable_multi(&self->check, sizeof(int), 0, in TEST_F()
310 ASSERT_EQ(0, reg_enable_multi(&self->check, sizeof(int), 1, in TEST_F()
314 ASSERT_EQ(0, reg_enable_multi(&self->check, sizeof(int), 2, in TEST_F()
317 ASSERT_EQ(0, find_multi_event_dir("multi_first", in TEST_F()
320 ASSERT_EQ(0, find_multi_event_dir("multi_second", in TEST_F()
327 ASSERT_EQ(0, stat(first_dir, &buf)); in TEST_F()
330 ASSERT_EQ(0, reg_disable(&self->check, 0)); in TEST_F()
331 ASSERT_EQ(0, wait_for_delete(first_dir)); in TEST_F()
334 ASSERT_EQ(0, stat(second_dir, &buf)); in TEST_F()
337 ASSERT_EQ(0, reg_disable(&self->check, 1)); in TEST_F()
339 ASSERT_EQ(0, stat(second_dir, &buf)); in TEST_F()
340 ASSERT_EQ(0, reg_disable(&self->check, 2)); in TEST_F()
341 ASSERT_EQ(0, wait_for_delete(second_dir)); in TEST_F()
348 ASSERT_EQ(0, reg_enable(&self->check, sizeof(int), 0)); in TEST_F()
349 ASSERT_EQ(0, self->check); in TEST_F()
368 ASSERT_EQ(0, change_event(true)); in TEST_F()
371 ASSERT_EQ(0, WEXITSTATUS(i)); in TEST_F()
378 ASSERT_EQ(0, WEXITSTATUS(i)); in TEST_F()
379 ASSERT_EQ(1, self->check); in TEST_F()
380 ASSERT_EQ(0, change_event(false)); in TEST_F()
381 ASSERT_EQ(0, self->check); in TEST_F()
406 ASSERT_EQ(0, reg_enable(&self->check, sizeof(int), 0)); in TEST_F()
407 ASSERT_EQ(0, self->check); in TEST_F()
413 ASSERT_EQ(0, change_event(true)); in TEST_F()
415 ASSERT_EQ(0, WEXITSTATUS(i)); in TEST_F()
417 ASSERT_EQ(0, change_event(false)); in TEST_F()