assertLog() — netty Function Reference
Architecture documentation for the assertLog() function in BaseChannelTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 042e60b4_5646_bd75_8cdf_b21f27a8ecfd["assertLog()"] 0c01051c_ac6b_ebe9_9da3_cd5809a96ff6["BaseChannelTest"] 042e60b4_5646_bd75_8cdf_b21f27a8ecfd -->|defined in| 0c01051c_ac6b_ebe9_9da3_cd5809a96ff6 style 042e60b4_5646_bd75_8cdf_b21f27a8ecfd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/test/java/io/netty/channel/BaseChannelTest.java lines 67–80
void assertLog(String firstExpected, String... otherExpected) {
String actual = loggingHandler.getLog();
if (firstExpected.equals(actual)) {
return;
}
for (String e: otherExpected) {
if (e.equals(actual)) {
return;
}
}
// Let the comparison fail with the first expectation.
assertEquals(firstExpected, actual);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does assertLog() do?
assertLog() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/BaseChannelTest.java.
Where is assertLog() defined?
assertLog() is defined in transport/src/test/java/io/netty/channel/BaseChannelTest.java at line 67.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free