Author: trong.tran
Date: 2010-08-31 06:32:50 -0400 (Tue, 31 Aug 2010)
New Revision: 3978
Added:
portal/branches/branched-r3845/component/portal/src/test/resources/conf/test-mop-nodetypes.xml
Modified:
portal/branches/branched-r3845/component/portal/src/test/resources/conf/exo.portal.component.portal-configuration1.xml
Log:
Fix testcase failed
Modified:
portal/branches/branched-r3845/component/portal/src/test/resources/conf/exo.portal.component.portal-configuration1.xml
===================================================================
---
portal/branches/branched-r3845/component/portal/src/test/resources/conf/exo.portal.component.portal-configuration1.xml 2010-08-31
10:18:43 UTC (rev 3977)
+++
portal/branches/branched-r3845/component/portal/src/test/resources/conf/exo.portal.component.portal-configuration1.xml 2010-08-31
10:32:50 UTC (rev 3978)
@@ -130,6 +130,7 @@
<value>jar:/conf/gatein-nodetypes.xml</value>
<value>jar:/conf/mop-nodetypes.xml</value>
<value>jar:/conf/content-nodetypes.xml</value>
+ <value>jar:/conf/test-mop-nodetypes.xml</value>
</values-param>
</init-params>
</component-plugin>
@@ -189,6 +190,7 @@
<value>org.exoplatform.portal.mop.ProtectedResource</value>
<value>org.exoplatform.portal.mop.Described</value>
<value>org.exoplatform.portal.mop.Visible</value>
+ <value>org.exoplatform.portal.config.SampleMixin</value>
</values-param>
</init-params>
</component-plugin>
Added:
portal/branches/branched-r3845/component/portal/src/test/resources/conf/test-mop-nodetypes.xml
===================================================================
---
portal/branches/branched-r3845/component/portal/src/test/resources/conf/test-mop-nodetypes.xml
(rev 0)
+++
portal/branches/branched-r3845/component/portal/src/test/resources/conf/test-mop-nodetypes.xml 2010-08-31
10:32:50 UTC (rev 3978)
@@ -0,0 +1,29 @@
+<!--
+ ~ Copyright (C) 2009 eXo Platform SAS.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ -->
+<nodeTypes
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0">
+
+ <nodeType name="gtn:sampleMixin" isMixin="true"
hasOrderableChildNodes="false" primaryItemName="">
+ <propertyDefinitions>
+ <propertyDefinition name="gtn:sampleProperty"
requiredType="String" autoCreated="false" mandatory="false"
onParentVersion="COPY" protected="false"
multiple="true">
+ <valueConstraints/>
+ </propertyDefinition>
+ </propertyDefinitions>
+ </nodeType>
+
+</nodeTypes>