testNaturalOrder() — netty Function Reference
Architecture documentation for the testNaturalOrder() function in WebSocketCloseStatusTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 3cee2a8c_fda2_0f88_a73a_1763bc4902ac["testNaturalOrder()"] 9dd0947f_9d8a_8a66_d1bc_a867bc02b190["WebSocketCloseStatusTest"] 3cee2a8c_fda2_0f88_a73a_1763bc4902ac -->|defined in| 9dd0947f_9d8a_8a66_d1bc_a867bc02b190 style 3cee2a8c_fda2_0f88_a73a_1763bc4902ac fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketCloseStatusTest.java lines 73–80
@Test
public void testNaturalOrder() {
assertThat(PROTOCOL_ERROR).isGreaterThan(NORMAL_CLOSURE);
assertThat(PROTOCOL_ERROR).isGreaterThan(valueOf(1001));
assertEquals(PROTOCOL_ERROR, valueOf(1002));
assertThat(PROTOCOL_ERROR).isLessThan(INVALID_MESSAGE_TYPE);
assertThat(PROTOCOL_ERROR).isLessThan(valueOf(1007));
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does testNaturalOrder() do?
testNaturalOrder() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketCloseStatusTest.java.
Where is testNaturalOrder() defined?
testNaturalOrder() is defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketCloseStatusTest.java at line 73.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free