You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ne...@apache.org on 2003/06/03 23:43:08 UTC
cvs commit: xml-xerces/c/scripts sanityTest.pl sanityTest_ExpectedResult.log
neilg 2003/06/03 14:43:08
Modified: c/scripts sanityTest.pl sanityTest_ExpectedResult.log
Log:
update sanity test to use the new memory handling test
Revision Changes Path
1.18 +6 -1 xml-xerces/c/scripts/sanityTest.pl
Index: sanityTest.pl
===================================================================
RCS file: /home/cvs/xml-xerces/c/scripts/sanityTest.pl,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- sanityTest.pl 30 Jan 2003 00:36:12 -0000 1.17
+++ sanityTest.pl 3 Jun 2003 21:43:07 -0000 1.18
@@ -190,6 +190,11 @@
system ("ThreadTest -parser=sax -n -s -f -v -quiet -threads 10 -time 20 personal-schema.xml");
system ("ThreadTest -parser=dom -n -s -f -v -quiet -threads 10 -time 20 personal-schema.xml");
+# Run MemHandlerTest
+system ("MemHandlerTest");
+system ("MemHandlerTest -v=always -n -r=2 personal.xml");
+system ("MemHandlerTest -v=always -n -r=2 -s -f personal-schema.xml");
+
chdir "..".$pathsep."..";
chdir "tests".$pathsep."DOM".$pathsep."TypeInfo";
1.54 +31 -0 xml-xerces/c/scripts/sanityTest_ExpectedResult.log
Index: sanityTest_ExpectedResult.log
===================================================================
RCS file: /home/cvs/xml-xerces/c/scripts/sanityTest_ExpectedResult.log,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- sanityTest_ExpectedResult.log 3 Apr 2003 07:58:38 -0000 1.53
+++ sanityTest_ExpectedResult.log 3 Jun 2003 21:43:07 -0000 1.54
@@ -927,4 +927,35 @@
Test Run Successfully
Test Run Successfully
Test Run Successfully
+
+Usage:
+ MemHandlerTest [options] <XML file | List file>
+
+This program invokes the XercesDOMParser, DOMBuilder, SAXParser ,
+and the SAX2XMLReader, and ensures that MemoryManagers set on these
+domBuilders are called to delete just as many bytes as they allocate.
+This is done for each XML file, and each file is processed
+as many times as indicated.
+Options:
+ -l Indicate the input file is a List File that has a list of xml files.
+ Default to off (Input file is an XML file).
+ -v=xxx Validation scheme [always | never | auto*].
+ -n Enable namespace processing. Defaults to off.
+ -s Enable schema processing. Defaults to off.
+ -f Enable full schema constraint checking. Defaults to off.
+ -r=n Run file through domBuilders n times.
+ -? Show this help.
+
+ * = Default if not provided explicitly.
+
+At destruction, domBuilderMemMonitor has 0 bytes.
+At destruction, sax2MemMonitor has 0 bytes.
+At destruction, depDOMMemMonitor has 0 bytes.
+At destruction, sax1MemMonitor has 0 bytes.
+At destruction, staticMemMonitor has 0 bytes.
+At destruction, domBuilderMemMonitor has 0 bytes.
+At destruction, sax2MemMonitor has 0 bytes.
+At destruction, depDOMMemMonitor has 0 bytes.
+At destruction, sax1MemMonitor has 0 bytes.
+At destruction, staticMemMonitor has 0 bytes.
Test Run Successfully
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org