You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by mr...@apache.org on 2005/04/25 15:37:14 UTC
svn commit: r164572 -
/incubator/jackrabbit/trunk/applications/test/repository/nodetypes/custom_nodetypes.xml
Author: mreutegg
Date: Mon Apr 25 06:37:12 2005
New Revision: 164572
URL: http://svn.apache.org/viewcvs?rev=164572&view=rev
Log:
NodeType for test case SetPropertyAssumeTypeTest.
Modified:
incubator/jackrabbit/trunk/applications/test/repository/nodetypes/custom_nodetypes.xml
Modified: incubator/jackrabbit/trunk/applications/test/repository/nodetypes/custom_nodetypes.xml
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/applications/test/repository/nodetypes/custom_nodetypes.xml?rev=164572&r1=164571&r2=164572&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/applications/test/repository/nodetypes/custom_nodetypes.xml (original)
+++ incubator/jackrabbit/trunk/applications/test/repository/nodetypes/custom_nodetypes.xml Mon Apr 25 06:37:12 2005
@@ -221,6 +221,16 @@
<childNodeDefinition name="*" defaultPrimaryType="test:setProperty" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" sameNameSiblings="false" />
</nodeType>
+ <!-- Defines a nodetype to test assuming the PropertyType at Node.setProperty(). -->
+ <nodeType name="test:setPropertyAssumingType" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ </supertypes>
+ <propertyDefinition name="test:singleProperty" requiredType="undefined" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false" />
+ <propertyDefinition name="test:multiProperty" requiredType="undefined" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="true" />
+ <childNodeDefinition name="*" defaultPrimaryType="test:setPropertyAssumingType" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" sameNameSiblings="false" />
+ </nodeType>
+
<!-- Defines a nodetype with a childNodeDefinition that does not allow same name siblings -->
<nodeType name="test:sameNameSibsFalseChildNodeDefinition" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
<supertypes>