Home / Function/ testIsTraceEnabled() — netty Function Reference

testIsTraceEnabled() — netty Function Reference

Architecture documentation for the testIsTraceEnabled() function in CommonsLoggerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  df8db2e2_b7a6_7e6c_9e37_a4c4da7ebbf0["testIsTraceEnabled()"]
  4d434096_9af8_4429_060e_ff690783d6b1["CommonsLoggerTest"]
  df8db2e2_b7a6_7e6c_9e37_a4c4da7ebbf0 -->|defined in| 4d434096_9af8_4429_060e_ff690783d6b1
  style df8db2e2_b7a6_7e6c_9e37_a4c4da7ebbf0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/internal/logging/CommonsLoggerTest.java lines 27–37

    @Test
    public void testIsTraceEnabled() {
        Log mockLog = mock(Log.class);

        when(mockLog.isTraceEnabled()).thenReturn(true);

        InternalLogger logger = new CommonsLogger(mockLog, "foo");
        assertTrue(logger.isTraceEnabled());

        verify(mockLog).isTraceEnabled();
    }

Domain

Subdomains

Frequently Asked Questions

What does testIsTraceEnabled() do?
testIsTraceEnabled() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/internal/logging/CommonsLoggerTest.java.
Where is testIsTraceEnabled() defined?
testIsTraceEnabled() is defined in common/src/test/java/io/netty/util/internal/logging/CommonsLoggerTest.java at line 27.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free