From e721d40846588da279cc319845f303af935298a8 Mon Sep 17 00:00:00 2001 From: William Burns Date: Tue, 9 May 2023 14:45:51 -0700 Subject: [PATCH] Add in new tests for ByteBuf based Encoder/Decoder instances --- protostream/pom.xml | 7 +- .../protostream/ByteBufDecoder.java | 165 ++++++++++++++++++ .../protostream/ByteBufEncoder.java | 116 ++++++++++++ .../protostream/ProtostreamBenchmark.java | 94 ++++++---- .../protostream/SerializationType.java | 7 + .../protostream/state/AddressState.java | 9 + .../protostream/state/MetadataState.java | 9 + .../protostream/state/UserState.java | 9 + 8 files changed, 380 insertions(+), 36 deletions(-) create mode 100644 protostream/src/main/java/org/infinispan/protostream/ByteBufDecoder.java create mode 100644 protostream/src/main/java/org/infinispan/protostream/ByteBufEncoder.java create mode 100644 protostream/src/main/java/org/infinispan/protostream/SerializationType.java diff --git a/protostream/pom.xml b/protostream/pom.xml index e936f6b..ca1eed8 100644 --- a/protostream/pom.xml +++ b/protostream/pom.xml @@ -67,6 +67,11 @@ THE POSSIBILITY OF SUCH DAMAGE. protostream-processor ${protostream.version} + + io.netty + netty-buffer + 4.1.92.Final + @@ -81,7 +86,7 @@ THE POSSIBILITY OF SUCH DAMAGE. - 11 + 17