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

Function TEST_F

cpp/src/parquet/encryption/write_configurations_test.cc:93–98  ·  view source on GitHub ↗

Encryption configuration 1: Encrypt all columns and the footer with the same key. (uniform encryption)

Source from the content-addressed store, hash-verified

91// Encryption configuration 1: Encrypt all columns and the footer with the same key.
92// (uniform encryption)
93TEST_F(TestEncryptionConfiguration, UniformEncryption) {
94 FileEncryptionProperties::Builder file_encryption_builder_1(kFooterEncryptionKey_);
95
96 this->EncryptFile(file_encryption_builder_1.footer_key_metadata("kf")->build(),
97 "tmp_uniform_encryption.parquet.encrypted");
98}
99
100// Encryption configuration 2: Encrypt two columns and the footer, with different keys.
101TEST_F(TestEncryptionConfiguration, EncryptTwoColumnsAndTheFooter) {

Callers

nothing calls this directly

Calls 7

footer_key_metadataMethod · 0.80
encrypted_columnsMethod · 0.80
aad_prefixMethod · 0.80
EncryptFileMethod · 0.45
buildMethod · 0.45
algorithmMethod · 0.45

Tested by

no test coverage detected