Home / Function/ testError() — netty Function Reference

testError() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

common/src/test/java/io/netty/util/internal/logging/CommonsLoggerTest.java lines 167–175

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

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

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free