testGetBoolean() — netty Function Reference
Architecture documentation for the testGetBoolean() function in ReplayingDecoderByteBufTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 3eed34b8_8ee5_3b7b_d977_0335344e7dd7["testGetBoolean()"] ef895588_b14f_ef47_4065_265c5001cad2["ReplayingDecoderByteBufTest"] 3eed34b8_8ee5_3b7b_d977_0335344e7dd7 -->|defined in| ef895588_b14f_ef47_4065_265c5001cad2 style 3eed34b8_8ee5_3b7b_d977_0335344e7dd7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-base/src/test/java/io/netty/handler/codec/ReplayingDecoderByteBufTest.java lines 82–105
@Test
public void testGetBoolean() {
ByteBuf buf = Unpooled.buffer(10);
while (buf.isWritable()) {
buf.writeBoolean(true);
}
ReplayingDecoderByteBuf buffer = new ReplayingDecoderByteBuf(buf);
boolean error;
int i = 0;
try {
for (;;) {
buffer.getBoolean(i);
i++;
}
} catch (Signal e) {
error = true;
}
assertTrue(error);
assertEquals(10, i);
buf.release();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testGetBoolean() do?
testGetBoolean() is a function in the netty codebase, defined in codec-base/src/test/java/io/netty/handler/codec/ReplayingDecoderByteBufTest.java.
Where is testGetBoolean() defined?
testGetBoolean() is defined in codec-base/src/test/java/io/netty/handler/codec/ReplayingDecoderByteBufTest.java at line 82.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free