Lines Matching refs:ASSERT_EQ

65     ASSERT_EQ(true, CgroupGetControllerPath(CGROUPV2_CONTROLLER_NAME, &cg2_path));  in TEST_F()
67 ASSERT_EQ(true, CgroupGetControllerPath(CGROUPV2_CONTROLLER_NAME, nullptr)); in TEST_F()
71 ASSERT_EQ(0, access(cg2_path.c_str(), R_OK)); in TEST_F()
72 ASSERT_EQ(0, access((cg2_path + "/cgroup.controllers").c_str(), R_OK)); in TEST_F()
78 ASSERT_EQ(0, access(BPF_EGRESS_PROG_PATH, R_OK)); in TEST_F()
79 ASSERT_EQ(0, access(BPF_INGRESS_PROG_PATH, R_OK)); in TEST_F()
80 ASSERT_EQ(0, access(XT_BPF_INGRESS_PROG_PATH, R_OK)); in TEST_F()
81 ASSERT_EQ(0, access(XT_BPF_EGRESS_PROG_PATH, R_OK)); in TEST_F()
82 ASSERT_EQ(0, access(COOKIE_TAG_MAP_PATH, R_OK)); in TEST_F()
83 ASSERT_EQ(0, access(UID_COUNTERSET_MAP_PATH, R_OK)); in TEST_F()
84 ASSERT_EQ(0, access(STATS_MAP_A_PATH, R_OK)); in TEST_F()
85 ASSERT_EQ(0, access(STATS_MAP_B_PATH, R_OK)); in TEST_F()
86 ASSERT_EQ(0, access(IFACE_INDEX_NAME_MAP_PATH, R_OK)); in TEST_F()
87 ASSERT_EQ(0, access(IFACE_STATS_MAP_PATH, R_OK)); in TEST_F()
88 ASSERT_EQ(0, access(CONFIGURATION_MAP_PATH, R_OK)); in TEST_F()
89 ASSERT_EQ(0, access(UID_OWNER_MAP_PATH, R_OK)); in TEST_F()
95 ASSERT_EQ(0, access(CGROUP_SOCKET_PROG_PATH, R_OK)); in TEST_F()
96 ASSERT_EQ(0, access(UID_PERMISSION_MAP_PATH, R_OK)); in TEST_F()
108 ASSERT_EQ(0, qtaguid_tagSocket(sock, TEST_TAG, TEST_UID)); in TEST_F()
111 ASSERT_EQ(TEST_UID, tagResult.value().uid); in TEST_F()
112 ASSERT_EQ(TEST_TAG, tagResult.value().tag); in TEST_F()
113 ASSERT_EQ(0, qtaguid_untagSocket(sock)); in TEST_F()
116 ASSERT_EQ(ENOENT, tagResult.error().code()); in TEST_F()
128 ASSERT_EQ(0, qtaguid_tagSocket(sock, TEST_TAG, TEST_UID)); in TEST_F()
131 ASSERT_EQ(TEST_UID, tagResult.value().uid); in TEST_F()
132 ASSERT_EQ(TEST_TAG, tagResult.value().tag); in TEST_F()
133 ASSERT_EQ(0, close(sock)); in TEST_F()
139 ASSERT_EQ(ENOENT, tagResult.error().code()); in TEST_F()
151 ASSERT_EQ(0, qtaguid_setCounterSet(TEST_COUNTERSET, TEST_UID)); in TEST_F()
155 ASSERT_EQ(TEST_COUNTERSET, counterSetResult.value()); in TEST_F()
156 ASSERT_EQ(0, qtaguid_setCounterSet(DEFAULT_COUNTERSET, TEST_UID)); in TEST_F()
159 ASSERT_EQ(ENOENT, counterSetResult.error().code()); in TEST_F()
179 ASSERT_EQ(0, qtaguid_deleteTagData(0, TEST_UID)); in TEST_F()
182 ASSERT_EQ(ENOENT, statsResult.error().code()); in TEST_F()
185 ASSERT_EQ(ENOENT, statsResult.error().code()); in TEST_F()
189 ASSERT_EQ(ENOENT, statsResult.error().code()); in TEST_F()