diff options
author | tholenst <tholenst@google.com> | 2022-06-22 05:12:14 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-06-22 05:13:13 -0700 |
commit | 49f45395b9ecf91dc51edffaa582a8ea49c95ab9 (patch) | |
tree | 76ed9f64c226521919b2910d4799617af7dd7e9b /proto | |
parent | 522594376c5f47e3ea4447efa3229297d2d34452 (diff) | |
download | tink-49f45395b9ecf91dc51edffaa582a8ea49c95ab9.tar.gz |
Add an internal class "ProtoKeyFormatSerializationTester" for testing serialization implementations.
With this user, can first create a tester, and then simply check the implementation by calling
tester.testParseAndSerialize(format, protoFormat, outputPrefixType); to check if the given format serializes to the given protoFormat with the outputPrefixType.
PiperOrigin-RevId: 456487967
Diffstat (limited to 'proto')
-rw-r--r-- | proto/test_proto.proto | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/test_proto.proto b/proto/test_proto.proto index afa9864ff..b82a9e7c7 100644 --- a/proto/test_proto.proto +++ b/proto/test_proto.proto @@ -17,6 +17,9 @@ syntax = "proto3"; package google.crypto.tink; +option java_package = "com.google.crypto.tink.proto"; +option java_multiple_files = true; + message TestProto { uint64 num = 1; bytes str = 2; // Placeholder for ctype. |