You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by am...@apache.org on 2005/07/02 21:05:13 UTC

svn commit: r208866 - in /xerces/c/trunk: scripts/sanityTest_ExpectedResult.log tests/src/DOM/TypeInfo/TypeInfo.cpp

Author: amassari
Date: Sat Jul  2 12:05:12 2005
New Revision: 208866

URL: http://svn.apache.org/viewcvs?rev=208866&view=rev
Log:
Updated tests to reflect change in naming of anonymous type

Modified:
    xerces/c/trunk/scripts/sanityTest_ExpectedResult.log
    xerces/c/trunk/tests/src/DOM/TypeInfo/TypeInfo.cpp

Modified: xerces/c/trunk/scripts/sanityTest_ExpectedResult.log
URL: http://svn.apache.org/viewcvs/xerces/c/trunk/scripts/sanityTest_ExpectedResult.log?rev=208866&r1=208865&r2=208866&view=diff
==============================================================================
--- xerces/c/trunk/scripts/sanityTest_ExpectedResult.log (original)
+++ xerces/c/trunk/scripts/sanityTest_ExpectedResult.log Sat Jul  2 12:05:12 2005
@@ -984,7 +984,7 @@
 ContentType:	
 Content Model:	(person,)
 ComplexType:
-	TypeName:	,C0
+	TypeName:	,__AnonC0
 	ContentType:	
 --------------------------------------------
 Name:			person
@@ -993,7 +993,7 @@
 ContentType:	
 Content Model:	((name,email,url),link)
 ComplexType:
-	TypeName:	,C1
+	TypeName:	,__AnonC1
 	ContentType:	
 Attributes:
 	Name:			id
@@ -1030,21 +1030,21 @@
 ContentType:	All
 Content Model:	All(family,given)
 ComplexType:
-	TypeName:	,C2
+	TypeName:	,__AnonC2
 	ContentType:	All
 --------------------------------------------
 Name:			family
 Model Type:		Simple
 Create Reason:	Declared
 ComplexType:
-	TypeName:	,C3
+	TypeName:	,__AnonC3
 Base Datatype:		string
 --------------------------------------------
 Name:			given
 Model Type:		Simple
 Create Reason:	Declared
 ComplexType:
-	TypeName:	,C4
+	TypeName:	,__AnonC4
 Base Datatype:		string
 --------------------------------------------
 Name:			email
@@ -1057,7 +1057,7 @@
 Create Reason:	Declared
 Content Model:	EMPTY
 ComplexType:
-	TypeName:	,C5
+	TypeName:	,__AnonC5
 Attributes:
 	Name:			href
 	Type:			CDATA
@@ -1071,7 +1071,7 @@
 Create Reason:	Declared
 Content Model:	EMPTY
 ComplexType:
-	TypeName:	,C6
+	TypeName:	,__AnonC6
 Attributes:
 	Name:			manager
 	Type:			IDREF

Modified: xerces/c/trunk/tests/src/DOM/TypeInfo/TypeInfo.cpp
URL: http://svn.apache.org/viewcvs/xerces/c/trunk/tests/src/DOM/TypeInfo/TypeInfo.cpp?rev=208866&r1=208865&r2=208866&view=diff
==============================================================================
--- xerces/c/trunk/tests/src/DOM/TypeInfo/TypeInfo.cpp (original)
+++ xerces/c/trunk/tests/src/DOM/TypeInfo/TypeInfo.cpp Sat Jul  2 12:05:12 2005
@@ -541,19 +541,19 @@
 
     //element anonymousTest
     DOMElement *testEle = findElement(X("anonymousTest"));
-    DOMTYPEINFOTEST(testEle->getTypeInfo(), X("C1"), X(""), __LINE__);
+    DOMTYPEINFOTEST(testEle->getTypeInfo(), X("__AnonC1"), X(""), __LINE__);
 
     testAttr = testEle->getAttributeNodeNS(X(""), X("partNum"));
-    DOMTYPEINFOTEST(testAttr->getTypeInfo(), X("S7"), X(""), __LINE__);
+    DOMTYPEINFOTEST(testAttr->getTypeInfo(), X("__AnonS7"), X(""), __LINE__);
 
     testEle = (DOMElement *)testEle->getFirstChild()->getNextSibling();
-    DOMTYPEINFOTEST(testEle->getTypeInfo(), X("S2"), X(""), __LINE__);
+    DOMTYPEINFOTEST(testEle->getTypeInfo(), X("__AnonS2"), X(""), __LINE__);
 
     testEle = (DOMElement *)testEle->getNextSibling()->getNextSibling();
-    DOMTYPEINFOTEST(testEle->getTypeInfo(), X("S4"), X(""), __LINE__);
+    DOMTYPEINFOTEST(testEle->getTypeInfo(), X("__AnonS4"), X(""), __LINE__);
 
     testEle = (DOMElement *)testEle->getNextSibling()->getNextSibling();
-    DOMTYPEINFOTEST(testEle->getTypeInfo(), X("S6"), X(""), __LINE__);
+    DOMTYPEINFOTEST(testEle->getTypeInfo(), X("__AnonS6"), X(""), __LINE__);
 
     return passed;
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org