Class DocumentSerdesTest

java.lang.Object
io.debezium.document.DocumentSerdesTest
All Implemented Interfaces:
Testing

public class DocumentSerdesTest extends Object implements Testing
Author:
Randall Hauch
  • Field Details

    • SERDES

      private static final io.debezium.document.DocumentSerdes SERDES
  • Constructor Details

    • DocumentSerdesTest

      public DocumentSerdesTest()
  • Method Details

    • shouldConvertFromBytesToDocument1

      public void shouldConvertFromBytesToDocument1() throws IOException
      Throws:
      IOException
    • shouldUseSerdeMethodToConvertFromBytesToDocument2

      public void shouldUseSerdeMethodToConvertFromBytesToDocument2() throws IOException
      Throws:
      IOException
    • shouldUseSerdeMethodToConvertFromBytesToDocument3

      public void shouldUseSerdeMethodToConvertFromBytesToDocument3() throws IOException
      Throws:
      IOException
    • shouldUseSerdeMethodToConvertFromBytesToDocumentForResponse1

      public void shouldUseSerdeMethodToConvertFromBytesToDocumentForResponse1() throws IOException
      Throws:
      IOException
    • shouldUseSerdeMethodToConvertFromBytesToDocumentForResponse2

      public void shouldUseSerdeMethodToConvertFromBytesToDocumentForResponse2() throws IOException
      Throws:
      IOException
    • readAsStringAndBytes

      protected void readAsStringAndBytes(String resourceFile) throws IOException
      Throws:
      IOException
    • roundTrip

      protected void roundTrip(io.debezium.document.Document doc, IntConsumer sizeAccumulator)
    • readResources

      protected List<io.debezium.document.Document> readResources(String prefix, String... resources) throws IOException
      Throws:
      IOException