Home / Function/ testIsErrorEnabled() — netty Function Reference

testIsErrorEnabled() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

common/src/test/java/io/netty/util/internal/logging/CommonsLoggerTest.java lines 75–85

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

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

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

        verify(mockLog).isErrorEnabled();
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free