Class ProtocolSerializationTest
java.lang.Object
org.apache.kafka.common.protocol.types.ProtocolSerializationTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetup()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
ProtocolSerializationTest
public ProtocolSerializationTest()
-
-
Method Details
-
setup
@BeforeEach public void setup() -
testSimple
@Test public void testSimple() -
testNulls
@Test public void testNulls() -
testDefault
@Test public void testDefault() -
testNullableDefault
@Test public void testNullableDefault() -
testReadArraySizeTooLarge
@Test public void testReadArraySizeTooLarge() -
testReadCompactArraySizeTooLarge
@Test public void testReadCompactArraySizeTooLarge() -
testReadArrayLengthAboveMaxIsRejected
@Test public void testReadArrayLengthAboveMaxIsRejected() -
testReadArrayLengthHonorsConfiguredMax
@Test public void testReadArrayLengthHonorsConfiguredMax() -
testReadCompactArrayLengthAboveMaxIsRejected
@Test public void testReadCompactArrayLengthAboveMaxIsRejected() -
testReadTaggedFieldsSizeTooLarge
@Test public void testReadTaggedFieldsSizeTooLarge() -
testReadNegativeArraySize
@Test public void testReadNegativeArraySize() -
testReadZeroCompactArraySize
@Test public void testReadZeroCompactArraySize() -
testReadStringSizeTooLarge
@Test public void testReadStringSizeTooLarge() -
testReadNegativeStringSize
@Test public void testReadNegativeStringSize() -
testReadBytesSizeTooLarge
@Test public void testReadBytesSizeTooLarge() -
testReadNegativeBytesSize
@Test public void testReadNegativeBytesSize() -
testToString
@Test public void testToString() -
testStructEquals
@Test public void testStructEquals() -
testReadIgnoringExtraDataAtTheEnd
@Test public void testReadIgnoringExtraDataAtTheEnd() -
testReadWhenOptionalDataMissingAtTheEndIsTolerated
@Test public void testReadWhenOptionalDataMissingAtTheEndIsTolerated() -
testReadWhenOptionalDataMissingAtTheEndIsNotTolerated
@Test public void testReadWhenOptionalDataMissingAtTheEndIsNotTolerated() -
testReadWithMissingNonOptionalExtraDataAtTheEnd
@Test public void testReadWithMissingNonOptionalExtraDataAtTheEnd() -
testReadBytesBeyondItsSize
@Test public void testReadBytesBeyondItsSize()
-