Add test for insertBefore
This commit is contained in:
parent
34cbe2e04b
commit
bff851e6a4
|
@ -115,6 +115,7 @@ swf_tests! {
|
||||||
(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),
|
(xml_remove_node, "avm1/xml_remove_node", 1),
|
||||||
|
(xml_insert_before, "avm1/xml_insert_before", 1),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
true
|
||||||
|
null
|
||||||
|
true
|
||||||
|
true
|
||||||
|
null
|
||||||
|
true
|
||||||
|
Swapping nodes...
|
||||||
|
true
|
||||||
|
null
|
||||||
|
true
|
||||||
|
true
|
||||||
|
null
|
||||||
|
true
|
||||||
|
Failing to swap nodes...
|
||||||
|
true
|
||||||
|
null
|
||||||
|
true
|
||||||
|
true
|
||||||
|
null
|
||||||
|
true
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue