Class ChannelMetadataRegistryTest
java.lang.Object
org.apache.kafka.common.network.ChannelMetadataRegistryTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidtestIsClientInformationEmpty(org.apache.kafka.common.network.ClientInformation clientInformation, String clientId, boolean expected) voidtestIsClientInformationFull(org.apache.kafka.common.network.ClientInformation clientInformation, String clientId, boolean expected) void
-
Constructor Details
-
ChannelMetadataRegistryTest
public ChannelMetadataRegistryTest()
-
-
Method Details
-
setUp
@BeforeEach public void setUp() -
testIsClientInformationEmpty
@ParameterizedTest @ArgumentsSource(org.apache.kafka.common.network.ChannelMetadataRegistryTest.ClientInformationEmptyTestCaseProvider.class) public void testIsClientInformationEmpty(org.apache.kafka.common.network.ClientInformation clientInformation, String clientId, boolean expected) -
testIsClientInformationFull
@ParameterizedTest @ArgumentsSource(org.apache.kafka.common.network.ChannelMetadataRegistryTest.ClientInformationFullTestCaseProvider.class) public void testIsClientInformationFull(org.apache.kafka.common.network.ClientInformation clientInformation, String clientId, boolean expected) -
testRegisterClientId
@Test public void testRegisterClientId()
-