Home / Function/ test() — netty Function Reference

test() — netty Function Reference

Architecture documentation for the test() function in JfrEventSafeTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e61da0c7_5739_ed16_7e2d_9517ca7b686f["test()"]
  97a6d9e1_ef11_5700_139d_c384c1c848ab["JfrEventSafeTest"]
  e61da0c7_5739_ed16_7e2d_9517ca7b686f -->|defined in| 97a6d9e1_ef11_5700_139d_c384c1c848ab
  style e61da0c7_5739_ed16_7e2d_9517ca7b686f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/internal/JfrEventSafeTest.java lines 32–40

    @Test
    public void test() {
        // This code should work even on java 8. Other details are tested in JfrEventTest.
        if (PlatformDependent.isJfrEnabled()) {
            MyEvent event = new MyEvent();
            event.foo = "bar";
            event.commit();
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free