Package io.debezium.document
Class DocumentSerdesTest
java.lang.Object
io.debezium.document.DocumentSerdesTest
- All Implemented Interfaces:
Testing
- Author:
- Randall Hauch
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.debezium.util.Testing
Testing.Debug, Testing.Files, Testing.InterruptableFunction, Testing.Network, Testing.Print, Testing.Timer -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidreadAsStringAndBytes(String resourceFile) protected List<io.debezium.document.Document>readResources(String prefix, String... resources) protected voidroundTrip(io.debezium.document.Document doc, IntConsumer sizeAccumulator) voidvoidvoidvoidvoid
-
Field Details
-
SERDES
private static final io.debezium.document.DocumentSerdes SERDES
-
-
Constructor Details
-
DocumentSerdesTest
public DocumentSerdesTest()
-
-
Method Details
-
shouldConvertFromBytesToDocument1
- Throws:
IOException
-
shouldUseSerdeMethodToConvertFromBytesToDocument2
- Throws:
IOException
-
shouldUseSerdeMethodToConvertFromBytesToDocument3
- Throws:
IOException
-
shouldUseSerdeMethodToConvertFromBytesToDocumentForResponse1
- Throws:
IOException
-
shouldUseSerdeMethodToConvertFromBytesToDocumentForResponse2
- Throws:
IOException
-
readAsStringAndBytes
- Throws:
IOException
-
roundTrip
-
readResources
protected List<io.debezium.document.Document> readResources(String prefix, String... resources) throws IOException - Throws:
IOException
-