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