forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r699303 - in /forrest/trunk/whiteboard/dispatcher/testing/org/apache/forrest/dispatcher: TestStructurerAXIOM.java master.advanced.structurer.xml
Date Fri, 26 Sep 2008 13:05:30 GMT
Author: thorsten
Date: Fri Sep 26 06:05:30 2008
New Revision: 699303

URL: http://svn.apache.org/viewvc?rev=699303&view=rev
Log:
Activating all tests and adding note about a loop that I found. Will need to fix this soon.

Modified:
    forrest/trunk/whiteboard/dispatcher/testing/org/apache/forrest/dispatcher/TestStructurerAXIOM.java
    forrest/trunk/whiteboard/dispatcher/testing/org/apache/forrest/dispatcher/master.advanced.structurer.xml

Modified: forrest/trunk/whiteboard/dispatcher/testing/org/apache/forrest/dispatcher/TestStructurerAXIOM.java
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/dispatcher/testing/org/apache/forrest/dispatcher/TestStructurerAXIOM.java?rev=699303&r1=699302&r2=699303&view=diff
==============================================================================
--- forrest/trunk/whiteboard/dispatcher/testing/org/apache/forrest/dispatcher/TestStructurerAXIOM.java
(original)
+++ forrest/trunk/whiteboard/dispatcher/testing/org/apache/forrest/dispatcher/TestStructurerAXIOM.java
Fri Sep 26 06:05:30 2008
@@ -18,19 +18,25 @@
     Structurer structurer = prepareStructurer(false);
     structurer.execute(getStream(), format);
   }
-/*
+  
   public void testStructurerWithXmlProperties() throws DispatcherException {
+    String format = "html";
+    Structurer structurer = prepareStructurer(true);
+    structurer.execute(getStream(), format);
+  }
+
+  public void testStructurerFo() throws DispatcherException {
     String format = "fo";
     Structurer structurer = prepareStructurer(false);
     structurer.execute(getStream(), format);
   }
-
+  
   public void testStructurerXmlFormat() throws DispatcherException {
     String format = "xml";
     Structurer structurer = prepareStructurer(false);
     structurer.execute(getStream(), format);
   }
-*/
+
   private Structurer prepareStructurer(boolean allowXml) {
     DispatcherBean config = new DispatcherBean();
     config.setAllowXmlProperties(allowXml);

Modified: forrest/trunk/whiteboard/dispatcher/testing/org/apache/forrest/dispatcher/master.advanced.structurer.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/dispatcher/testing/org/apache/forrest/dispatcher/master.advanced.structurer.xml?rev=699303&r1=699302&r2=699303&view=diff
==============================================================================
--- forrest/trunk/whiteboard/dispatcher/testing/org/apache/forrest/dispatcher/master.advanced.structurer.xml
(original)
+++ forrest/trunk/whiteboard/dispatcher/testing/org/apache/forrest/dispatcher/master.advanced.structurer.xml
Fri Sep 26 06:05:30 2008
@@ -26,7 +26,9 @@
       <hook id="level2">
         <contract name="master">
           <property name="test-inline" value="position:hook/hook/contract" />
-          <property name="injectPointBody" value="/html/body/hook/hook/hook" />
+          <!-- FIXME: /html/body/hook/hook/hook is causing an infinitive loop
+          Need to find the reason why and create a way to get out of this loop. -->
+          <property name="injectPointBody" value="/html/body/forrest:hook/forrest:hook/forrest:hook"
/>
         </contract>
       </hook>
     </hook>



Mime
View raw message