xml/libxml2libs/test/xmlengtester/xmlengtester_emulator/TestConfigfiles/TestFramework/conf/xmleng/DomXmlId.cfg
author hgs
Wed, 23 Jun 2010 20:27:15 +0530
changeset 24 74f0b3eb154c
parent 0 e35f40988205
permissions -rw-r--r--
201024

##############################################################
# Xml ID test
# AddXmlId <name> [namespace uri]
# FindXmlId <id> [id shouldn't be found]
##############################################################

[Test]
title AddXmlId
create xmlengtester dll
dll ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_ID_01.xml
dll AddXmlId pleple
delete dll
[Endtest]
##############################################################
# Xml ID test
# AddXmlId <name> [namespace uri]
# FindXmlId <id> [id shouldn't be found]
##############################################################

[Test]
title AddFindXmlId
create xmlengtester dll
dll ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_ID_01.xml
dll AddXmlId id orwell.org
dll FindXmlId 1984
delete dll
[Endtest]
##############################################################
# Xml ID test
# AddXmlId <name> [namespace uri]
# FindXmlId <id> [id shouldn't be found]
##############################################################

[Test]
title AddFindXmlId2
create xmlengtester dll
dll ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_ID_01.xml
dll AddXmlId id
dll FindXmlId 18
delete dll
[Endtest]
##############################################################
# Xml ID test
# AddXmlId <name> [namespace uri]
# FindXmlId <id> [id shouldn't be found]
##############################################################

[Test]
title AddFindXmlIdNotToFind
create xmlengtester dll
dll ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_ID_01.xml
dll AddXmlId id orwell.org
dll FindXmlId 18 1
delete dll
[Endtest]
##############################################################
# Xml ID test
# AddXmlId <name> [namespace uri]
# FindXmlId <id> [id shouldn't be found]
##############################################################

[Test]
title AddFindXmlIdNotToFind2
create xmlengtester dll
dll ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_ID_01.xml
dll AddXmlId id orwell.org
dll FindXmlId 18 1
delete dll
[Endtest]
##############################################################
# Xml ID test
# AddXmlId <name> [namespace uri]
# FindXmlId <id> [id shouldn't be found]
##############################################################

[Test]
title AddFindXmlIdNotToFind3
create xmlengtester dll
dll ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_ID_01.xml
dll AddXmlId pleple orwell.org
dll FindXmlId 18 1
delete dll
[Endtest]
##############################################################
# Xml ID test
# AddXmlId <name> [namespace uri]
# FindXmlId <id> [id shouldn't be found]
##############################################################

[Test]
title DOM register part of node
create xmlengtester dll
dll ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_ID_01.xml
dll AddXmlId2 id orwell.org 1984
delete dll
[Endtest]
##############################################################
# Adding XML id test, compare with reference file
##############################################################

[Test]
title DOM Add XML id test
create xmlengtester test
test AddXmlIdTest c:\testing\data\xmleng\efute\output\dom\DOM_xmlid_08.xml
test CompareFiles c:\testing\data\xmleng\efute\output\dom\DOM_xmlid_08.xml c:\testing\data\xmleng\efute\pattern\dom\DOM_xmlid_08.ref
delete test
[Endtest]##############################################################
# Xml ID test
# AddXmlId <name> [namespace uri]
# FindXmlId <id> [id shouldn't be found]
##############################################################

[Test]
title DOM register with empty name
create xmlengtester dll
dll ParseFile c:\testing\data\xmleng\efute\input\dom\DOM_ID_01.xml
dll AddXmlId3 orwell.org -32381
delete dll
[Endtest]