Author: ard
Date: Tue Sep 11 12:45:32 2012
New Revision: 1383386

URL: http://svn.apache.org/viewvc?rev=1383386&view=rev
Log:
RAVE-695 added unit tests that verifies the behavior now implemented by the 
XmlPagesConfigManagerTest : It removes duplicate ROOT PageFragment's, but not 
for children

Added:
    
rave/sandbox/content-services/rave-web-hmvc/src/test/resources/config/xml/abstractPageDefinition.xml

Added: 
rave/sandbox/content-services/rave-web-hmvc/src/test/resources/config/xml/abstractPageDefinition.xml
URL: 
http://svn.apache.org/viewvc/rave/sandbox/content-services/rave-web-hmvc/src/test/resources/config/xml/abstractPageDefinition.xml?rev=1383386&view=auto
==============================================================================
--- 
rave/sandbox/content-services/rave-web-hmvc/src/test/resources/config/xml/abstractPageDefinition.xml
 (added)
+++ 
rave/sandbox/content-services/rave-web-hmvc/src/test/resources/config/xml/abstractPageDefinition.xml
 Tue Sep 11 12:45:32 2012
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+  -->
+<pageDefinitions name="default">
+  <!--
+      STANDARD PAGE (HAS NO PARENT)
+  -->
+  <pageFragment abstract="true" name="abstract" description="Page that is 
being extended by other pages"
+                controller="org.apache.rave.unittest.NonExistingController">
+
+  </pageFragment>
+
+  <pageFragment name="non-abstract1" description="Page that is being extended 
by other pages"
+                controller="org.apache.rave.unittest.NonExistingController">
+
+  </pageFragment>
+
+  <pageFragment abstract="false" name="non-abstract2" description="Page that 
is being extended by other pages"
+                controller="org.apache.rave.unittest.NonExistingController">
+
+  </pageFragment>
+
+</pageDefinitions>
\ No newline at end of file


Reply via email to