Home / Function/ testWarn() — netty Function Reference

testWarn() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

common/src/test/java/io/netty/util/internal/logging/CommonsLoggerTest.java lines 147–155

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

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

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free