Add a test for XML.removeNode().
This commit is contained in:
parent
30266b2ce7
commit
7753e20fe3
|
@ -114,6 +114,7 @@ swf_tests! {
|
||||||
(xml_siblings, "avm1/xml_siblings", 1),
|
(xml_siblings, "avm1/xml_siblings", 1),
|
||||||
(xml_attributes_read, "avm1/xml_attributes_read", 1),
|
(xml_attributes_read, "avm1/xml_attributes_read", 1),
|
||||||
(xml_append_child, "avm1/xml_append_child", 1),
|
(xml_append_child, "avm1/xml_append_child", 1),
|
||||||
|
(xml_remove_node, "avm1/xml_remove_node", 1),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
true
|
||||||
|
null
|
||||||
|
true
|
||||||
|
true
|
||||||
|
null
|
||||||
|
null
|
||||||
|
true
|
||||||
|
true
|
||||||
|
null
|
||||||
|
After node removal
|
||||||
|
true
|
||||||
|
1
|
||||||
|
true
|
||||||
|
null
|
||||||
|
null
|
||||||
|
null
|
||||||
|
null
|
||||||
|
null
|
||||||
|
true
|
||||||
|
true
|
||||||
|
null
|
||||||
|
null
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue