Lines Matching refs:ASSERT_EQ

23   ASSERT_EQ(sizeof(rlimit), sizeof(rlimit64));  in TEST()
24 ASSERT_EQ(8U, sizeof(rlim_t)); in TEST()
27 ASSERT_EQ(4U, sizeof(rlim_t)); in TEST()
29 ASSERT_EQ(8U, sizeof(rlim64_t)); in TEST()
35 ASSERT_EQ(0, getrlimit(RLIMIT_CORE, &l32_)); in SetUp()
36 ASSERT_EQ(0, getrlimit64(RLIMIT_CORE, &l64_)); in SetUp()
37 ASSERT_EQ(0, prlimit(0, RLIMIT_CORE, nullptr, &pr_l32_)); in SetUp()
38 ASSERT_EQ(0, prlimit64(0, RLIMIT_CORE, nullptr, &pr_l64_)); in SetUp()
51 ASSERT_EQ(0, getrlimit(RLIMIT_CORE, &l32_)); in CheckResourceLimits()
52 ASSERT_EQ(0, getrlimit64(RLIMIT_CORE, &l64_)); in CheckResourceLimits()
53 ASSERT_EQ(0, prlimit(0, RLIMIT_CORE, nullptr, &pr_l32_)); in CheckResourceLimits()
54 ASSERT_EQ(0, prlimit64(0, RLIMIT_CORE, nullptr, &pr_l64_)); in CheckResourceLimits()
56 ASSERT_EQ(l32_.rlim_cur, pr_l32_.rlim_cur); in CheckResourceLimits()
57 ASSERT_EQ(l64_.rlim_cur, pr_l64_.rlim_cur); in CheckResourceLimits()
60 ASSERT_EQ(RLIM_INFINITY, l32_.rlim_cur); in CheckResourceLimits()
62 ASSERT_EQ(l64_.rlim_cur, l32_.rlim_cur); in CheckResourceLimits()
65 ASSERT_EQ(l32_.rlim_max, pr_l32_.rlim_max); in CheckResourceLimits()
66 ASSERT_EQ(l64_.rlim_max, pr_l64_.rlim_max); in CheckResourceLimits()
69 ASSERT_EQ(RLIM_INFINITY, l32_.rlim_max); in CheckResourceLimits()
71 ASSERT_EQ(l64_.rlim_max, l32_.rlim_max); in CheckResourceLimits()
88 ASSERT_EQ(0, setrlimit(RLIMIT_CORE, &l32_)); in TEST_F()
90 ASSERT_EQ(123U, l32_.rlim_cur); in TEST_F()
95 ASSERT_EQ(0, setrlimit64(RLIMIT_CORE, &l64_)); in TEST_F()
97 ASSERT_EQ(456U, l64_.rlim_cur); in TEST_F()
102 ASSERT_EQ(0, prlimit(0, RLIMIT_CORE, &pr_l32_, nullptr)); in TEST_F()
104 ASSERT_EQ(pr_l32_.rlim_max, pr_l32_.rlim_cur); in TEST_F()
109 ASSERT_EQ(0, prlimit64(0, RLIMIT_CORE, &pr_l64_, nullptr)); in TEST_F()
111 ASSERT_EQ(pr_l64_.rlim_max, pr_l64_.rlim_cur); in TEST_F()