MCPcopy Create free account
hub / github.com/apache/arrow / TEST_F

Function TEST_F

cpp/src/parquet/encryption/key_management_test.cc:257–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255};
256
257TEST_F(TestEncryptionKeyManagement, WrapLocally) {
258 this->SetupCryptoFactory(true);
259
260 for (const bool internal_key_material : {false, true}) {
261 for (const bool double_wrapping : {false, true}) {
262 for (int encryption_no = 0; encryption_no < 4; encryption_no++) {
263 this->WriteEncryptedParquetFile(double_wrapping, internal_key_material,
264 encryption_no);
265 this->ReadEncryptedParquetFile(double_wrapping, internal_key_material,
266 encryption_no);
267 }
268 }
269 }
270}
271
272TEST_F(TestEncryptionKeyManagement, WrapOnServer) {
273 this->SetupCryptoFactory(false);

Callers

nothing calls this directly

Calls 15

to_stringFunction · 0.85
SetupCryptoFactoryMethod · 0.80
RotateKeysMethod · 0.80
data_fileFunction · 0.70
ToStringMethod · 0.45

Tested by

no test coverage detected