Class ExclusionRequestUtilsTest
java.lang.Object
org.apache.kafka.clients.admin.internals.ExclusionRequestUtilsTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidReason: String can start with numbers (KAFKALESS-1063)voidReason string can contain ` `.voidvoidThe max length is 1024.voidThe exact reasons `.` and `..` are forbidden.void
-
Constructor Details
-
ExclusionRequestUtilsTest
public ExclusionRequestUtilsTest()
-
-
Method Details
-
testValidateReasonThrowsOnInvalidCharacters
@Test public void testValidateReasonThrowsOnInvalidCharacters() -
testValidateReasonWithEmptyReasons
@Test public void testValidateReasonWithEmptyReasons() -
testValidateReasonThrowsOnInvalidLength
@Test public void testValidateReasonThrowsOnInvalidLength()The max length is 1024. -
testValidateReasonThrowsOnInvalidReasons
@Test public void testValidateReasonThrowsOnInvalidReasons()The exact reasons `.` and `..` are forbidden. -
testValidateReasonAllowsSpace
@Test public void testValidateReasonAllowsSpace()Reason string can contain ` `. -
testValidateNumberOnlyReason
@Test public void testValidateNumberOnlyReason()Reason: String can start with numbers (KAFKALESS-1063)
-