Lines Matching refs:ASSERT_EQ

60     ASSERT_EQ(true, CgroupGetControllerPath(CGROUPV2_CONTROLLER_NAME, &cg2_path));  in TEST_F()
61 ASSERT_EQ(0, access(cg2_path.c_str(), R_OK)); in TEST_F()
62 ASSERT_EQ(0, access((cg2_path + "/cgroup.controllers").c_str(), R_OK)); in TEST_F()
66 ASSERT_EQ(0, access(BPF_EGRESS_PROG_PATH, R_OK)); in TEST_F()
67 ASSERT_EQ(0, access(BPF_INGRESS_PROG_PATH, R_OK)); in TEST_F()
68 ASSERT_EQ(0, access(XT_BPF_INGRESS_PROG_PATH, R_OK)); in TEST_F()
69 ASSERT_EQ(0, access(XT_BPF_EGRESS_PROG_PATH, R_OK)); in TEST_F()
70 ASSERT_EQ(0, access(COOKIE_TAG_MAP_PATH, R_OK)); in TEST_F()
71 ASSERT_EQ(0, access(UID_COUNTERSET_MAP_PATH, R_OK)); in TEST_F()
72 ASSERT_EQ(0, access(STATS_MAP_A_PATH, R_OK)); in TEST_F()
73 ASSERT_EQ(0, access(STATS_MAP_B_PATH, R_OK)); in TEST_F()
74 ASSERT_EQ(0, access(IFACE_INDEX_NAME_MAP_PATH, R_OK)); in TEST_F()
75 ASSERT_EQ(0, access(IFACE_STATS_MAP_PATH, R_OK)); in TEST_F()
76 ASSERT_EQ(0, access(CONFIGURATION_MAP_PATH, R_OK)); in TEST_F()
77 ASSERT_EQ(0, access(UID_OWNER_MAP_PATH, R_OK)); in TEST_F()
83 ASSERT_EQ(0, access(CGROUP_SOCKET_PROG_PATH, R_OK)); in TEST_F()
84 ASSERT_EQ(0, access(UID_PERMISSION_MAP_PATH, R_OK)); in TEST_F()
94 ASSERT_EQ(0, qtaguid_tagSocket(sock, TEST_TAG, TEST_UID)); in TEST_F()
97 ASSERT_EQ(TEST_UID, tagResult.value().uid); in TEST_F()
98 ASSERT_EQ(TEST_TAG, tagResult.value().tag); in TEST_F()
99 ASSERT_EQ(0, qtaguid_untagSocket(sock)); in TEST_F()
102 ASSERT_EQ(ENOENT, tagResult.error().code()); in TEST_F()
112 ASSERT_EQ(0, qtaguid_tagSocket(sock, TEST_TAG, TEST_UID)); in TEST_F()
115 ASSERT_EQ(TEST_UID, tagResult.value().uid); in TEST_F()
116 ASSERT_EQ(TEST_TAG, tagResult.value().tag); in TEST_F()
117 ASSERT_EQ(0, close(sock)); in TEST_F()
123 ASSERT_EQ(ENOENT, tagResult.error().code()); in TEST_F()
133 ASSERT_EQ(0, qtaguid_setCounterSet(TEST_COUNTERSET, TEST_UID)); in TEST_F()
137 ASSERT_EQ(TEST_COUNTERSET, counterSetResult.value()); in TEST_F()
138 ASSERT_EQ(0, qtaguid_setCounterSet(DEFAULT_COUNTERSET, TEST_UID)); in TEST_F()
141 ASSERT_EQ(ENOENT, counterSetResult.error().code()); in TEST_F()
159 ASSERT_EQ(0, qtaguid_deleteTagData(0, TEST_UID)); in TEST_F()
162 ASSERT_EQ(ENOENT, statsResult.error().code()); in TEST_F()
165 ASSERT_EQ(ENOENT, statsResult.error().code()); in TEST_F()
169 ASSERT_EQ(ENOENT, statsResult.error().code()); in TEST_F()