Home / Function/ testConnectAndQLogDir() — netty Function Reference

testConnectAndQLogDir() — netty Function Reference

Architecture documentation for the testConnectAndQLogDir() function in QuicChannelConnectTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  424558b6_f0ce_b090_4624_476469454a57["testConnectAndQLogDir()"]
  1e1bc485_1969_4537_ef9b_f28971b2f663["QuicChannelConnectTest"]
  424558b6_f0ce_b090_4624_476469454a57 -->|defined in| 1e1bc485_1969_4537_ef9b_f28971b2f663
  92194a28_1ade_17eb_5f02_fdef14ac04b3["testQLog()"]
  424558b6_f0ce_b090_4624_476469454a57 -->|calls| 92194a28_1ade_17eb_5f02_fdef14ac04b3
  style 424558b6_f0ce_b090_4624_476469454a57 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicChannelConnectTest.java lines 117–137

    @ParameterizedTest
    @MethodSource("newSslTaskExecutors")
    @Timeout(value = 5000, unit = TimeUnit.MILLISECONDS)
    public void testConnectAndQLogDir(Executor executor) throws Throwable {
        Path path = Files.createTempDirectory("qlogdir-");
        testQLog(executor, path, p -> {
            try {
                for (;;) {
                    File[] files = path.toFile().listFiles();
                    if (files != null && files.length == 1) {
                        if (!Files.readAllLines(files[0].toPath()).isEmpty()) {
                            return;
                        }
                    }
                    Thread.sleep(100);
                }
            } catch (Exception e) {
                throw new AssertionError(e);
            }
        });
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does testConnectAndQLogDir() do?
testConnectAndQLogDir() is a function in the netty codebase, defined in codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicChannelConnectTest.java.
Where is testConnectAndQLogDir() defined?
testConnectAndQLogDir() is defined in codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicChannelConnectTest.java at line 117.
What does testConnectAndQLogDir() call?
testConnectAndQLogDir() calls 1 function(s): testQLog.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free