runTest() — netty Function Reference
Architecture documentation for the runTest() function in SSLEngineTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD cae059a1_758b_6d13_c2a1_9c18dc21631d["runTest()"] 9150c92a_2afc_b83a_c3bf_86dfac6e9d9b["SSLEngineTest"] cae059a1_758b_6d13_c2a1_9c18dc21631d -->|defined in| 9150c92a_2afc_b83a_c3bf_86dfac6e9d9b 2587fcb1_5272_58f1_e161_d7033988b378["testMutualAuthSameCerts()"] 2587fcb1_5272_58f1_e161_d7033988b378 -->|calls| cae059a1_758b_6d13_c2a1_9c18dc21631d 79cdfde3_c775_c5bb_dcf0_64fd87794eb2["testMutualAuthDiffCerts()"] 79cdfde3_c775_c5bb_dcf0_64fd87794eb2 -->|calls| cae059a1_758b_6d13_c2a1_9c18dc21631d 2f05b04e_8d41_a94c_69db_94145cf59172["writeAndVerifyReceived()"] cae059a1_758b_6d13_c2a1_9c18dc21631d -->|calls| 2f05b04e_8d41_a94c_69db_94145cf59172 311ff424_73b5_d42c_f8a9_c20c29482d5a["verifyApplicationLevelProtocol()"] cae059a1_758b_6d13_c2a1_9c18dc21631d -->|calls| 311ff424_73b5_d42c_f8a9_c20c29482d5a style cae059a1_758b_6d13_c2a1_9c18dc21631d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java lines 1303–1315
protected void runTest(String expectedApplicationProtocol) throws Exception {
final ByteBuf clientMessage = Unpooled.copiedBuffer("I am a client".getBytes());
final ByteBuf serverMessage = Unpooled.copiedBuffer("I am a server".getBytes());
try {
writeAndVerifyReceived(clientMessage.retain(), clientChannel, serverLatch, serverReceiver);
writeAndVerifyReceived(serverMessage.retain(), serverConnectedChannel, clientLatch, clientReceiver);
verifyApplicationLevelProtocol(clientChannel, expectedApplicationProtocol);
verifyApplicationLevelProtocol(serverConnectedChannel, expectedApplicationProtocol);
} finally {
clientMessage.release();
serverMessage.release();
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does runTest() do?
runTest() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java.
Where is runTest() defined?
runTest() is defined in handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java at line 1303.
What does runTest() call?
runTest() calls 2 function(s): verifyApplicationLevelProtocol, writeAndVerifyReceived.
What calls runTest()?
runTest() is called by 2 function(s): testMutualAuthDiffCerts, testMutualAuthSameCerts.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free