testGetSetString() — netty Function Reference
Architecture documentation for the testGetSetString() function in DefaultAttributeMapTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 1a994bf4_508c_0747_8ae6_ddd5564b0770["testGetSetString()"] 819b0da9_e205_6fba_cbb6_4b0d0b21b01c["DefaultAttributeMapTest"] 1a994bf4_508c_0747_8ae6_ddd5564b0770 -->|defined in| 819b0da9_e205_6fba_cbb6_4b0d0b21b01c style 1a994bf4_508c_0747_8ae6_ddd5564b0770 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/DefaultAttributeMapTest.java lines 43–58
@Test
public void testGetSetString() {
AttributeKey<String> key = AttributeKey.valueOf("Nothing");
Attribute<String> one = map.attr(key);
assertSame(one, map.attr(key));
one.setIfAbsent("Whoohoo");
assertSame("Whoohoo", one.get());
one.setIfAbsent("What");
assertNotSame("What", one.get());
one.remove();
assertNull(one.get());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testGetSetString() do?
testGetSetString() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/DefaultAttributeMapTest.java.
Where is testGetSetString() defined?
testGetSetString() is defined in common/src/test/java/io/netty/util/DefaultAttributeMapTest.java at line 43.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free