Lines Matching refs:assertStripByFields
81 void assertStripByFields(uint8_t dest, std::string expected, int size, Privacy* privacy, ...) { in assertStripByFields() function in PrivacyBufferTest
137 assertStripByFields(DEST_AUTOMATIC, "", 1, create_privacy(0, STRING_TYPE, DEST_UNSET)); in TEST_F()
142 assertStripByFields(DEST_EXPLICIT, "", 1, create_privacy(1, OTHER_TYPE, DEST_LOCAL)); in TEST_F()
147 assertStripByFields(DEST_EXPLICIT, "", 1, create_privacy(2, STRING_TYPE, DEST_LOCAL)); in TEST_F()
152 assertStripByFields(DEST_EXPLICIT, "", 1, create_privacy(3, OTHER_TYPE, DEST_LOCAL)); in TEST_F()
157 assertStripByFields(DEST_EXPLICIT, "", 1, create_privacy(4, OTHER_TYPE, DEST_LOCAL)); in TEST_F()
162 assertStripByFields(DEST_EXPLICIT, "", 1, create_privacy(5, MESSAGE_TYPE, DEST_LOCAL)); in TEST_F()
167 assertStripByFields(DEST_EXPLICIT, "", 1, create_privacy(6, OTHER_TYPE, DEST_LOCAL)); in TEST_F()
172 assertStripByFields(DEST_EXPLICIT, VARINT_FIELD_1, 1, in TEST_F()
178 assertStripByFields(DEST_EXPLICIT, STRING_FIELD_2, 1, in TEST_F()
184 assertStripByFields(DEST_EXPLICIT, FIX64_FIELD_3, 1, in TEST_F()
190 assertStripByFields(DEST_EXPLICIT, FIX32_FIELD_4, 1, in TEST_F()
196 assertStripByFields(DEST_EXPLICIT, MESSAGE_FIELD_5, 1, in TEST_F()
202 assertStripByFields(DEST_EXPLICIT, NEGATIVE_VARINT_FIELD_6, 1, in TEST_F()
210 assertStripByFields(DEST_EXPLICIT, expected, 2, create_privacy(1, OTHER_TYPE, DEST_LOCAL), in TEST_F()
218 assertStripByFields(DEST_EXPLICIT, expected, 2, create_privacy(1, OTHER_TYPE, DEST_LOCAL), in TEST_F()
226 assertStripByFields(DEST_EXPLICIT, expected, 1, create_message_privacy(5, list)); in TEST_F()
233 assertStripByFields(DEST_EXPLICIT, expected, 2, create_privacy(3, OTHER_TYPE, DEST_LOCAL), in TEST_F()
287 assertStripByFields(DEST_AUTOMATIC, expected, 1, autoMsg); in TEST_F()