run() — netty Function Reference
Architecture documentation for the run() function in AbstractTestsuiteTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7542154c_90c0_6e01_44b5_00f87050049d["run()"] c7c179fa_aff6_e090_cee4_791dc0c5cc40["AbstractTestsuiteTest"] 7542154c_90c0_6e01_44b5_00f87050049d -->|defined in| c7c179fa_aff6_e090_cee4_791dc0c5cc40 f23341ef_51c5_8344_c72c_fcc6ac4f8d72["newFactories()"] 7542154c_90c0_6e01_44b5_00f87050049d -->|calls| f23341ef_51c5_8344_c72c_fcc6ac4f8d72 68d9ea72_c08d_eb64_896f_4be9b913c0b1["newAllocators()"] 7542154c_90c0_6e01_44b5_00f87050049d -->|calls| 68d9ea72_c08d_eb64_896f_4be9b913c0b1 d5fe3833_45d3_5809_d366_3678bd875588["configure()"] 7542154c_90c0_6e01_44b5_00f87050049d -->|calls| d5fe3833_45d3_5809_d366_3678bd875588 style 7542154c_90c0_6e01_44b5_00f87050049d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
testsuite/src/main/java/io/netty/testsuite/transport/AbstractTestsuiteTest.java lines 38–52
protected void run(TestInfo testInfo, Runner<T> runner) throws Throwable {
List<TestsuitePermutation.BootstrapFactory<T>> combos = newFactories();
String methodName = TestUtils.testMethodName(testInfo);
for (ByteBufAllocator allocator: newAllocators()) {
int i = 0;
for (TestsuitePermutation.BootstrapFactory<T> e: combos) {
cb = e.newInstance();
configure(cb, allocator);
logger.info(String.format(
"Running: %s %d of %d with %s",
methodName, ++ i, combos.size(), StringUtil.simpleClassName(allocator)));
runner.run(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/AbstractTestsuiteTest.java.
Where is run() defined?
run() is defined in testsuite/src/main/java/io/netty/testsuite/transport/AbstractTestsuiteTest.java at line 38.
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