testEmptyStrings() — netty Function Reference
Architecture documentation for the testEmptyStrings() function in QueryStringDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 57ae68f5_4d2b_0e09_8cba_cfefeff32bdd["testEmptyStrings()"] eb06d5ec_240d_301a_c763_6ea4da90a16b["QueryStringDecoderTest"] 57ae68f5_4d2b_0e09_8cba_cfefeff32bdd -->|defined in| eb06d5ec_240d_301a_c763_6ea4da90a16b style 57ae68f5_4d2b_0e09_8cba_cfefeff32bdd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/QueryStringDecoderTest.java lines 382–393
@Test
public void testEmptyStrings() {
QueryStringDecoder pathSlash = new QueryStringDecoder("path/");
assertEquals("path/", pathSlash.rawPath());
assertEquals("", pathSlash.rawQuery());
QueryStringDecoder pathQuestion = new QueryStringDecoder("path?");
assertEquals("path", pathQuestion.rawPath());
assertEquals("", pathQuestion.rawQuery());
QueryStringDecoder empty = new QueryStringDecoder("");
assertEquals("", empty.rawPath());
assertEquals("", empty.rawQuery());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testEmptyStrings() do?
testEmptyStrings() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/QueryStringDecoderTest.java.
Where is testEmptyStrings() defined?
testEmptyStrings() is defined in codec-http/src/test/java/io/netty/handler/codec/http/QueryStringDecoderTest.java at line 382.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free