Home / Function/ testGetBooleanDefaultValueWithWrongValue() — netty Function Reference

testGetBooleanDefaultValueWithWrongValue() — netty Function Reference

Architecture documentation for the testGetBooleanDefaultValueWithWrongValue() function in SystemPropertyUtilTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  619fe442_13de_8fda_7cca_799d8b24b507["testGetBooleanDefaultValueWithWrongValue()"]
  c4e85b19_8734_3e64_5804_a57978d77db9["SystemPropertyUtilTest"]
  619fe442_13de_8fda_7cca_799d8b24b507 -->|defined in| c4e85b19_8734_3e64_5804_a57978d77db9
  style 619fe442_13de_8fda_7cca_799d8b24b507 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/internal/SystemPropertyUtilTest.java lines 98–104

    @Test
    public void testGetBooleanDefaultValueWithWrongValue() {
        System.setProperty("key", "abc");
        assertTrue(SystemPropertyUtil.getBoolean("key", true));
        System.setProperty("key", "123");
        assertFalse(SystemPropertyUtil.getBoolean("key", false));
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free