xml/libxml2libs/test/xmlengtester/xmlengtester_target/TestConfigfiles/TestFramework/conf/xmleng/DomXmlId.cfg
changeset 0 e35f40988205
child 24 74f0b3eb154c
equal deleted inserted replaced
-1:000000000000 0:e35f40988205
       
     1 ##############################################################
       
     2 # Xml ID test
       
     3 # AddXmlId <name> [namespace uri]
       
     4 # FindXmlId <id> [id shouldn't be found]
       
     5 ##############################################################
       
     6 
       
     7 [Test]
       
     8 title AddXmlId
       
     9 create xmlengtester dll
       
    10 dll ParseFile E:\testing\data\xmleng\efute\input\dom\DOM_ID_01.xml
       
    11 dll AddXmlId pleple
       
    12 delete dll
       
    13 [Endtest]
       
    14 ##############################################################
       
    15 # Xml ID test
       
    16 # AddXmlId <name> [namespace uri]
       
    17 # FindXmlId <id> [id shouldn't be found]
       
    18 ##############################################################
       
    19 
       
    20 [Test]
       
    21 title AddFindXmlId
       
    22 create xmlengtester dll
       
    23 dll ParseFile E:\testing\data\xmleng\efute\input\dom\DOM_ID_01.xml
       
    24 dll AddXmlId id orwell.org
       
    25 dll FindXmlId 1984
       
    26 delete dll
       
    27 [Endtest]
       
    28 ##############################################################
       
    29 # Xml ID test
       
    30 # AddXmlId <name> [namespace uri]
       
    31 # FindXmlId <id> [id shouldn't be found]
       
    32 ##############################################################
       
    33 
       
    34 [Test]
       
    35 title AddFindXmlId2
       
    36 create xmlengtester dll
       
    37 dll ParseFile E:\testing\data\xmleng\efute\input\dom\DOM_ID_01.xml
       
    38 dll AddXmlId id
       
    39 dll FindXmlId 18
       
    40 delete dll
       
    41 [Endtest]
       
    42 ##############################################################
       
    43 # Xml ID test
       
    44 # AddXmlId <name> [namespace uri]
       
    45 # FindXmlId <id> [id shouldn't be found]
       
    46 ##############################################################
       
    47 
       
    48 [Test]
       
    49 title AddFindXmlIdNotToFind
       
    50 create xmlengtester dll
       
    51 dll ParseFile E:\testing\data\xmleng\efute\input\dom\DOM_ID_01.xml
       
    52 dll AddXmlId id orwell.org
       
    53 dll FindXmlId 18 1
       
    54 delete dll
       
    55 [Endtest]
       
    56 ##############################################################
       
    57 # Xml ID test
       
    58 # AddXmlId <name> [namespace uri]
       
    59 # FindXmlId <id> [id shouldn't be found]
       
    60 ##############################################################
       
    61 
       
    62 [Test]
       
    63 title AddFindXmlIdNotToFind2
       
    64 create xmlengtester dll
       
    65 dll ParseFile E:\testing\data\xmleng\efute\input\dom\DOM_ID_01.xml
       
    66 dll AddXmlId id orwell.org
       
    67 dll FindXmlId 18 1
       
    68 delete dll
       
    69 [Endtest]
       
    70 ##############################################################
       
    71 # Xml ID test
       
    72 # AddXmlId <name> [namespace uri]
       
    73 # FindXmlId <id> [id shouldn't be found]
       
    74 ##############################################################
       
    75 
       
    76 [Test]
       
    77 title AddFindXmlIdNotToFind3
       
    78 create xmlengtester dll
       
    79 dll ParseFile E:\testing\data\xmleng\efute\input\dom\DOM_ID_01.xml
       
    80 dll AddXmlId pleple orwell.org
       
    81 dll FindXmlId 18 1
       
    82 delete dll
       
    83 [Endtest]
       
    84 ##############################################################
       
    85 # Xml ID test
       
    86 # AddXmlId <name> [namespace uri]
       
    87 # FindXmlId <id> [id shouldn't be found]
       
    88 ##############################################################
       
    89 
       
    90 [Test]
       
    91 title DOM register part of node
       
    92 create xmlengtester dll
       
    93 dll ParseFile E:\testing\data\xmleng\efute\input\dom\DOM_ID_01.xml
       
    94 dll AddXmlId2 id orwell.org 1984
       
    95 delete dll
       
    96 [Endtest]
       
    97 ##############################################################
       
    98 # Adding XML id test, compare with reference file
       
    99 ##############################################################
       
   100 
       
   101 [Test]
       
   102 title DOM Add XML id test
       
   103 create xmlengtester test
       
   104 test AddXmlIdTest E:\testing\data\xmleng\efute\output\dom\DOM_xmlid_08.xml
       
   105 test CompareFiles E:\testing\data\xmleng\efute\output\dom\DOM_xmlid_08.xml E:\testing\data\xmleng\efute\pattern\dom\DOM_xmlid_08.ref
       
   106 delete test
       
   107 [Endtest]##############################################################
       
   108 # Xml ID test
       
   109 # AddXmlId <name> [namespace uri]
       
   110 # FindXmlId <id> [id shouldn't be found]
       
   111 ##############################################################
       
   112 
       
   113 [Test]
       
   114 title DOM register with empty name
       
   115 create xmlengtester dll
       
   116 dll ParseFile E:\testing\data\xmleng\efute\input\dom\DOM_ID_01.xml
       
   117 dll AddXmlId3 orwell.org -32381
       
   118 delete dll
       
   119 [Endtest]