@@ -236,7 +236,7 @@ TEST(DBPSApiClient, DecryptApiResponseGetResponsePlaintextWithValidData) {
236236 json_response.decrypted_value_ = StringToBytes (" test@example.com" );
237237 json_response.datatype_ = Type::BYTE_ARRAY;
238238 json_response.compression_ = CompressionCodec::UNCOMPRESSED;
239- json_response.format_ = Format ::PLAIN;
239+ json_response.encoding_ = Encoding ::PLAIN;
240240 json_response.user_id_ = " test_user" ;
241241 json_response.role_ = " test_role" ;
242242 json_response.access_control_ = " test_access" ;
@@ -280,7 +280,7 @@ TEST(DBPSApiClient, EncryptWithValidData) {
280280 "value": "dGVzdEBleGFtcGxlLmNvbQ==",
281281 "value_format": {
282282 "compression": "UNCOMPRESSED",
283- "format ": "PLAIN"
283+ "encoding ": "PLAIN"
284284 }
285285 },
286286 "data_batch_encrypted": {
@@ -325,7 +325,7 @@ TEST(DBPSApiClient, EncryptWithValidData) {
325325 Type::BYTE_ARRAY, // datatype
326326 std::nullopt , // datatype_length
327327 CompressionCodec::UNCOMPRESSED, // compression
328- Format ::PLAIN, // format
328+ Encoding ::PLAIN, // encoding
329329 std::map<std::string, std::string>{}, // encoding_attributes
330330 CompressionCodec::UNCOMPRESSED, // encrypted_compression
331331 " test_key_123" , // key_id
@@ -366,7 +366,7 @@ TEST(DBPSApiClient, DecryptWithValidData) {
366366 },
367367 "value_format": {
368368 "compression": "UNCOMPRESSED",
369- "format ": "PLAIN"
369+ "encoding ": "PLAIN"
370370 }
371371 },
372372 "data_batch_encrypted": {
@@ -388,7 +388,7 @@ TEST(DBPSApiClient, DecryptWithValidData) {
388388 "value": "dGVzdEBleGFtcGxlLmNvbQ==",
389389 "value_format": {
390390 "compression": "UNCOMPRESSED",
391- "format ": "PLAIN"
391+ "encoding ": "PLAIN"
392392 }
393393 },
394394 "access": {
@@ -417,7 +417,7 @@ TEST(DBPSApiClient, DecryptWithValidData) {
417417 Type::BYTE_ARRAY, // datatype
418418 std::nullopt , // datatype_length
419419 CompressionCodec::UNCOMPRESSED, // compression
420- Format ::PLAIN, // format
420+ Encoding ::PLAIN, // encoding
421421 std::map<std::string, std::string>{}, // encoding_attributes
422422 CompressionCodec::UNCOMPRESSED, // encrypted_compression
423423 " test_key_123" , // key_id
@@ -464,7 +464,7 @@ TEST(DBPSApiClient, EncryptWithInvalidData) {
464464 Type::BYTE_ARRAY, // datatype
465465 std::nullopt , // datatype_length
466466 CompressionCodec::UNCOMPRESSED, // compression
467- Format ::PLAIN, // format
467+ Encoding ::PLAIN, // encoding
468468 std::map<std::string, std::string>{}, // encoding_attributes
469469 CompressionCodec::UNCOMPRESSED, // encrypted_compression
470470 " test_key_123" , // key_id
@@ -494,7 +494,7 @@ TEST(DBPSApiClient, DecryptWithInvalidData) {
494494 Type::BYTE_ARRAY, // datatype
495495 std::nullopt , // datatype_length
496496 CompressionCodec::UNCOMPRESSED, // compression
497- Format ::PLAIN, // format
497+ Encoding ::PLAIN, // encoding
498498 std::map<std::string, std::string>{}, // encoding_attributes
499499 CompressionCodec::UNCOMPRESSED, // encrypted_compression
500500 " test_key_123" , // key_id
@@ -521,7 +521,7 @@ TEST(DBPSApiClient, EncryptWithInvalidJsonResponse) {
521521 "value": "dGVzdEBleGFtcGxlLmNvbQ==",
522522 "value_format": {
523523 "compression": "UNCOMPRESSED",
524- "format ": "PLAIN"
524+ "encoding ": "PLAIN"
525525 }
526526 },
527527 "data_batch_encrypted": {
@@ -560,7 +560,7 @@ TEST(DBPSApiClient, EncryptWithInvalidJsonResponse) {
560560 Type::BYTE_ARRAY, // datatype
561561 std::nullopt , // datatype_length
562562 CompressionCodec::UNCOMPRESSED, // compression
563- Format ::PLAIN, // format
563+ Encoding ::PLAIN, // encoding
564564 std::map<std::string, std::string>{}, // encoding_attributes
565565 CompressionCodec::UNCOMPRESSED, // encrypted_compression
566566 " test_key_123" , // key_id
@@ -585,7 +585,7 @@ TEST(DBPSApiClient, DecryptWithInvalidJsonResponse) {
585585 },
586586 "value_format": {
587587 "compression": "UNCOMPRESSED",
588- "format ": "PLAIN"
588+ "encoding ": "PLAIN"
589589 }
590590 },
591591 "data_batch_encrypted": {
@@ -626,7 +626,7 @@ TEST(DBPSApiClient, DecryptWithInvalidJsonResponse) {
626626 Type::BYTE_ARRAY, // datatype
627627 std::nullopt , // datatype_length
628628 CompressionCodec::UNCOMPRESSED, // compression
629- Format ::PLAIN, // format
629+ Encoding ::PLAIN, // encoding
630630 std::map<std::string, std::string>{}, // encoding_attributes
631631 CompressionCodec::UNCOMPRESSED, // encrypted_compression
632632 " test_key_123" , // key_id
@@ -653,7 +653,7 @@ TEST(DBPSApiClient, EncryptWithEncodingAttributes) {
653653 "value": "dGVzdEBleGFtcGxlLmNvbQ==",
654654 "value_format": {
655655 "compression": "UNCOMPRESSED",
656- "format ": "PLAIN",
656+ "encoding ": "PLAIN",
657657 "encoding_attributes": {
658658 "page_type": "DATA_PAGE",
659659 "page_encoding": "PLAIN",
@@ -709,7 +709,7 @@ TEST(DBPSApiClient, EncryptWithEncodingAttributes) {
709709 Type::BYTE_ARRAY, // datatype
710710 std::nullopt , // datatype_length
711711 CompressionCodec::UNCOMPRESSED, // compression
712- Format ::PLAIN, // format
712+ Encoding ::PLAIN, // encoding
713713 encoding_attributes, // encoding_attributes
714714 CompressionCodec::UNCOMPRESSED, // encrypted_compression
715715 " test_key_123" , // key_id
0 commit comments