Skip to content
Snippets Groups Projects
Commit 78028ac0 authored by Tinny Ng's avatar Tinny Ng
Browse files

Add IDOMMemTest and InitTermTest to sanityTest.pl

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@173468 13f79535-47bb-0310-9956-ffa450edef68
parent e292f845
No related branches found
No related tags found
No related merge requests found
......@@ -181,6 +181,9 @@ system ("RangeTest");
# Run DOMTraversalTest
system ("DOMTraversalTest");
# Run IDOMMemTest
system ("IDOMMemTest");
# Run IDOMTest
system ("IDOMTest");
......@@ -191,6 +194,9 @@ system ("IRangeTest");
system ("ITraversal");
# Run InitTestTerm
system ("InitTermTest");
system ("InitTermTest personal.xml");
system ("InitTermTest -n -s personal-schema.xml");
system ("InitTermTest -n -s -f personal-schema.xml");
chdir "..".$pathsep."..";
......@@ -921,11 +921,11 @@ DOM reference counted memory alloction statistics:
DOM Memory Test.
DOM reference counted memory alloction statistics:
live string handles: 0
total string handles: 505
total string handles: 545
live string buffers: 0
total string buffers: 538
total string buffers: 578
live nodeImpls: 0
total nodeImpls: 182
total nodeImpls: 183
live NamedNodeMaps: 0
total NamedNodeMaps: 37
DOM reference counted memory alloction statistics:
......@@ -959,3 +959,21 @@ Test Run Successfully
Test Run Successfully
Test Run Successfully
Test Run Successfully
Usage:
InitTermTest [options] <XML file>
This program tests the XMLPlatformUtils::Initialize()/Terminate()
pair by calling it a number of times. All four parsers
(DOMParser, IDOMParser, SAXParser and SAX2XMLReader) are invoked
to parse the specified XML file.
Options:
-n Enable namespace processing. Default is off.
-s Enable schema processing. Default is off.
-f Enable full schema constraint checking. Defaults to off.
-? Show this help.
Test Run Successfully
Test Run Successfully
Test Run Successfully
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment