Class MongoArrayConverterTest
java.lang.Object
io.debezium.connector.mongodb.transforms.MongoArrayConverterTest
Unit test for
MongoDataConverter that verifies array types.- Author:
- Jiri Pechanec
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetup()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
HETEROGENOUS_ARRAY
-
EMPTY_ARRAY
-
HETEROGENOUS_DOCUMENT_IN_ARRAY
-
HOMOGENOUS_ARRAYS
-
builder
private org.apache.kafka.connect.data.SchemaBuilder builder
-
-
Constructor Details
-
MongoArrayConverterTest
public MongoArrayConverterTest()
-
-
Method Details
-
setup
- Throws:
Exception
-
shouldDetectHeterogenousArray
- Throws:
Exception
-
shouldDetectHeterogenousDocumentInArray
- Throws:
Exception
-
shouldCreateSchemaForHomogenousArray
- Throws:
Exception
-
shouldCreateStructForHomogenousArray
- Throws:
Exception
-
shouldCreateSchemaForEmptyArrayEncodingArray
- Throws:
Exception
-
shouldCreateStructForEmptyArrayEncodingArray
- Throws:
Exception
-
shouldCreateSchemaForEmptyArrayEncodingDocument
- Throws:
Exception
-
shouldCreateStructForEmptyArrayEncodingDocument
- Throws:
Exception
-
shouldCreateSchemaForHeterogenousArray
- Throws:
Exception
-
shouldCreateStructForHeterogenousArray
- Throws:
Exception
-
shouldCreateSchemaForHeterogenousDocumentInArray
- Throws:
Exception
-
shouldCreateStructForHeterogenousDocumentInArray
- Throws:
Exception
-