xml/libxml2libs/test/xmlengtester/xmlengtester_emulator/TestConfigfiles/TestFramework/conf/xmleng/DomModif.cfg
changeset 0 e35f40988205
child 24 74f0b3eb154c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/libxml2libs/test/xmlengtester/xmlengtester_emulator/TestConfigfiles/TestFramework/conf/xmleng/DomModif.cfg	Thu Dec 17 09:29:21 2009 +0200
@@ -0,0 +1,495 @@
+##############################################################
+# Create new document using DOM
+##############################################################
+
+[Test]
+title DOM Create Document
+create xmlengtester test
+test CreateDocument
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_001.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_001.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_001.ref
+delete test
+[Endtest]
+##############################################################
+# Check document parameters using DOM
+##############################################################
+
+[Test]
+title DOM Check Document Parameters
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_01.xml
+test CheckDocumentParameters
+delete test
+[Endtest]
+##############################################################
+# Create new document element using DOM
+##############################################################
+
+[Test]
+title DOM Create Document Element
+create xmlengtester test
+test CreateDocumentElement
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_002.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_002.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_002.ref
+delete test
+[Endtest]
+##############################################################
+# Create new document from node using DOM
+##############################################################
+
+[Test]
+title DOM Create Document from Node
+create xmlengtester test
+test CreateDocumentFromNode
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_003.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_003.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_003.ref
+delete test
+[Endtest]
+##############################################################
+# Clone document using DOM
+##############################################################
+
+[Test]
+title DOM Clone Document
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_01.xml
+test CloneDocument
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_004.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_004.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_004.ref
+delete test
+[Endtest]
+##############################################################
+# Change encoding using DOM
+##############################################################
+
+[Test]
+title DOM Change Encoding
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_01.xml
+test SaveXmlToUTF16LE c:\testing\data\xmleng\efute\output\dom\DOM_modif_005.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_005.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_005.ref
+delete test
+[Endtest]
+##############################################################
+# Check not null element using DOM
+##############################################################
+
+[Test]
+title DOM Check NotNullElement Function
+create xmlengtester test
+test CheckNotNullElement
+delete test
+[Endtest]
+##############################################################
+# Document sibling modification using DOM
+##############################################################
+
+[Test]
+title DOM Sibling Modification
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_03.xml
+test CheckSiblingFunctions
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_006.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_006.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_006.ref
+delete test
+[Endtest]
+##############################################################
+# Check node parameters using DOM
+##############################################################
+
+[Test]
+title DOM Check Node Parameters
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_02.xml
+test CheckNodeParameters
+delete test
+[Endtest]
+##############################################################
+# Check parent nodes using DOM
+##############################################################
+
+[Test]
+title DOM Check Parent Nodes
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_02.xml
+test ParentNodes
+delete test
+[Endtest]
+##############################################################
+# Check Processing instruction functions using DOM
+##############################################################
+
+[Test]
+title DOM Check Processing instruction functions
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_04.xml
+test CheckProcessingInstruction
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_008.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_008.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_008.ref
+delete test
+[Endtest]
+##############################################################
+# Check Comments function using DOM
+##############################################################
+
+[Test]
+title DOM Check Comments function
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_04.xml
+test CheckComments
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_009.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_009.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_009.ref
+delete test
+[Endtest]
+##############################################################
+# Check CDATA function using DOM
+##############################################################
+
+[Test]
+title DOM Check CDATA function
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_05.xml
+test CheckCDATA
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_010.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_010.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_010.ref
+delete test
+[Endtest]
+##############################################################
+# Check Text Node function using DOM
+##############################################################
+
+[Test]
+title DOM Check Text Node function
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_05.xml
+test CheckTextNode
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_011.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_011.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_011.ref
+delete test
+[Endtest]
+##############################################################
+# Check Node Namespaces function using DOM
+##############################################################
+
+[Test]
+title DOM Check Node Namespaces function
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_02.xml
+test NodeNamespacePocessing
+delete test
+[Endtest]
+##############################################################
+# Check Entity Reference function using DOM
+##############################################################
+
+[Test]
+title DOM Check Entity Reference function
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_06.xml
+test CheckEntityRef
+delete test
+[Endtest]
+##############################################################
+# Node Tree Modification using DOM
+##############################################################
+
+[Test]
+title DOM Node Tree Modification
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_07.xml
+test NodeTreeModification
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_012.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_012.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_012.ref
+delete test
+[Endtest]
+##############################################################
+# Node Tree Deleting
+##############################################################
+
+[Test]
+title DOM Node Tree Deleting
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_07.xml
+test NodeTreeDeleting
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_013.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_013.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_013.ref
+delete test
+[Endtest]
+##############################################################
+# Check Attributes function
+##############################################################
+
+[Test]
+title DOM Check Attributes function
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_08.xml
+test CheckAttributes
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_014.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_014.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_014.ref
+delete test
+[Endtest]
+##############################################################
+# Element Namespace Pocessing function
+##############################################################
+
+[Test]
+title DOM Element Namespace Pocessing function
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_02.xml
+test ElementNamespacePocessing
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_015.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_015.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_015.ref
+delete test
+[Endtest]
+##############################################################
+# Check Node List function
+##############################################################
+
+[Test]
+title DOM Check Node List function
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_07.xml
+test CheckNodeList
+delete test
+[Endtest]
+##############################################################
+# Check Element Attributes function
+##############################################################
+
+[Test]
+title DOM Check Element Attributes function
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_08.xml
+test CheckElementAttributes
+delete test
+[Endtest]
+##############################################################
+# Check Modification of Attributes function
+##############################################################
+
+[Test]
+title DOM Check Modification of Attributes function
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_08.xml
+test CheckModifAttributes
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_016.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_016.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_016.ref
+delete test
+[Endtest]
+##############################################################
+# Adding Attributes to Element function
+##############################################################
+
+[Test]
+title DOM Adding Attributes to Element function
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_02.xml
+test AddingAttributes
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_017.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_017.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_017.ref
+delete test
+[Endtest]
+##############################################################
+# Adding Elements to Element function
+##############################################################
+
+[Test]
+title DOM Adding Elements to Element function
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_02.xml
+test AddingElements
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_018.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_018.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_018.ref
+delete test
+[Endtest]
+##############################################################
+# Check Coping Elements function
+##############################################################
+
+[Test]
+title DOM Check Coping Elements function
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_07.xml
+test CheckModifElement
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_019.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_019.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_019.ref
+delete test
+[Endtest]
+##############################################################
+# Set Element Text function
+##############################################################
+
+[Test]
+title DOM Set Element Text function
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_09.xml
+test SetElementText
+test SaveXmlToFile c:\testing\data\xmleng\efute\output\dom\DOM_modif_020.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_020.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_020.ref
+delete test
+[Endtest]
+
+##############################################################
+# Node Tree Modification using DOM
+##############################################################
+
+[Test]
+title DOM InnerXml
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_07.xml
+test CheckInnerXml c:\testing\data\xmleng\efute\output\dom\DOM_inner_01.xml c:\testing\data\xmleng\efute\output\dom\DOM_inner_02.xml c:\testing\data\xmleng\efute\output\dom\DOM_inner_03.xml c:\testing\data\xmleng\efute\output\dom\DOM_inner_04.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_inner_01.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_inner_01.ref
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_inner_02.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_inner_02.ref
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_inner_03.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_inner_03.ref
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_inner_04.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_inner_04.ref
+delete test
+[Endtest]
+##############################################################
+# Node Tree Modification using DOM
+##############################################################
+
+[Test]
+title DOM OuterXml
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_07.xml
+test CheckOuterXml c:\testing\data\xmleng\efute\output\dom\DOM_outer_01.xml c:\testing\data\xmleng\efute\output\dom\DOM_outer_02.xml c:\testing\data\xmleng\efute\output\dom\DOM_outer_03.xml c:\testing\data\xmleng\efute\output\dom\DOM_outer_04.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_outer_01.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_outer_01.ref
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_outer_02.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_outer_02.ref
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_outer_03.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_outer_03.ref
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_outer_04.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_outer_04.ref
+delete test
+[Endtest]
+##############################################################
+# Change encoding using DOM
+##############################################################
+
+[Test]
+title DOM Serialization flags
+create xmlengtester test
+test ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_modif_01.xml
+test SaveXmlToUTF16LE c:\testing\data\xmleng\efute\output\dom\DOM_modif_022.xml flag
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_022.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_022.ref
+delete test
+[Endtest]
+#######################################################################################
+# Check if predefined entities are not converted into characters they represent
+#######################################################################################
+
+[Test]
+title DOM Attr SetValueNoEncL
+create xmlengtester test
+test SetValueNoEncTest c:\testing\data\xmleng\efute\input\dom\DOM_elem_000.xml c:\testing\data\xmleng\efute\output\dom\DOM_modif_034.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_034.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_034.ref
+delete test
+[Endtest]
+#######################################################################################
+# Check function RXmlEngDocument::Implementation()
+#######################################################################################
+
+[Test]
+title DOM Document Implementation
+create xmlengtester test
+test CreateDocument2 c:\testing\data\xmleng\efute\output\dom\DOM_modif_035.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_035.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_035.ref
+delete test
+[Endtest]#######################################################################################
+# Check if entity reference is created properly
+#######################################################################################
+
+[Test]
+title DOM Document CreateEntityReferenceL
+create xmlengtester test
+test CreateEntityReferenceTest c:\testing\data\xmleng\efute\input\dom\DOM_elem_000.xml c:\testing\data\xmleng\efute\output\dom\DOM_modif_036.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_036.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_036.ref
+delete test
+[Endtest]##############################################################
+# Parse file with a handle to a file server session
+##############################################################
+
+[Test]
+title DOM Parse with file stream
+create xmlengtester test
+test ParseFileDom2 c:\testing\data\xmleng\efute\input\dom\DOM_modif_01.xml
+delete test
+[Endtest]
+##############################################################
+# Parse file from buffer
+##############################################################
+
+[Test]
+title DOM Parse from buffer
+create xmlengtester test
+test ParseFileDom3 c:\testing\data\xmleng\efute\input\dom\DOM_modif_01.xml
+delete test
+[Endtest]
+##############################################################
+# Look up namspace with given prefix
+##############################################################
+
+[Test]
+title DOM look for namespace by prefix
+create xmlengtester test
+test LookupNamespaceByPrefixTest c:\testing\data\xmleng\efute\input\dom\DOM_modif_10.xml S
+delete test
+[Endtest]
+##############################################################
+# Look up namspace with given uri
+##############################################################
+
+[Test]
+title DOM look for namespace by uri
+create xmlengtester test
+test LookupNamespaceByUriTest c:\testing\data\xmleng\efute\input\dom\DOM_modif_10.xml
+delete test
+[Endtest]
+##############################################################
+# Test removing all node's children
+##############################################################
+
+[Test]
+title DOM Remove Children
+create xmlengtester test
+test RemoveChildrenTest c:\testing\data\xmleng\efute\input\dom\DOM_modif_10.xml c:\testing\data\xmleng\efute\output\dom\DOM_modif_041.xml
+test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_modif_041.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_modif_041.ref
+delete test
+[Endtest]
+##############################################################
+# Create, append, delete user data. Using external intrerface
+##############################################################
+
+[Test]
+title DOM User Data
+create xmlengtester test
+test UserDataTest c:\testing\data\xmleng\efute\input\dom\DOM_modif_01.xml c:\testing\data\xmleng\efute\input\containers\login.gif
+delete test
+[Endtest]
+##############################################################
+# Base Uri test
+##############################################################
+
+[Test]
+title DOM Base Uri
+create xmlengtester test
+test BaseUriTest
+delete test
+[Endtest]
+##############################################################
+# Look up namspace with given prefix in parent nodes
+##############################################################
+
+[Test]
+title DOM look for namesp by pref in parent nodes
+create xmlengtester test
+test LookupNamespaceByPrefixTest2 c:\testing\data\xmleng\efute\input\dom\DOM_modif_10.xml
+delete test
+[Endtest]
+##############################################################
+# Look up namspace with given uri in parent nodes
+##############################################################
+
+[Test]
+title DOM look for namesp by uri in parent nodes
+create xmlengtester test
+test LookupNamespaceByUriTest2 c:\testing\data\xmleng\efute\input\dom\DOM_modif_10.xml
+delete test
+[Endtest]