Home / Function/ testWarnWithException() — netty Function Reference

testWarnWithException() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

common/src/test/java/io/netty/util/internal/logging/CommonsLoggerTest.java lines 157–165

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

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

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free