Author: ard
Date: Wed Sep 12 09:40:14 2012
New Revision: 1383868
URL: http://svn.apache.org/viewvc?rev=1383868&view=rev
Log:
RAVE-697 missing unit test bootstrap xml
Added:
rave/sandbox/content-services/rave-web-hmvc/src/test/resources/config/testenhancingmappings/abstractPageDefinitions.xml
Added:
rave/sandbox/content-services/rave-web-hmvc/src/test/resources/config/testenhancingmappings/abstractPageDefinitions.xml
URL:
http://svn.apache.org/viewvc/rave/sandbox/content-services/rave-web-hmvc/src/test/resources/config/testenhancingmappings/abstractPageDefinitions.xml?rev=1383868&view=auto
==============================================================================
---
rave/sandbox/content-services/rave-web-hmvc/src/test/resources/config/testenhancingmappings/abstractPageDefinitions.xml
(added)
+++
rave/sandbox/content-services/rave-web-hmvc/src/test/resources/config/testenhancingmappings/abstractPageDefinitions.xml
Wed Sep 12 09:40:14 2012
@@ -0,0 +1,51 @@
+<?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 is abstract, so should not be part of the enhanced page
config -->
+ <pageFragment name="standard" abstract="true" description="Page that is
being extended by other pages"
+ controller="org.apache.rave.unittest.NonExistingController">
+ <pageFragment name="sub1"/>
+ <pageFragment name="sub2" controller="">
+ <pageFragment name="sub2sub1"
controller="org.apache.rave.unittest.NonExistingController"/>
+ </pageFragment>
+ <pageFragment name="sub3" viewName="pages/test"
controller="org.apache.rave.unittest.NonExistingController">
+ <pageFragment name="sub3sub1" extends="/some/fragment"
controller="org.apache.rave.unittest.NonExistingController"/>
+ </pageFragment>
+ </pageFragment>
+
+
+ <pageFragment name="home" description="Page that is being extended by other
pages"
+ controller="org.apache.rave.unittest.NonExistingController">
+ </pageFragment>
+
+ <pageFragment name="agenda" description="Page that is being extended by
other pages"
+ controller="org.apache.rave.unittest.NonExistingController">
+ <!-- because abstract is true, agenda page should not be part of the
enhanced page config -->
+ <pageFragment name="sub4" abstract="true"/>
+ </pageFragment>
+
+ <pageFragment name="news" description="Page that is being extended by other
pages"
+ controller="org.apache.rave.unittest.NonExistingController">
+ <pageFragment name="sub2"
controller="org.apache.rave.unittest.NonExistingNewsController">
+ <pageFragment name="news" />
+ </pageFragment>
+ </pageFragment>
+
+</pageDefinitions>
\ No newline at end of file