testJoin() — netty Function Reference
Architecture documentation for the testJoin() function in StringUtilTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0e8b319b_ff47_6bd6_f4fd_f710115a9e0f["testJoin()"] 8a8ff062_3462_cc50_2d54_f42c40f72bfa["StringUtilTest"] 0e8b319b_ff47_6bd6_f4fd_f710115a9e0f -->|defined in| 8a8ff062_3462_cc50_2d54_f42c40f72bfa style 0e8b319b_ff47_6bd6_f4fd_f710115a9e0f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/internal/StringUtilTest.java lines 593–605
@Test
public void testJoin() {
assertEquals("",
StringUtil.join(",", Collections.<CharSequence>emptyList()).toString());
assertEquals("a",
StringUtil.join(",", Collections.singletonList("a")).toString());
assertEquals("a,b",
StringUtil.join(",", Arrays.asList("a", "b")).toString());
assertEquals("a,b,c",
StringUtil.join(",", Arrays.asList("a", "b", "c")).toString());
assertEquals("a,b,c,null,d",
StringUtil.join(",", Arrays.asList("a", "b", "c", null, "d")).toString());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testJoin() do?
testJoin() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/internal/StringUtilTest.java.
Where is testJoin() defined?
testJoin() is defined in common/src/test/java/io/netty/util/internal/StringUtilTest.java at line 593.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free