MCPcopy Create free account
hub / github.com/HtmlUnit/htmlunit / setValue

Method setValue

src/test/java/org/htmlunit/html/HtmlAttrTest.java:108–112  ·  view source on GitHub ↗

Tests DomAttr#setValue(String).

()

Source from the content-addressed store, hash-verified

106 * Tests {@link DomAttr#setValue(String)}.
107 */
108 @Test
109 public void setValue() {
110 htmlAttr_.setValue("foo");
111 assertEquals("foo", htmlAttr_.getValue());
112 }
113
114 /**
115 * Tests {@link DomAttr#getParentNode()}.

Callers 15

ObjectStore.jsFile · 0.45
DataStore.jsFile · 0.45
onCompleteFunction · 0.45
onItemFunction · 0.45
intialFetchFunction · 0.45
ObjectStore.jsFile · 0.45
onCompleteFunction · 0.45
onItemFunction · 0.45
ext-all-debug.jsFile · 0.45
ext-all.jsFile · 0.45
task.jsFile · 0.45
refreshDataFunction · 0.45

Calls 2

assertEqualsMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected