run() — netty Function Reference
Architecture documentation for the run() function in AbstractComboTestsuiteTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4ef6ce40_38ad_2428_89c2_5bb3a5c19e2c["run()"] 7a5bfab1_80e3_582d_1d6a_04a8e57c30fc["AbstractComboTestsuiteTest"] 4ef6ce40_38ad_2428_89c2_5bb3a5c19e2c -->|defined in| 7a5bfab1_80e3_582d_1d6a_04a8e57c30fc 451d966e_90cb_af29_8b86_be6ba43c49f8["newFactories()"] 4ef6ce40_38ad_2428_89c2_5bb3a5c19e2c -->|calls| 451d966e_90cb_af29_8b86_be6ba43c49f8 a3d34afe_e209_636a_0fed_b250b6525e4b["newAllocators()"] 4ef6ce40_38ad_2428_89c2_5bb3a5c19e2c -->|calls| a3d34afe_e209_636a_0fed_b250b6525e4b 92a90c79_2953_5737_6e7d_339b1c400df6["configure()"] 4ef6ce40_38ad_2428_89c2_5bb3a5c19e2c -->|calls| 92a90c79_2953_5737_6e7d_339b1c400df6 style 4ef6ce40_38ad_2428_89c2_5bb3a5c19e2c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
testsuite/src/main/java/io/netty/testsuite/transport/AbstractComboTestsuiteTest.java lines 40–55
protected void run(TestInfo testInfo, Runner<SB, CB> runner) throws Throwable {
List<TestsuitePermutation.BootstrapComboFactory<SB, CB>> combos = newFactories();
String methodName = TestUtils.testMethodName(testInfo);
for (ByteBufAllocator allocator: newAllocators()) {
int i = 0;
for (TestsuitePermutation.BootstrapComboFactory<SB, CB> e: combos) {
sb = e.newServerInstance();
cb = e.newClientInstance();
configure(sb, cb, allocator);
logger.info(String.format(
"Running: %s %d of %d (%s + %s) with %s",
methodName, ++ i, combos.size(), sb, cb, StringUtil.simpleClassName(allocator)));
runner.run(sb, cb);
}
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does run() do?
run() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/AbstractComboTestsuiteTest.java.
Where is run() defined?
run() is defined in testsuite/src/main/java/io/netty/testsuite/transport/AbstractComboTestsuiteTest.java at line 40.
What does run() call?
run() calls 3 function(s): configure, newAllocators, newFactories.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free