Home / Function/ testErrorWithException() — netty Function Reference

testErrorWithException() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

common/src/test/java/io/netty/util/internal/logging/CommonsLoggerTest.java lines 177–185

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

        InternalLogger logger = new CommonsLogger(mockLog, "foo");
        logger.error("a", e);

        verify(mockLog).error("a", e);
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free