diff --git a/mozilla/java/dom/tests/src/BWBaseTest.java b/mozilla/java/dom/tests/src/BWBaseTest.java index 36943aa27cd..4f75bd1c7bc 100755 --- a/mozilla/java/dom/tests/src/BWBaseTest.java +++ b/mozilla/java/dom/tests/src/BWBaseTest.java @@ -51,6 +51,31 @@ public class BWBaseTest implements Execution return null; } + /** + * This method indicates whether a particular method is UNSUPPORTED or + * not. + * + */ + public void setUnsupported() + { + UNSUPPORTED = true; + } + + /** + * This method indicates whether a particular method is UNSUPPORTED or + * not. + * + * + * @return Value of boolean varibale UNSUPPORTED. + * + */ + public boolean isUnsupported() + { + return UNSUPPORTED; + } + + public static boolean FAILED=false; public static boolean PASSED=true; + public boolean UNSUPPORTED=false; } diff --git a/mozilla/java/dom/tests/src/BWTestClass.lst b/mozilla/java/dom/tests/src/BWTestClass.lst index 5e523ab7e73..3e98207cf9f 100644 --- a/mozilla/java/dom/tests/src/BWTestClass.lst +++ b/mozilla/java/dom/tests/src/BWTestClass.lst @@ -1,4 +1 @@ -org.mozilla.dom.test.ElementImpl_setAttributeNode_Attr_1 -#org.mozilla.dom.test.AttrImpl_getName -#org.mozilla.dom.test.AttrImpl_setValue_String_0 -#org.mozilla.dom.test.AttrImpl_setValue_String_1 +org.mozilla.dom.test.TextImpl_splitText_int_2 diff --git a/mozilla/java/dom/tests/src/BWTestClass.lst.ORIG b/mozilla/java/dom/tests/src/BWTestClass.lst.ORIG index 77a41f0bf9e..91818022f30 100755 --- a/mozilla/java/dom/tests/src/BWTestClass.lst.ORIG +++ b/mozilla/java/dom/tests/src/BWTestClass.lst.ORIG @@ -1,6 +1,7 @@ org.mozilla.dom.test.AttrImpl_getName org.mozilla.dom.test.AttrImpl_getSpecified org.mozilla.dom.test.AttrImpl_getValue +org.mozilla.dom.test.AttrImpl_getOwnerElement org.mozilla.dom.test.AttrImpl_setValue_String_0 org.mozilla.dom.test.AttrImpl_setValue_String_1 org.mozilla.dom.test.CharacterDataImpl_appendData_String_0 @@ -56,8 +57,15 @@ org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_1 org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_2 org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_3 org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_4 +org.mozilla.dom.test.DOMImplementationImpl_createDocumentType_String_String_String_0 +org.mozilla.dom.test.DOMImplementationImpl_createDocumentType_String_String_String_String_0 +org.mozilla.dom.test.DOMImplementationImpl_createDocument_String_String_DocumentType_0 org.mozilla.dom.test.DocumentImpl_createAttribute_String_0 org.mozilla.dom.test.DocumentImpl_createAttribute_String_1 +org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_0 +org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_1 +org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_2 +org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_3 org.mozilla.dom.test.DocumentImpl_createCDATASection_String_0 org.mozilla.dom.test.DocumentImpl_createCDATASection_String_1 org.mozilla.dom.test.DocumentImpl_createComment_String_0 @@ -65,8 +73,13 @@ org.mozilla.dom.test.DocumentImpl_createComment_String_1 org.mozilla.dom.test.DocumentImpl_createDocumentFragment org.mozilla.dom.test.DocumentImpl_createElement_String_0 org.mozilla.dom.test.DocumentImpl_createElement_String_1 +org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_0 +org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_1 +org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_2 +org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_3 org.mozilla.dom.test.DocumentImpl_createEntityReference_String_0 -org.mozilla.dom.test.DocumentImpl_createEntityReference_String_1 +org.mozilla.dom.test.DocumentImpl_createEvent_String_0 +org.mozilla.dom.test.DocumentImpl_createEvent_String_1 org.mozilla.dom.test.DocumentImpl_createProcessingInstruction_String_String_0 org.mozilla.dom.test.DocumentImpl_createProcessingInstruction_String_String_1 org.mozilla.dom.test.DocumentImpl_createProcessingInstruction_String_String_2 @@ -77,38 +90,91 @@ org.mozilla.dom.test.DocumentImpl_getDoctype org.mozilla.dom.test.DocumentImpl_getDocumentElement org.mozilla.dom.test.DocumentImpl_getElementsByTagName_String_0 org.mozilla.dom.test.DocumentImpl_getElementsByTagName_String_1 +org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_0 +org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_1 +org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_2 +org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_3 +org.mozilla.dom.test.DocumentImpl_getElementById_String_0 +org.mozilla.dom.test.DocumentImpl_getElementById_String_1 org.mozilla.dom.test.DocumentImpl_getImplementation +org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_0 +org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_1 +org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_2 +org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_3 org.mozilla.dom.test.DocumentTypeImpl_getEntities org.mozilla.dom.test.DocumentTypeImpl_getName org.mozilla.dom.test.DocumentTypeImpl_getNotations +org.mozilla.dom.test.DocumentTypeImpl_getPublicId +org.mozilla.dom.test.DocumentTypeImpl_getSystemId +org.mozilla.dom.test.DocumentTypeImpl_getInternalSubset org.mozilla.dom.test.ElementImpl_getAttributeNode_String_0 org.mozilla.dom.test.ElementImpl_getAttributeNode_String_1 org.mozilla.dom.test.ElementImpl_getAttribute_String_0 org.mozilla.dom.test.ElementImpl_getAttribute_String_1 +org.mozilla.dom.test.ElementImpl_getAttributeNS_String_String_0 +org.mozilla.dom.test.ElementImpl_getAttributeNS_String_String_1 +org.mozilla.dom.test.ElementImpl_getAttributeNS_String_String_2 +org.mozilla.dom.test.ElementImpl_getAttributeNS_String_String_3 +org.mozilla.dom.test.ElementImpl_getAttributeNodeNS_String_String_0 +org.mozilla.dom.test.ElementImpl_getAttributeNodeNS_String_String_1 +org.mozilla.dom.test.ElementImpl_getAttributeNodeNS_String_String_2 +org.mozilla.dom.test.ElementImpl_getAttributeNodeNS_String_String_3 org.mozilla.dom.test.ElementImpl_getElementsByTagName_String_0 org.mozilla.dom.test.ElementImpl_getElementsByTagName_String_1 +org.mozilla.dom.test.ElementImpl_getElementsByTagNameNS_String_String_0 +org.mozilla.dom.test.ElementImpl_getElementsByTagNameNS_String_String_1 +org.mozilla.dom.test.ElementImpl_getElementsByTagNameNS_String_String_2 +org.mozilla.dom.test.ElementImpl_getElementsByTagNameNS_String_String_3 org.mozilla.dom.test.ElementImpl_getTagName org.mozilla.dom.test.ElementImpl_normalize org.mozilla.dom.test.ElementImpl_removeAttributeNode_Attr_0 org.mozilla.dom.test.ElementImpl_removeAttributeNode_Attr_1 org.mozilla.dom.test.ElementImpl_removeAttribute_String_0 org.mozilla.dom.test.ElementImpl_removeAttribute_String_1 +org.mozilla.dom.test.ElementImpl_removeAttributeNS_String_String_0 +org.mozilla.dom.test.ElementImpl_removeAttributeNS_String_String_1 +org.mozilla.dom.test.ElementImpl_removeAttributeNS_String_String_2 +org.mozilla.dom.test.ElementImpl_removeAttributeNS_String_String_3 org.mozilla.dom.test.ElementImpl_setAttributeNode_Attr_0 org.mozilla.dom.test.ElementImpl_setAttributeNode_Attr_1 +org.mozilla.dom.test.ElementImpl_setAttributeNode_Attr_2 +org.mozilla.dom.test.ElementImpl_setAttributeNodeNS_Attr_0 +org.mozilla.dom.test.ElementImpl_setAttributeNodeNS_Attr_1 org.mozilla.dom.test.ElementImpl_setAttribute_String_String_0 org.mozilla.dom.test.ElementImpl_setAttribute_String_String_1 org.mozilla.dom.test.ElementImpl_setAttribute_String_String_2 org.mozilla.dom.test.ElementImpl_setAttribute_String_String_3 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_0 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_1 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_2 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_3 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_4 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_5 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_6 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_7 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_8 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_9 org.mozilla.dom.test.NamedNodeMapImpl_getLength org.mozilla.dom.test.NamedNodeMapImpl_getNamedItem_String_0 org.mozilla.dom.test.NamedNodeMapImpl_getNamedItem_String_1 +org.mozilla.dom.test.NamedNodeMapImpl_getNamedItemNS_String_String_0 +org.mozilla.dom.test.NamedNodeMapImpl_getNamedItemNS_String_String_1 +org.mozilla.dom.test.NamedNodeMapImpl_getNamedItemNS_String_String_2 +org.mozilla.dom.test.NamedNodeMapImpl_getNamedItemNS_String_String_3 org.mozilla.dom.test.NamedNodeMapImpl_item_int_0 org.mozilla.dom.test.NamedNodeMapImpl_item_int_1 org.mozilla.dom.test.NamedNodeMapImpl_item_int_2 org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItem_String_0 org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItem_String_1 +org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItemNS_String_String_0 +org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItemNS_String_String_1 +org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItemNS_String_String_2 +org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItemNS_String_String_3 org.mozilla.dom.test.NamedNodeMapImpl_setNamedItem_Node_0 org.mozilla.dom.test.NamedNodeMapImpl_setNamedItem_Node_1 +org.mozilla.dom.test.NamedNodeMapImpl_setNamedItem_Node_2 +org.mozilla.dom.test.NamedNodeMapImpl_setNamedItemNS_Node_0 +org.mozilla.dom.test.NamedNodeMapImpl_setNamedItemNS_Node_1 org.mozilla.dom.test.NodeImpl_appendChild_Node_0 org.mozilla.dom.test.NodeImpl_appendChild_Node_1 org.mozilla.dom.test.NodeImpl_cloneNode_boolean_0 @@ -127,6 +193,9 @@ org.mozilla.dom.test.NodeImpl_getNodeValue org.mozilla.dom.test.NodeImpl_getOwnerDocument org.mozilla.dom.test.NodeImpl_getParentNode org.mozilla.dom.test.NodeImpl_getPreviousSibling +org.mozilla.dom.test.NodeImpl_getNamespaceURI +org.mozilla.dom.test.NodeImpl_getPrefix +org.mozilla.dom.test.NodeImpl_getLocalName org.mozilla.dom.test.NodeImpl_hasChildNodes org.mozilla.dom.test.NodeImpl_hashCode org.mozilla.dom.test.NodeImpl_insertBefore_Node_Node_0 @@ -142,6 +211,13 @@ org.mozilla.dom.test.NodeImpl_replaceChild_Node_Node_3 org.mozilla.dom.test.NodeImpl_setNodeValue_String_0 org.mozilla.dom.test.NodeImpl_setNodeValue_String_1 org.mozilla.dom.test.NodeImpl_toString +org.mozilla.dom.test.NodeImpl_normalize +org.mozilla.dom.test.NodeImpl_setPrefix_String_0 +org.mozilla.dom.test.NodeImpl_setPrefix_String_1 +org.mozilla.dom.test.NodeImpl_supports_String_String_0 +org.mozilla.dom.test.NodeImpl_supports_String_String_1 +org.mozilla.dom.test.NodeImpl_supports_String_String_2 +org.mozilla.dom.test.NodeImpl_supports_String_String_3 org.mozilla.dom.test.NodeListImpl_getLength org.mozilla.dom.test.NodeListImpl_item_int_0 org.mozilla.dom.test.NodeListImpl_item_int_1 diff --git a/mozilla/java/dom/tests/src/BWTestClass.lst.html.ORIG b/mozilla/java/dom/tests/src/BWTestClass.lst.html.ORIG index 868a388d013..5ab592cdd32 100755 --- a/mozilla/java/dom/tests/src/BWTestClass.lst.html.ORIG +++ b/mozilla/java/dom/tests/src/BWTestClass.lst.html.ORIG @@ -1,6 +1,7 @@ org.mozilla.dom.test.AttrImpl_getName org.mozilla.dom.test.AttrImpl_getSpecified org.mozilla.dom.test.AttrImpl_getValue +org.mozilla.dom.test.AttrImpl_getOwnerElement org.mozilla.dom.test.AttrImpl_setValue_String_0 org.mozilla.dom.test.AttrImpl_setValue_String_1 org.mozilla.dom.test.CharacterDataImpl_appendData_String_0 @@ -55,49 +56,115 @@ org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_0 org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_1 org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_2 org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_3 +org.mozilla.dom.test.DOMImplementationImpl_createDocumentType_String_String_String_0 +org.mozilla.dom.test.DOMImplementationImpl_createDocumentType_String_String_String_String_0 +org.mozilla.dom.test.DOMImplementationImpl_createDocument_String_String_DocumentType_0 org.mozilla.dom.test.DocumentImpl_createAttribute_String_0 org.mozilla.dom.test.DocumentImpl_createAttribute_String_1 +org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_0 +org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_1 +org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_2 +org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_3 org.mozilla.dom.test.DocumentImpl_createComment_String_0 org.mozilla.dom.test.DocumentImpl_createComment_String_1 org.mozilla.dom.test.DocumentImpl_createDocumentFragment org.mozilla.dom.test.DocumentImpl_createElement_String_0 org.mozilla.dom.test.DocumentImpl_createElement_String_1 +org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_0 +org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_1 +org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_2 +org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_3 +org.mozilla.dom.test.DocumentImpl_createEvent_String_0 +org.mozilla.dom.test.DocumentImpl_createEvent_String_1 org.mozilla.dom.test.DocumentImpl_createTextNode_String_0 org.mozilla.dom.test.DocumentImpl_createTextNode_String_1 org.mozilla.dom.test.DocumentImpl_getDoctype org.mozilla.dom.test.DocumentImpl_getDocumentElement org.mozilla.dom.test.DocumentImpl_getElementsByTagName_String_0 org.mozilla.dom.test.DocumentImpl_getElementsByTagName_String_1 +org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_0 +org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_1 +org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_2 +org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_3 +org.mozilla.dom.test.DocumentImpl_getElementById_String_0 +org.mozilla.dom.test.DocumentImpl_getElementById_String_1 org.mozilla.dom.test.DocumentImpl_getImplementation +org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_0 +org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_1 +org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_2 +org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_3 org.mozilla.dom.test.DocumentTypeImpl_getName +org.mozilla.dom.test.DocumentTypeImpl_getPublicId +org.mozilla.dom.test.DocumentTypeImpl_getSystemId +org.mozilla.dom.test.DocumentTypeImpl_getInternalSubset org.mozilla.dom.test.ElementImpl_getAttributeNode_String_0 org.mozilla.dom.test.ElementImpl_getAttributeNode_String_1 org.mozilla.dom.test.ElementImpl_getAttribute_String_0 org.mozilla.dom.test.ElementImpl_getAttribute_String_1 +org.mozilla.dom.test.ElementImpl_getAttributeNS_String_String_0 +org.mozilla.dom.test.ElementImpl_getAttributeNS_String_String_1 +org.mozilla.dom.test.ElementImpl_getAttributeNS_String_String_2 +org.mozilla.dom.test.ElementImpl_getAttributeNS_String_String_3 +org.mozilla.dom.test.ElementImpl_getAttributeNodeNS_String_String_0 +org.mozilla.dom.test.ElementImpl_getAttributeNodeNS_String_String_1 +org.mozilla.dom.test.ElementImpl_getAttributeNodeNS_String_String_2 +org.mozilla.dom.test.ElementImpl_getAttributeNodeNS_String_String_3 org.mozilla.dom.test.ElementImpl_getElementsByTagName_String_0 org.mozilla.dom.test.ElementImpl_getElementsByTagName_String_1 +org.mozilla.dom.test.ElementImpl_getElementsByTagNameNS_String_String_0 +org.mozilla.dom.test.ElementImpl_getElementsByTagNameNS_String_String_1 +org.mozilla.dom.test.ElementImpl_getElementsByTagNameNS_String_String_2 +org.mozilla.dom.test.ElementImpl_getElementsByTagNameNS_String_String_3 org.mozilla.dom.test.ElementImpl_getTagName org.mozilla.dom.test.ElementImpl_normalize org.mozilla.dom.test.ElementImpl_removeAttributeNode_Attr_0 org.mozilla.dom.test.ElementImpl_removeAttributeNode_Attr_1 org.mozilla.dom.test.ElementImpl_removeAttribute_String_0 org.mozilla.dom.test.ElementImpl_removeAttribute_String_1 +org.mozilla.dom.test.ElementImpl_removeAttributeNS_String_String_0 +org.mozilla.dom.test.ElementImpl_removeAttributeNS_String_String_1 +org.mozilla.dom.test.ElementImpl_removeAttributeNS_String_String_2 +org.mozilla.dom.test.ElementImpl_removeAttributeNS_String_String_3 org.mozilla.dom.test.ElementImpl_setAttributeNode_Attr_0 org.mozilla.dom.test.ElementImpl_setAttributeNode_Attr_1 +org.mozilla.dom.test.ElementImpl_setAttributeNode_Attr_2 +org.mozilla.dom.test.ElementImpl_setAttributeNodeNS_Attr_0 +org.mozilla.dom.test.ElementImpl_setAttributeNodeNS_Attr_1 org.mozilla.dom.test.ElementImpl_setAttribute_String_String_0 org.mozilla.dom.test.ElementImpl_setAttribute_String_String_1 org.mozilla.dom.test.ElementImpl_setAttribute_String_String_2 org.mozilla.dom.test.ElementImpl_setAttribute_String_String_3 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_0 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_1 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_2 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_3 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_4 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_5 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_6 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_7 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_8 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_9 org.mozilla.dom.test.NamedNodeMapImpl_getLength org.mozilla.dom.test.NamedNodeMapImpl_getNamedItem_String_0 org.mozilla.dom.test.NamedNodeMapImpl_getNamedItem_String_1 +org.mozilla.dom.test.NamedNodeMapImpl_getNamedItemNS_String_String_0 +org.mozilla.dom.test.NamedNodeMapImpl_getNamedItemNS_String_String_1 +org.mozilla.dom.test.NamedNodeMapImpl_getNamedItemNS_String_String_2 +org.mozilla.dom.test.NamedNodeMapImpl_getNamedItemNS_String_String_3 org.mozilla.dom.test.NamedNodeMapImpl_item_int_0 org.mozilla.dom.test.NamedNodeMapImpl_item_int_1 org.mozilla.dom.test.NamedNodeMapImpl_item_int_2 org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItem_String_0 org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItem_String_1 +org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItemNS_String_String_0 +org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItemNS_String_String_1 +org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItemNS_String_String_2 +org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItemNS_String_String_3 org.mozilla.dom.test.NamedNodeMapImpl_setNamedItem_Node_0 org.mozilla.dom.test.NamedNodeMapImpl_setNamedItem_Node_1 +org.mozilla.dom.test.NamedNodeMapImpl_setNamedItem_Node_2 +org.mozilla.dom.test.NamedNodeMapImpl_setNamedItemNS_Node_0 +org.mozilla.dom.test.NamedNodeMapImpl_setNamedItemNS_Node_1 org.mozilla.dom.test.NodeImpl_appendChild_Node_0 org.mozilla.dom.test.NodeImpl_appendChild_Node_1 org.mozilla.dom.test.NodeImpl_cloneNode_boolean_0 @@ -116,6 +183,9 @@ org.mozilla.dom.test.NodeImpl_getNodeValue org.mozilla.dom.test.NodeImpl_getOwnerDocument org.mozilla.dom.test.NodeImpl_getParentNode org.mozilla.dom.test.NodeImpl_getPreviousSibling +org.mozilla.dom.test.NodeImpl_getNamespaceURI +org.mozilla.dom.test.NodeImpl_getPrefix +org.mozilla.dom.test.NodeImpl_getLocalName org.mozilla.dom.test.NodeImpl_hasChildNodes org.mozilla.dom.test.NodeImpl_hashCode org.mozilla.dom.test.NodeImpl_insertBefore_Node_Node_0 @@ -135,6 +205,13 @@ org.mozilla.dom.test.NodeListImpl_getLength org.mozilla.dom.test.NodeListImpl_item_int_0 org.mozilla.dom.test.NodeListImpl_item_int_1 org.mozilla.dom.test.NodeListImpl_item_int_2 +org.mozilla.dom.test.NodeImpl_normalize +org.mozilla.dom.test.NodeImpl_setPrefix_String_0 +org.mozilla.dom.test.NodeImpl_setPrefix_String_1 +org.mozilla.dom.test.NodeImpl_supports_String_String_0 +org.mozilla.dom.test.NodeImpl_supports_String_String_1 +org.mozilla.dom.test.NodeImpl_supports_String_String_2 +org.mozilla.dom.test.NodeImpl_supports_String_String_3 org.mozilla.dom.test.TextImpl_splitText_int_0 org.mozilla.dom.test.TextImpl_splitText_int_1 org.mozilla.dom.test.TextImpl_splitText_int_2 diff --git a/mozilla/java/dom/tests/src/BWTestClass.lst.xml.ORIG b/mozilla/java/dom/tests/src/BWTestClass.lst.xml.ORIG index 1a0a3c6d983..dd33e260298 100755 --- a/mozilla/java/dom/tests/src/BWTestClass.lst.xml.ORIG +++ b/mozilla/java/dom/tests/src/BWTestClass.lst.xml.ORIG @@ -2,10 +2,23 @@ org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_0 org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_1 org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_2 org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_4 +org.mozilla.dom.test.DOMImplementationImpl_createDocumentType_String_String_String_0 +org.mozilla.dom.test.DOMImplementationImpl_createDocumentType_String_String_String_String_0 +org.mozilla.dom.test.DOMImplementationImpl_createDocument_String_String_DocumentType_0 +org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_0 +org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_1 +org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_2 +org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_3 org.mozilla.dom.test.DocumentImpl_createCDATASection_String_0 org.mozilla.dom.test.DocumentImpl_createCDATASection_String_1 org.mozilla.dom.test.DocumentImpl_createComment_String_0 org.mozilla.dom.test.DocumentImpl_createComment_String_1 +org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_0 +org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_1 +org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_2 +org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_3 +org.mozilla.dom.test.DocumentImpl_createEvent_String_0 +org.mozilla.dom.test.DocumentImpl_createEvent_String_1 org.mozilla.dom.test.DocumentImpl_createEntityReference_String_0 org.mozilla.dom.test.DocumentImpl_createEntityReference_String_1 org.mozilla.dom.test.DocumentImpl_createProcessingInstruction_String_String_0 @@ -18,10 +31,23 @@ org.mozilla.dom.test.DocumentImpl_getDoctype org.mozilla.dom.test.DocumentImpl_getDocumentElement org.mozilla.dom.test.DocumentImpl_getElementsByTagName_String_0 org.mozilla.dom.test.DocumentImpl_getElementsByTagName_String_1 +org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_0 +org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_1 +org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_2 +org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_3 +org.mozilla.dom.test.DocumentImpl_getElementById_String_0 +org.mozilla.dom.test.DocumentImpl_getElementById_String_1 org.mozilla.dom.test.DocumentImpl_getImplementation +org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_0 +org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_1 +org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_2 +org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_3 org.mozilla.dom.test.DocumentTypeImpl_getEntities org.mozilla.dom.test.DocumentTypeImpl_getName org.mozilla.dom.test.DocumentTypeImpl_getNotations +org.mozilla.dom.test.DocumentTypeImpl_getPublicId +org.mozilla.dom.test.DocumentTypeImpl_getSystemId +org.mozilla.dom.test.DocumentTypeImpl_getInternalSubset org.mozilla.dom.test.ProcessingInstructionImpl_getData org.mozilla.dom.test.ProcessingInstructionImpl_getTarget org.mozilla.dom.test.ProcessingInstructionImpl_setData_String_0 diff --git a/mozilla/java/dom/tests/src/DOMAccessorImpl.java b/mozilla/java/dom/tests/src/DOMAccessorImpl.java index 55d596869f9..2a2a283c023 100755 --- a/mozilla/java/dom/tests/src/DOMAccessorImpl.java +++ b/mozilla/java/dom/tests/src/DOMAccessorImpl.java @@ -41,12 +41,11 @@ public class DOMAccessorImpl implements DOMAccessor, DocumentLoadListener { try { //at this moment library is not loaded yet - tet's do it System.loadLibrary("javadomjni"); - DocumentImpl.initialize(); } catch (Exception e) { System.out.println("Can't load javadomjni.dll: "+e); System.exit(-1); } - getInstance().addDocumentLoadListener(new TestListener()); + DOMAccessorImpl.getInstance().addDocumentLoadListener(new TestListener()); } public static synchronized DOMAccessor getInstance() { @@ -193,6 +192,7 @@ class TestListener implements DocumentLoadListener { } Object obj = (Object) doc; +System.out.println("Loading new TestLoader...\n"); TestLoader tl = new TestLoader(obj, 0); if (tl != null) { diff --git a/mozilla/java/dom/tests/src/DocumentImpl.java b/mozilla/java/dom/tests/src/DocumentImpl.java index 446f3627732..781ceadc1d3 100644 --- a/mozilla/java/dom/tests/src/DocumentImpl.java +++ b/mozilla/java/dom/tests/src/DocumentImpl.java @@ -42,6 +42,10 @@ public class DocumentImpl extends NodeImpl implements Document, DocumentEvent { // instantiated from JNI only private DocumentImpl() {} + public DocumentImpl(long p) { + super(p); + } + public native Attr createAttribute(String name); public native CDATASection createCDATASection(String data); @@ -60,18 +64,10 @@ public class DocumentImpl extends NodeImpl implements Document, DocumentEvent { public native DOMImplementation getImplementation(); -/* The only change in this file - private -> public*/ - public static native void initialize(); - public Event createEvent(String type) throws DOMException { throw new UnsupportedOperationException(); } - static { - System.loadLibrary("javadomjni"); - initialize(); - } - public Node importNode(Node importedNode, boolean deep) throws DOMException { throw new UnsupportedOperationException(); } diff --git a/mozilla/java/dom/tests/src/TestLoader.java b/mozilla/java/dom/tests/src/TestLoader.java index ff1c19ba036..8bf711daec0 100755 --- a/mozilla/java/dom/tests/src/TestLoader.java +++ b/mozilla/java/dom/tests/src/TestLoader.java @@ -148,6 +148,7 @@ public class TestLoader extends Applet implements DocumentLoadListener String testDir = "."; String testFile = TESTFILE; +System.out.println("Inside LoadTest"); // Set Test directory testDir = propTable.getProperty("BW_TESTDIR"); if (testDir == null) testDir="."; @@ -239,7 +240,10 @@ public class TestLoader extends Applet implements DocumentLoadListener try { System.out.println("################ Starting test ..."); if (((BWBaseTest)classObj).execute(targetObj)) { - txtPrint(s, "PASSED"); + if (((BWBaseTest)classObj).isUnsupported()) + txtPrint(s, "UNSUPPORTED METHOD"); + else + txtPrint(s, "PASSED"); System.out.println("################ passed"); } else { txtPrint(s, "FAILED"); diff --git a/mozilla/java/dom/tests/src/api/BWTestClass.lst b/mozilla/java/dom/tests/src/api/BWTestClass.lst index 9603b73317f..9f7f1ecc03c 100755 --- a/mozilla/java/dom/tests/src/api/BWTestClass.lst +++ b/mozilla/java/dom/tests/src/api/BWTestClass.lst @@ -1,153 +1 @@ -#org.mozilla.dom.test.AttrImpl_getName -#org.mozilla.dom.test.AttrImpl_getSpecified -#org.mozilla.dom.test.AttrImpl_getValue -#org.mozilla.dom.test.AttrImpl_setValue_String_0 -#org.mozilla.dom.test.AttrImpl_setValue_String_1 -#org.mozilla.dom.test.CharacterDataImpl_appendData_String_0 -#org.mozilla.dom.test.CharacterDataImpl_appendData_String_1 -#org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_0 -#org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_1 -#org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_2 -#org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_3 -#org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_4 -#org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_5 -#org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_6 -#org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_7 -#org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_8 -#org.mozilla.dom.test.CharacterDataImpl_getData -#org.mozilla.dom.test.CharacterDataImpl_getLength -#org.mozilla.dom.test.CharacterDataImpl_insertData_int_String_0 -#org.mozilla.dom.test.CharacterDataImpl_insertData_int_String_1 -#org.mozilla.dom.test.CharacterDataImpl_insertData_int_String_2 -#org.mozilla.dom.test.CharacterDataImpl_insertData_int_String_3 -#org.mozilla.dom.test.CharacterDataImpl_insertData_int_String_4 -#org.mozilla.dom.test.CharacterDataImpl_insertData_int_String_5 -#org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_0 -#org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_1 -#org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_10 -#org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_11 -#org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_12 -#org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_13 -#org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_14 -#org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_15 -#org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_16 -#org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_17 -#org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_2 -#org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_3 -#org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_4 -#org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_5 -#org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_6 -#org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_7 -#org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_8 -#org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_9 -#org.mozilla.dom.test.CharacterDataImpl_setData_String_0 -#org.mozilla.dom.test.CharacterDataImpl_setData_String_1 -#org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_0 -#org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_1 -#org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_2 -#org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_3 -#org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_4 -#org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_5 -#org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_6 -#org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_7 -#org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_8 -#org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_0 -#org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_1 -#org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_2 -#org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_3 -#org.mozilla.dom.test.DocumentImpl_createAttribute_String_0 -#org.mozilla.dom.test.DocumentImpl_createAttribute_String_1 -#org.mozilla.dom.test.DocumentImpl_createCDATASection_String_0 -#org.mozilla.dom.test.DocumentImpl_createCDATASection_String_1 -#org.mozilla.dom.test.DocumentImpl_createComment_String_0 -#org.mozilla.dom.test.DocumentImpl_createComment_String_1 -#org.mozilla.dom.test.DocumentImpl_createDocumentFragment -#org.mozilla.dom.test.DocumentImpl_createElement_String_0 -#org.mozilla.dom.test.DocumentImpl_createElement_String_1 -#org.mozilla.dom.test.DocumentImpl_createEntityReference_String_0 -#org.mozilla.dom.test.DocumentImpl_createEntityReference_String_1 -#org.mozilla.dom.test.DocumentImpl_createProcessingInstruction_String_String_0 -#org.mozilla.dom.test.DocumentImpl_createProcessingInstruction_String_String_1 -#org.mozilla.dom.test.DocumentImpl_createProcessingInstruction_String_String_2 -#org.mozilla.dom.test.DocumentImpl_createProcessingInstruction_String_String_3 -#org.mozilla.dom.test.DocumentImpl_createTextNode_String_0 -#org.mozilla.dom.test.DocumentImpl_createTextNode_String_1 -#org.mozilla.dom.test.DocumentImpl_getDoctype -#org.mozilla.dom.test.DocumentImpl_getDocumentElement -#org.mozilla.dom.test.DocumentImpl_getElementsByTagName_String_0 -#org.mozilla.dom.test.DocumentImpl_getElementsByTagName_String_1 -#org.mozilla.dom.test.DocumentImpl_getImplementation -#org.mozilla.dom.test.DocumentTypeImpl_getEntities -#org.mozilla.dom.test.DocumentTypeImpl_getName -#org.mozilla.dom.test.DocumentTypeImpl_getNotations -#org.mozilla.dom.test.ElementImpl_getAttributeNode_String_0 -#org.mozilla.dom.test.ElementImpl_getAttributeNode_String_1 -#org.mozilla.dom.test.ElementImpl_getAttribute_String_0 -#org.mozilla.dom.test.ElementImpl_getAttribute_String_1 -#org.mozilla.dom.test.ElementImpl_getElementsByTagName_String_0 -#org.mozilla.dom.test.ElementImpl_getElementsByTagName_String_1 -#org.mozilla.dom.test.ElementImpl_getTagName -#org.mozilla.dom.test.ElementImpl_normalize -#org.mozilla.dom.test.ElementImpl_removeAttributeNode_Attr_0 -#org.mozilla.dom.test.ElementImpl_removeAttributeNode_Attr_1 -#org.mozilla.dom.test.ElementImpl_removeAttribute_String_0 -#org.mozilla.dom.test.ElementImpl_removeAttribute_String_1 -#org.mozilla.dom.test.ElementImpl_setAttributeNode_Attr_0 -#org.mozilla.dom.test.ElementImpl_setAttributeNode_Attr_1 -#org.mozilla.dom.test.ElementImpl_setAttribute_String_String_0 -#org.mozilla.dom.test.ElementImpl_setAttribute_String_String_1 -#org.mozilla.dom.test.ElementImpl_setAttribute_String_String_2 -#org.mozilla.dom.test.ElementImpl_setAttribute_String_String_3 -#org.mozilla.dom.test.NamedNodeMapImpl_getLength -#org.mozilla.dom.test.NamedNodeMapImpl_getNamedItem_String_0 -#org.mozilla.dom.test.NamedNodeMapImpl_getNamedItem_String_1 -#org.mozilla.dom.test.NamedNodeMapImpl_item_int_0 -#org.mozilla.dom.test.NamedNodeMapImpl_item_int_1 -#org.mozilla.dom.test.NamedNodeMapImpl_item_int_2 -#org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItem_String_0 -#org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItem_String_1 -#org.mozilla.dom.test.NamedNodeMapImpl_setNamedItem_Node_0 -#org.mozilla.dom.test.NamedNodeMapImpl_setNamedItem_Node_1 -#org.mozilla.dom.test.NodeImpl_appendChild_Node_0 -#org.mozilla.dom.test.NodeImpl_appendChild_Node_1 -#org.mozilla.dom.test.NodeImpl_cloneNode_boolean_0 -#org.mozilla.dom.test.NodeImpl_cloneNode_boolean_1 -#org.mozilla.dom.test.NodeImpl_equals_Object_0 -#org.mozilla.dom.test.NodeImpl_equals_Object_1 -#org.mozilla.dom.test.NodeImpl_getAttributes -#org.mozilla.dom.test.NodeImpl_getChildNodes -#org.mozilla.dom.test.NodeImpl_getFirstChild -#org.mozilla.dom.test.NodeImpl_getLastChild -#org.mozilla.dom.test.NodeImpl_getNextSibling -#org.mozilla.dom.test.NodeImpl_getNodeName -#org.mozilla.dom.test.NodeImpl_getNodeType -#org.mozilla.dom.test.NodeImpl_getNodeValue -#org.mozilla.dom.test.NodeImpl_getOwnerDocument -#org.mozilla.dom.test.NodeImpl_getParentNode -#org.mozilla.dom.test.NodeImpl_getPreviousSibling -#org.mozilla.dom.test.NodeImpl_hasChildNodes -#org.mozilla.dom.test.NodeImpl_hashCode -#org.mozilla.dom.test.NodeImpl_insertBefore_Node_Node_0 -#org.mozilla.dom.test.NodeImpl_insertBefore_Node_Node_1 -#org.mozilla.dom.test.NodeImpl_insertBefore_Node_Node_2 -#org.mozilla.dom.test.NodeImpl_insertBefore_Node_Node_3 -#org.mozilla.dom.test.NodeImpl_removeChild_Node_0 -#org.mozilla.dom.test.NodeImpl_removeChild_Node_1 -#org.mozilla.dom.test.NodeImpl_replaceChild_Node_Node_0 -#org.mozilla.dom.test.NodeImpl_replaceChild_Node_Node_1 -#org.mozilla.dom.test.NodeImpl_replaceChild_Node_Node_2 -#org.mozilla.dom.test.NodeImpl_replaceChild_Node_Node_3 -#org.mozilla.dom.test.NodeImpl_setNodeValue_String_0 -#org.mozilla.dom.test.NodeImpl_setNodeValue_String_1 -#org.mozilla.dom.test.NodeImpl_toString -#org.mozilla.dom.test.NodeListImpl_getLength -#org.mozilla.dom.test.NodeListImpl_item_int_0 -#org.mozilla.dom.test.NodeListImpl_item_int_1 -#org.mozilla.dom.test.NodeListImpl_item_int_2 -#org.mozilla.dom.test.ProcessingInstructionImpl_getData -#org.mozilla.dom.test.ProcessingInstructionImpl_getTarget -#org.mozilla.dom.test.ProcessingInstructionImpl_setData_String_0 -#org.mozilla.dom.test.ProcessingInstructionImpl_setData_String_1 -#org.mozilla.dom.test.TextImpl_splitText_int_0 -#org.mozilla.dom.test.TextImpl_splitText_int_1 -#org.mozilla.dom.test.TextImpl_splitText_int_2 +org.mozilla.dom.test.NodeImpl_getPrefix diff --git a/mozilla/java/dom/tests/src/api/BWTestClass.lst.ORIG b/mozilla/java/dom/tests/src/api/BWTestClass.lst.ORIG index 4882f7cc811..91818022f30 100755 --- a/mozilla/java/dom/tests/src/api/BWTestClass.lst.ORIG +++ b/mozilla/java/dom/tests/src/api/BWTestClass.lst.ORIG @@ -1,6 +1,7 @@ org.mozilla.dom.test.AttrImpl_getName org.mozilla.dom.test.AttrImpl_getSpecified org.mozilla.dom.test.AttrImpl_getValue +org.mozilla.dom.test.AttrImpl_getOwnerElement org.mozilla.dom.test.AttrImpl_setValue_String_0 org.mozilla.dom.test.AttrImpl_setValue_String_1 org.mozilla.dom.test.CharacterDataImpl_appendData_String_0 @@ -55,8 +56,16 @@ org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_0 org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_1 org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_2 org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_3 +org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_4 +org.mozilla.dom.test.DOMImplementationImpl_createDocumentType_String_String_String_0 +org.mozilla.dom.test.DOMImplementationImpl_createDocumentType_String_String_String_String_0 +org.mozilla.dom.test.DOMImplementationImpl_createDocument_String_String_DocumentType_0 org.mozilla.dom.test.DocumentImpl_createAttribute_String_0 org.mozilla.dom.test.DocumentImpl_createAttribute_String_1 +org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_0 +org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_1 +org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_2 +org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_3 org.mozilla.dom.test.DocumentImpl_createCDATASection_String_0 org.mozilla.dom.test.DocumentImpl_createCDATASection_String_1 org.mozilla.dom.test.DocumentImpl_createComment_String_0 @@ -64,8 +73,13 @@ org.mozilla.dom.test.DocumentImpl_createComment_String_1 org.mozilla.dom.test.DocumentImpl_createDocumentFragment org.mozilla.dom.test.DocumentImpl_createElement_String_0 org.mozilla.dom.test.DocumentImpl_createElement_String_1 +org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_0 +org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_1 +org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_2 +org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_3 org.mozilla.dom.test.DocumentImpl_createEntityReference_String_0 -org.mozilla.dom.test.DocumentImpl_createEntityReference_String_1 +org.mozilla.dom.test.DocumentImpl_createEvent_String_0 +org.mozilla.dom.test.DocumentImpl_createEvent_String_1 org.mozilla.dom.test.DocumentImpl_createProcessingInstruction_String_String_0 org.mozilla.dom.test.DocumentImpl_createProcessingInstruction_String_String_1 org.mozilla.dom.test.DocumentImpl_createProcessingInstruction_String_String_2 @@ -76,44 +90,98 @@ org.mozilla.dom.test.DocumentImpl_getDoctype org.mozilla.dom.test.DocumentImpl_getDocumentElement org.mozilla.dom.test.DocumentImpl_getElementsByTagName_String_0 org.mozilla.dom.test.DocumentImpl_getElementsByTagName_String_1 +org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_0 +org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_1 +org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_2 +org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_3 +org.mozilla.dom.test.DocumentImpl_getElementById_String_0 +org.mozilla.dom.test.DocumentImpl_getElementById_String_1 org.mozilla.dom.test.DocumentImpl_getImplementation +org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_0 +org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_1 +org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_2 +org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_3 org.mozilla.dom.test.DocumentTypeImpl_getEntities org.mozilla.dom.test.DocumentTypeImpl_getName org.mozilla.dom.test.DocumentTypeImpl_getNotations +org.mozilla.dom.test.DocumentTypeImpl_getPublicId +org.mozilla.dom.test.DocumentTypeImpl_getSystemId +org.mozilla.dom.test.DocumentTypeImpl_getInternalSubset org.mozilla.dom.test.ElementImpl_getAttributeNode_String_0 org.mozilla.dom.test.ElementImpl_getAttributeNode_String_1 org.mozilla.dom.test.ElementImpl_getAttribute_String_0 org.mozilla.dom.test.ElementImpl_getAttribute_String_1 +org.mozilla.dom.test.ElementImpl_getAttributeNS_String_String_0 +org.mozilla.dom.test.ElementImpl_getAttributeNS_String_String_1 +org.mozilla.dom.test.ElementImpl_getAttributeNS_String_String_2 +org.mozilla.dom.test.ElementImpl_getAttributeNS_String_String_3 +org.mozilla.dom.test.ElementImpl_getAttributeNodeNS_String_String_0 +org.mozilla.dom.test.ElementImpl_getAttributeNodeNS_String_String_1 +org.mozilla.dom.test.ElementImpl_getAttributeNodeNS_String_String_2 +org.mozilla.dom.test.ElementImpl_getAttributeNodeNS_String_String_3 org.mozilla.dom.test.ElementImpl_getElementsByTagName_String_0 org.mozilla.dom.test.ElementImpl_getElementsByTagName_String_1 +org.mozilla.dom.test.ElementImpl_getElementsByTagNameNS_String_String_0 +org.mozilla.dom.test.ElementImpl_getElementsByTagNameNS_String_String_1 +org.mozilla.dom.test.ElementImpl_getElementsByTagNameNS_String_String_2 +org.mozilla.dom.test.ElementImpl_getElementsByTagNameNS_String_String_3 org.mozilla.dom.test.ElementImpl_getTagName org.mozilla.dom.test.ElementImpl_normalize org.mozilla.dom.test.ElementImpl_removeAttributeNode_Attr_0 org.mozilla.dom.test.ElementImpl_removeAttributeNode_Attr_1 org.mozilla.dom.test.ElementImpl_removeAttribute_String_0 org.mozilla.dom.test.ElementImpl_removeAttribute_String_1 +org.mozilla.dom.test.ElementImpl_removeAttributeNS_String_String_0 +org.mozilla.dom.test.ElementImpl_removeAttributeNS_String_String_1 +org.mozilla.dom.test.ElementImpl_removeAttributeNS_String_String_2 +org.mozilla.dom.test.ElementImpl_removeAttributeNS_String_String_3 org.mozilla.dom.test.ElementImpl_setAttributeNode_Attr_0 org.mozilla.dom.test.ElementImpl_setAttributeNode_Attr_1 +org.mozilla.dom.test.ElementImpl_setAttributeNode_Attr_2 +org.mozilla.dom.test.ElementImpl_setAttributeNodeNS_Attr_0 +org.mozilla.dom.test.ElementImpl_setAttributeNodeNS_Attr_1 org.mozilla.dom.test.ElementImpl_setAttribute_String_String_0 org.mozilla.dom.test.ElementImpl_setAttribute_String_String_1 org.mozilla.dom.test.ElementImpl_setAttribute_String_String_2 org.mozilla.dom.test.ElementImpl_setAttribute_String_String_3 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_0 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_1 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_2 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_3 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_4 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_5 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_6 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_7 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_8 +org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_9 org.mozilla.dom.test.NamedNodeMapImpl_getLength org.mozilla.dom.test.NamedNodeMapImpl_getNamedItem_String_0 org.mozilla.dom.test.NamedNodeMapImpl_getNamedItem_String_1 +org.mozilla.dom.test.NamedNodeMapImpl_getNamedItemNS_String_String_0 +org.mozilla.dom.test.NamedNodeMapImpl_getNamedItemNS_String_String_1 +org.mozilla.dom.test.NamedNodeMapImpl_getNamedItemNS_String_String_2 +org.mozilla.dom.test.NamedNodeMapImpl_getNamedItemNS_String_String_3 org.mozilla.dom.test.NamedNodeMapImpl_item_int_0 org.mozilla.dom.test.NamedNodeMapImpl_item_int_1 org.mozilla.dom.test.NamedNodeMapImpl_item_int_2 org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItem_String_0 org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItem_String_1 +org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItemNS_String_String_0 +org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItemNS_String_String_1 +org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItemNS_String_String_2 +org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItemNS_String_String_3 org.mozilla.dom.test.NamedNodeMapImpl_setNamedItem_Node_0 org.mozilla.dom.test.NamedNodeMapImpl_setNamedItem_Node_1 +org.mozilla.dom.test.NamedNodeMapImpl_setNamedItem_Node_2 +org.mozilla.dom.test.NamedNodeMapImpl_setNamedItemNS_Node_0 +org.mozilla.dom.test.NamedNodeMapImpl_setNamedItemNS_Node_1 org.mozilla.dom.test.NodeImpl_appendChild_Node_0 org.mozilla.dom.test.NodeImpl_appendChild_Node_1 org.mozilla.dom.test.NodeImpl_cloneNode_boolean_0 org.mozilla.dom.test.NodeImpl_cloneNode_boolean_1 org.mozilla.dom.test.NodeImpl_equals_Object_0 org.mozilla.dom.test.NodeImpl_equals_Object_1 +org.mozilla.dom.test.NodeImpl_equals_Object_2 org.mozilla.dom.test.NodeImpl_getAttributes org.mozilla.dom.test.NodeImpl_getChildNodes org.mozilla.dom.test.NodeImpl_getFirstChild @@ -125,6 +193,9 @@ org.mozilla.dom.test.NodeImpl_getNodeValue org.mozilla.dom.test.NodeImpl_getOwnerDocument org.mozilla.dom.test.NodeImpl_getParentNode org.mozilla.dom.test.NodeImpl_getPreviousSibling +org.mozilla.dom.test.NodeImpl_getNamespaceURI +org.mozilla.dom.test.NodeImpl_getPrefix +org.mozilla.dom.test.NodeImpl_getLocalName org.mozilla.dom.test.NodeImpl_hasChildNodes org.mozilla.dom.test.NodeImpl_hashCode org.mozilla.dom.test.NodeImpl_insertBefore_Node_Node_0 @@ -140,6 +211,13 @@ org.mozilla.dom.test.NodeImpl_replaceChild_Node_Node_3 org.mozilla.dom.test.NodeImpl_setNodeValue_String_0 org.mozilla.dom.test.NodeImpl_setNodeValue_String_1 org.mozilla.dom.test.NodeImpl_toString +org.mozilla.dom.test.NodeImpl_normalize +org.mozilla.dom.test.NodeImpl_setPrefix_String_0 +org.mozilla.dom.test.NodeImpl_setPrefix_String_1 +org.mozilla.dom.test.NodeImpl_supports_String_String_0 +org.mozilla.dom.test.NodeImpl_supports_String_String_1 +org.mozilla.dom.test.NodeImpl_supports_String_String_2 +org.mozilla.dom.test.NodeImpl_supports_String_String_3 org.mozilla.dom.test.NodeListImpl_getLength org.mozilla.dom.test.NodeListImpl_item_int_0 org.mozilla.dom.test.NodeListImpl_item_int_1 diff --git a/mozilla/java/dom/tests/src/api/ElementImpl_removeAttribute_String_1.java b/mozilla/java/dom/tests/src/api/ElementImpl_removeAttribute_String_1.java index 590217565ce..2ca791f1d07 100755 --- a/mozilla/java/dom/tests/src/api/ElementImpl_removeAttribute_String_1.java +++ b/mozilla/java/dom/tests/src/api/ElementImpl_removeAttribute_String_1.java @@ -93,7 +93,7 @@ public class ElementImpl_removeAttribute_String_1 extends BWBaseTest implements } else { e.setAttributeNode(a); e.removeAttribute("dummyattr_4"); - if (e.getAttribute("dummyattr_4") != null) { + if (e.getAttribute("dummyattr_4").compareTo("") != 0) { TestLoader.logErrPrint("Element 'removeAttribute(dummyattr_4) FAILED... "); return BWBaseTest.FAILED; } diff --git a/mozilla/java/dom/tests/src/api/ElementImpl_setAttributeNode_Attr_1.java b/mozilla/java/dom/tests/src/api/ElementImpl_setAttributeNode_Attr_1.java index 0a0d08e7940..08fd587520b 100755 --- a/mozilla/java/dom/tests/src/api/ElementImpl_setAttributeNode_Attr_1.java +++ b/mozilla/java/dom/tests/src/api/ElementImpl_setAttributeNode_Attr_1.java @@ -93,7 +93,7 @@ public class ElementImpl_setAttributeNode_Attr_1 extends BWBaseTest implements E return BWBaseTest.FAILED; } else { Attr anode = e.setAttributeNode(a); - if (anode == null) + if (anode != null) { TestLoader.logErrPrint("Element 'setAttribute(dummyattr_5) FAILED... "); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/Makefile b/mozilla/java/dom/tests/src/api/Makefile index 6ee7f9f16d2..0c864009310 100755 --- a/mozilla/java/dom/tests/src/api/Makefile +++ b/mozilla/java/dom/tests/src/api/Makefile @@ -29,6 +29,7 @@ all: $(JAVAC) -d $(CLASSDIR) $(JAVAFILES) JAVAFILES= AttrImpl_getName.java \ + AttrImpl_getOwnerElement.java \ AttrImpl_getSpecified.java \ AttrImpl_getValue.java \ AttrImpl_setValue_String_0.java \ @@ -81,11 +82,18 @@ JAVAFILES= AttrImpl_getName.java \ CharacterDataImpl_substringData_int_int_6.java \ CharacterDataImpl_substringData_int_int_7.java \ CharacterDataImpl_substringData_int_int_8.java \ + DOMImplementationImpl_createDocumentType_String_String_String_0.java \ + DOMImplementationImpl_createDocumentType_String_String_String_String_0.java \ + DOMImplementationImpl_createDocument_String_String_DocumentType_0.java \ DOMImplementationImpl_hasFeature_String_String_0.java \ DOMImplementationImpl_hasFeature_String_String_1.java \ DOMImplementationImpl_hasFeature_String_String_2.java \ DOMImplementationImpl_hasFeature_String_String_3.java \ DOMImplementationImpl_hasFeature_String_String_4.java \ + DocumentImpl_createAttributeNS_String_String_0.java \ + DocumentImpl_createAttributeNS_String_String_1.java \ + DocumentImpl_createAttributeNS_String_String_2.java \ + DocumentImpl_createAttributeNS_String_String_3.java \ DocumentImpl_createAttribute_String_0.java \ DocumentImpl_createAttribute_String_1.java \ DocumentImpl_createCDATASection_String_0.java \ @@ -93,10 +101,16 @@ JAVAFILES= AttrImpl_getName.java \ DocumentImpl_createComment_String_0.java \ DocumentImpl_createComment_String_1.java \ DocumentImpl_createDocumentFragment.java \ + DocumentImpl_createElementNS_String_String_0.java \ + DocumentImpl_createElementNS_String_String_1.java \ + DocumentImpl_createElementNS_String_String_2.java \ + DocumentImpl_createElementNS_String_String_3.java \ DocumentImpl_createElement_String_0.java \ DocumentImpl_createElement_String_1.java \ DocumentImpl_createEntityReference_String_0.java \ DocumentImpl_createEntityReference_String_1.java \ + DocumentImpl_createEvent_String_0.java \ + DocumentImpl_createEvent_String_1.java \ DocumentImpl_createProcessingInstruction_String_String_0.java \ DocumentImpl_createProcessingInstruction_String_String_1.java \ DocumentImpl_createProcessingInstruction_String_String_2.java \ @@ -105,40 +119,93 @@ JAVAFILES= AttrImpl_getName.java \ DocumentImpl_createTextNode_String_1.java \ DocumentImpl_getDoctype.java \ DocumentImpl_getDocumentElement.java \ + DocumentImpl_getElementById_String_0.java \ + DocumentImpl_getElementById_String_1.java \ + DocumentImpl_getElementsByTagNameNS_String_String_0.java \ + DocumentImpl_getElementsByTagNameNS_String_String_1.java \ + DocumentImpl_getElementsByTagNameNS_String_String_2.java \ + DocumentImpl_getElementsByTagNameNS_String_String_3.java \ DocumentImpl_getElementsByTagName_String_0.java \ DocumentImpl_getElementsByTagName_String_1.java \ DocumentImpl_getImplementation.java \ + DocumentImpl_importNode_Node_boolean_0.java \ + DocumentImpl_importNode_Node_boolean_1.java \ + DocumentImpl_importNode_Node_boolean_2.java \ + DocumentImpl_importNode_Node_boolean_3.java \ DocumentTypeImpl_getEntities.java \ + DocumentTypeImpl_getInternalSubset.java \ DocumentTypeImpl_getName.java \ DocumentTypeImpl_getNotations.java \ + DocumentTypeImpl_getPublicId.java \ + DocumentTypeImpl_getSystemId.java \ + ElementImpl_getAttributeNS_String_String_0.java \ + ElementImpl_getAttributeNS_String_String_1.java \ + ElementImpl_getAttributeNS_String_String_2.java \ + ElementImpl_getAttributeNS_String_String_3.java \ + ElementImpl_getAttributeNodeNS_String_String_0.java \ + ElementImpl_getAttributeNodeNS_String_String_1.java \ + ElementImpl_getAttributeNodeNS_String_String_2.java \ + ElementImpl_getAttributeNodeNS_String_String_3.java \ ElementImpl_getAttributeNode_String_0.java \ ElementImpl_getAttributeNode_String_1.java \ ElementImpl_getAttribute_String_0.java \ ElementImpl_getAttribute_String_1.java \ + ElementImpl_getElementsByTagNameNS_String_String_0.java \ + ElementImpl_getElementsByTagNameNS_String_String_1.java \ + ElementImpl_getElementsByTagNameNS_String_String_2.java \ + ElementImpl_getElementsByTagNameNS_String_String_3.java \ ElementImpl_getElementsByTagName_String_0.java \ ElementImpl_getElementsByTagName_String_1.java \ ElementImpl_getTagName.java \ ElementImpl_normalize.java \ + ElementImpl_removeAttributeNS_String_String_0.java \ + ElementImpl_removeAttributeNS_String_String_1.java \ + ElementImpl_removeAttributeNS_String_String_2.java \ + ElementImpl_removeAttributeNS_String_String_3.java \ ElementImpl_removeAttributeNode_Attr_0.java \ ElementImpl_removeAttributeNode_Attr_1.java \ ElementImpl_removeAttribute_String_0.java \ ElementImpl_removeAttribute_String_1.java \ + ElementImpl_setAttributeNS_String_String_String_0.java \ + ElementImpl_setAttributeNS_String_String_String_1.java \ + ElementImpl_setAttributeNS_String_String_String_2.java \ + ElementImpl_setAttributeNS_String_String_String_3.java \ + ElementImpl_setAttributeNS_String_String_String_4.java \ + ElementImpl_setAttributeNS_String_String_String_5.java \ + ElementImpl_setAttributeNS_String_String_String_6.java \ + ElementImpl_setAttributeNS_String_String_String_7.java \ + ElementImpl_setAttributeNS_String_String_String_8.java \ + ElementImpl_setAttributeNS_String_String_String_9.java \ + ElementImpl_setAttributeNodeNS_Attr_0.java \ + ElementImpl_setAttributeNodeNS_Attr_1.java \ ElementImpl_setAttributeNode_Attr_0.java \ ElementImpl_setAttributeNode_Attr_1.java \ + ElementImpl_setAttributeNode_Attr_2.java \ ElementImpl_setAttribute_String_String_0.java \ ElementImpl_setAttribute_String_String_1.java \ ElementImpl_setAttribute_String_String_2.java \ ElementImpl_setAttribute_String_String_3.java \ NamedNodeMapImpl_getLength.java \ + NamedNodeMapImpl_getNamedItemNS_String_String_0.java \ + NamedNodeMapImpl_getNamedItemNS_String_String_1.java \ + NamedNodeMapImpl_getNamedItemNS_String_String_2.java \ + NamedNodeMapImpl_getNamedItemNS_String_String_3.java \ NamedNodeMapImpl_getNamedItem_String_0.java \ NamedNodeMapImpl_getNamedItem_String_1.java \ NamedNodeMapImpl_item_int_0.java \ NamedNodeMapImpl_item_int_1.java \ NamedNodeMapImpl_item_int_2.java \ + NamedNodeMapImpl_removeNamedItemNS_String_String_0.java \ + NamedNodeMapImpl_removeNamedItemNS_String_String_1.java \ + NamedNodeMapImpl_removeNamedItemNS_String_String_2.java \ + NamedNodeMapImpl_removeNamedItemNS_String_String_3.java \ NamedNodeMapImpl_removeNamedItem_String_0.java \ NamedNodeMapImpl_removeNamedItem_String_1.java \ + NamedNodeMapImpl_setNamedItemNS_Node_0.java \ + NamedNodeMapImpl_setNamedItemNS_Node_1.java \ NamedNodeMapImpl_setNamedItem_Node_0.java \ NamedNodeMapImpl_setNamedItem_Node_1.java \ + NamedNodeMapImpl_setNamedItem_Node_2.java \ NodeImpl_appendChild_Node_0.java \ NodeImpl_appendChild_Node_1.java \ NodeImpl_cloneNode_boolean_0.java \ @@ -151,12 +218,15 @@ JAVAFILES= AttrImpl_getName.java \ NodeImpl_getChildNodes.java \ NodeImpl_getFirstChild.java \ NodeImpl_getLastChild.java \ + NodeImpl_getLocalName.java \ + NodeImpl_getNamespaceURI.java \ NodeImpl_getNextSibling.java \ NodeImpl_getNodeName.java \ NodeImpl_getNodeType.java \ NodeImpl_getNodeValue.java \ NodeImpl_getOwnerDocument.java \ NodeImpl_getParentNode.java \ + NodeImpl_getPrefix.java \ NodeImpl_getPreviousSibling.java \ NodeImpl_hasChildNodes.java \ NodeImpl_hashCode.java \ @@ -164,6 +234,7 @@ JAVAFILES= AttrImpl_getName.java \ NodeImpl_insertBefore_Node_Node_1.java \ NodeImpl_insertBefore_Node_Node_2.java \ NodeImpl_insertBefore_Node_Node_3.java \ + NodeImpl_normalize.java \ NodeImpl_removeChild_Node_0.java \ NodeImpl_removeChild_Node_1.java \ NodeImpl_replaceChild_Node_Node_0.java \ @@ -172,6 +243,12 @@ JAVAFILES= AttrImpl_getName.java \ NodeImpl_replaceChild_Node_Node_3.java \ NodeImpl_setNodeValue_String_0.java \ NodeImpl_setNodeValue_String_1.java \ + NodeImpl_setPrefix_String_0.java \ + NodeImpl_setPrefix_String_1.java \ + NodeImpl_supports_String_String_0.java \ + NodeImpl_supports_String_String_1.java \ + NodeImpl_supports_String_String_2.java \ + NodeImpl_supports_String_String_3.java \ NodeImpl_toString.java \ NodeListImpl_getLength.java \ NodeListImpl_item_int_0.java \ diff --git a/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_setNamedItem_Node_1.java b/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_setNamedItem_Node_1.java index e6589542f06..eb73029bcdf 100755 --- a/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_setNamedItem_Node_1.java +++ b/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_setNamedItem_Node_1.java @@ -111,7 +111,7 @@ public class NamedNodeMapImpl_setNamedItem_Node_1 extends BWBaseTest implements { Node newnode = ha; Node n = map.setNamedItem(newnode); - if (n == null) + if (n != null) { TestLoader.logErrPrint(" Could not set namedItem for Node " + attrName); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/autorun.sh b/mozilla/java/dom/tests/src/autorun.sh index 3b596f48c94..79a71fe691d 100755 --- a/mozilla/java/dom/tests/src/autorun.sh +++ b/mozilla/java/dom/tests/src/autorun.sh @@ -559,7 +559,7 @@ do format=`echo $testcase | sed 's/\./\//g'` nom=`basename $format` testlog="$curdir/log/$nom.$id.log" - ./mozilla-bin $DOCFILE 2>$testlog 1>&2 & + ./mozilla-bin -P mozProfile $DOCFILE 2>$testlog 1>&2 & # dummy sleep to allow mozilla-bin to show up on process table sleep 3