Home / Class/ CompactObjectSerializationTest Class — netty Architecture

CompactObjectSerializationTest Class — netty Architecture

Architecture documentation for the CompactObjectSerializationTest class in CompactObjectSerializationTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  7da35a2e_7b09_fcc5_27d4_bb00e4fd34ea["CompactObjectSerializationTest"]
  f7161982_ccb6_ee18_91ff_5ce5659dc679["CompactObjectSerializationTest.java"]
  7da35a2e_7b09_fcc5_27d4_bb00e4fd34ea -->|defined in| f7161982_ccb6_ee18_91ff_5ce5659dc679
  ba4eb774_8b82_20a3_ee7b_6d6d7fcc6614["testInterfaceSerialization()"]
  7da35a2e_7b09_fcc5_27d4_bb00e4fd34ea -->|method| ba4eb774_8b82_20a3_ee7b_6d6d7fcc6614

Relationship Graph

Source Code

codec-base/src/test/java/io/netty/handler/codec/serialization/CompactObjectSerializationTest.java lines 25–36

public class CompactObjectSerializationTest {

    @Test
    public void testInterfaceSerialization() throws Exception {
        PipedOutputStream pipeOut = new PipedOutputStream();
        PipedInputStream pipeIn = new PipedInputStream(pipeOut);
        CompactObjectOutputStream out = new CompactObjectOutputStream(pipeOut);
        CompactObjectInputStream in = new CompactObjectInputStream(pipeIn, ClassResolvers.cacheDisabled(null));
        out.writeObject(List.class);
        Assertions.assertSame(List.class, in.readObject());
    }
}

Frequently Asked Questions

What is the CompactObjectSerializationTest class?
CompactObjectSerializationTest is a class in the netty codebase, defined in codec-base/src/test/java/io/netty/handler/codec/serialization/CompactObjectSerializationTest.java.
Where is CompactObjectSerializationTest defined?
CompactObjectSerializationTest is defined in codec-base/src/test/java/io/netty/handler/codec/serialization/CompactObjectSerializationTest.java at line 25.

Analyze Your Own Codebase

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

Try Supermodel Free