testComparatorForSamePathLength() — netty Function Reference
Architecture documentation for the testComparatorForSamePathLength() function in ClientCookieEncoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD a8e3a4df_a347_3f3c_434e_2d4976a0842f["testComparatorForSamePathLength()"] 9d43e0ba_e9d0_b3be_6e4d_b637d22c7bd7["ClientCookieEncoderTest"] a8e3a4df_a347_3f3c_434e_2d4976a0842f -->|defined in| 9d43e0ba_e9d0_b3be_6e4d_b637d22c7bd7 style a8e3a4df_a347_3f3c_434e_2d4976a0842f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/cookie/ClientCookieEncoderTest.java lines 62–72
@Test
public void testComparatorForSamePathLength() {
Cookie cookie = new DefaultCookie("test", "value");
cookie.setPath("1");
Cookie cookie2 = new DefaultCookie("test", "value");
cookie2.setPath("2");
assertEquals(0, ClientCookieEncoder.COOKIE_COMPARATOR.compare(cookie, cookie2));
assertEquals(0, ClientCookieEncoder.COOKIE_COMPARATOR.compare(cookie2, cookie));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testComparatorForSamePathLength() do?
testComparatorForSamePathLength() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/cookie/ClientCookieEncoderTest.java.
Where is testComparatorForSamePathLength() defined?
testComparatorForSamePathLength() is defined in codec-http/src/test/java/io/netty/handler/codec/http/cookie/ClientCookieEncoderTest.java at line 62.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free