testIsDebugEnabled() — netty Function Reference
Architecture documentation for the testIsDebugEnabled() function in CommonsLoggerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 1f530b88_e97d_61fa_c37e_adb13c057b6d["testIsDebugEnabled()"] 4d434096_9af8_4429_060e_ff690783d6b1["CommonsLoggerTest"] 1f530b88_e97d_61fa_c37e_adb13c057b6d -->|defined in| 4d434096_9af8_4429_060e_ff690783d6b1 style 1f530b88_e97d_61fa_c37e_adb13c057b6d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/internal/logging/CommonsLoggerTest.java lines 39–49
@Test
public void testIsDebugEnabled() {
Log mockLog = mock(Log.class);
when(mockLog.isDebugEnabled()).thenReturn(true);
InternalLogger logger = new CommonsLogger(mockLog, "foo");
assertTrue(logger.isDebugEnabled());
verify(mockLog).isDebugEnabled();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testIsDebugEnabled() do?
testIsDebugEnabled() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/internal/logging/CommonsLoggerTest.java.
Where is testIsDebugEnabled() defined?
testIsDebugEnabled() is defined in common/src/test/java/io/netty/util/internal/logging/CommonsLoggerTest.java at line 39.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free