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

Function TEST_F

cpp/src/parquet/encryption/write_configurations_test.cc:101–106  ·  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

99// Encryption configuration 1: Encrypt all columns and the footer with the same key.
100// (uniform encryption)
101TEST_F(TestEncryptionConfiguration, UniformEncryption) {
102 FileEncryptionProperties::Builder file_encryption_builder_1(kFooterEncryptionKey_);
103
104 this->EncryptFile(file_encryption_builder_1.footer_key_metadata("kf")->build(),
105 "tmp_uniform_encryption.parquet.encrypted");
106}
107
108// Encryption configuration 2: Encrypt two columns and the footer, with different keys.
109TEST_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