testTrace() — netty Function Reference
Architecture documentation for the testTrace() function in Slf4JLoggerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD e1207373_bb69_a4f9_4cf6_144e80bc1397["testTrace()"] 3e84843f_a698_9773_6fd1_273d916b21a7["Slf4JLoggerTest"] e1207373_bb69_a4f9_4cf6_144e80bc1397 -->|defined in| 3e84843f_a698_9773_6fd1_273d916b21a7 style e1207373_bb69_a4f9_4cf6_144e80bc1397 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/internal/logging/Slf4JLoggerTest.java lines 97–108
@Test
public void testTrace() {
Logger mockLogger = mock(Logger.class);
when(mockLogger.getName()).thenReturn("foo");
InternalLogger logger = new Slf4JLogger(mockLogger);
logger.trace("a");
verify(mockLogger).getName();
verify(mockLogger).trace("a");
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testTrace() do?
testTrace() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/internal/logging/Slf4JLoggerTest.java.
Where is testTrace() defined?
testTrace() is defined in common/src/test/java/io/netty/util/internal/logging/Slf4JLoggerTest.java at line 97.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free