Home / Function/ testTooBigObject() — netty Function Reference

testTooBigObject() — netty Function Reference

Architecture documentation for the testTooBigObject() function in AbstractCompatibleMarshallingDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  ccb53cf1_9d9a_3b6f_75f0_e0889ec6f2c9["testTooBigObject()"]
  62eb7f35_69a6_94a1_2fa1_27bfbab3c2c9["AbstractCompatibleMarshallingDecoderTest"]
  ccb53cf1_9d9a_3b6f_75f0_e0889ec6f2c9 -->|defined in| 62eb7f35_69a6_94a1_2fa1_27bfbab3c2c9
  272636d5_0068_2a89_c17f_03249350d5c7["onTooBigFrame()"]
  ccb53cf1_9d9a_3b6f_75f0_e0889ec6f2c9 -->|calls| 272636d5_0068_2a89_c17f_03249350d5c7
  style ccb53cf1_9d9a_3b6f_75f0_e0889ec6f2c9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-marshalling/src/test/java/io/netty/handler/codec/marshalling/AbstractCompatibleMarshallingDecoderTest.java lines 100–117

    @Test
    public void testTooBigObject() throws IOException {
        MarshallerFactory marshallerFactory = createMarshallerFactory();
        MarshallingConfiguration configuration = createMarshallingConfig();

        ChannelHandler mDecoder = createDecoder(4);
        EmbeddedChannel ch = new EmbeddedChannel(mDecoder);

        ByteArrayOutputStream bout = new ByteArrayOutputStream();
        Marshaller marshaller = marshallerFactory.createMarshaller(configuration);
        marshaller.start(Marshalling.createByteOutput(bout));
        marshaller.writeObject(testObject);
        marshaller.finish();
        marshaller.close();

        byte[] testBytes = bout.toByteArray();
        onTooBigFrame(ch, input(testBytes));
    }

Domain

Subdomains

Frequently Asked Questions

What does testTooBigObject() do?
testTooBigObject() is a function in the netty codebase, defined in codec-marshalling/src/test/java/io/netty/handler/codec/marshalling/AbstractCompatibleMarshallingDecoderTest.java.
Where is testTooBigObject() defined?
testTooBigObject() is defined in codec-marshalling/src/test/java/io/netty/handler/codec/marshalling/AbstractCompatibleMarshallingDecoderTest.java at line 100.
What does testTooBigObject() call?
testTooBigObject() calls 1 function(s): onTooBigFrame.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free