| 506 | } |
| 507 | |
| 508 | std::shared_ptr<const KeyValueMetadata> KeyValueMetadataForTest() { |
| 509 | return arrow::key_value_metadata({ |
| 510 | {"Cache-Control", "test-only-cache-control"}, |
| 511 | {"Content-Disposition", "test-only-content-disposition"}, |
| 512 | {"Content-Encoding", "test-only-content-encoding"}, |
| 513 | {"Content-Language", "test-only-content-language"}, |
| 514 | {"Content-Type", "test-only-content-type"}, |
| 515 | {"customTime", "2021-10-26T01:02:03.456Z"}, |
| 516 | {"storageClass", "test-only-storage-class"}, |
| 517 | {"key", "test-only-value"}, |
| 518 | {"kmsKeyName", "test-only-kms-key-name"}, |
| 519 | {"predefinedAcl", "test-only-predefined-acl"}, |
| 520 | // computed with: /bin/echo -n "01234567" | openssl base64 |
| 521 | {"encryptionKeyBase64", "MDEyMzQ1Njc="}, |
| 522 | }); |
| 523 | } |
| 524 | |
| 525 | TEST(GcsFileSystem, ToEncryptionKey) { |
| 526 | gcs::EncryptionKey key; |
no test coverage detected