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