testIsInfoEnabled() — netty Function Reference
Architecture documentation for the testIsInfoEnabled() function in CommonsLoggerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c34c7f6c_5061_36f7_dc25_a571be02f5b9["testIsInfoEnabled()"] 4d434096_9af8_4429_060e_ff690783d6b1["CommonsLoggerTest"] c34c7f6c_5061_36f7_dc25_a571be02f5b9 -->|defined in| 4d434096_9af8_4429_060e_ff690783d6b1 style c34c7f6c_5061_36f7_dc25_a571be02f5b9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/internal/logging/CommonsLoggerTest.java lines 51–61
@Test
public void testIsInfoEnabled() {
Log mockLog = mock(Log.class);
when(mockLog.isInfoEnabled()).thenReturn(true);
InternalLogger logger = new CommonsLogger(mockLog, "foo");
assertTrue(logger.isInfoEnabled());
verify(mockLog).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/CommonsLoggerTest.java.
Where is testIsInfoEnabled() defined?
testIsInfoEnabled() is defined in common/src/test/java/io/netty/util/internal/logging/CommonsLoggerTest.java at line 51.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free