You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2002/03/15 14:55:13 UTC
cvs commit: xml-xerces/c/tests/DOM/DOMMemTest DOMMemTest.cpp
tng 02/03/15 05:55:13
Modified: c/tests/DOM/DOMMemTest DOMMemTest.cpp
Log:
Issue DOMException::INDEX_SIZE_ERR if count is greater than length, equal to length is ok.
Revision Changes Path
1.32 +2 -2 xml-xerces/c/tests/DOM/DOMMemTest/DOMMemTest.cpp
Index: DOMMemTest.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/tests/DOM/DOMMemTest/DOMMemTest.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- DOMMemTest.cpp 4 Feb 2002 20:13:01 -0000 1.31
+++ DOMMemTest.cpp 15 Mar 2002 13:55:13 -0000 1.32
@@ -65,7 +65,7 @@
//
/*
- * $Id: DOMMemTest.cpp,v 1.31 2002/02/04 20:13:01 tng Exp $
+ * $Id: DOMMemTest.cpp,v 1.32 2002/03/15 13:55:13 tng Exp $
*/
#include <stdio.h>
@@ -381,7 +381,7 @@
TASSERT(offEnd.equals("string."));
EXCEPTION_TEST(srcString.substringData(-1, 10), DOM_DOMException::INDEX_SIZE_ERR);
- EXCEPTION_TEST(srcString.substringData(26, 1), DOM_DOMException::INDEX_SIZE_ERR);
+ EXCEPTION_TEST(srcString.substringData(27, 1), DOM_DOMException::INDEX_SIZE_ERR);
srcString.insertData(0, "x"); // Changing the source should not alter previously
// extracted substrings.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org