forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r699291 - /forrest/trunk/whiteboard/dispatcher/testing/org/apache/forrest/dispatcher/TestStructurerAXIOM.java
Date Fri, 26 Sep 2008 12:07:03 GMT
Author: thorsten
Date: Fri Sep 26 05:07:02 2008
New Revision: 699291

URL: http://svn.apache.org/viewvc?rev=699291&view=rev
Log:
Adding test for Axiom Structurer

Added:
    forrest/trunk/whiteboard/dispatcher/testing/org/apache/forrest/dispatcher/TestStructurerAXIOM.java
      - copied, changed from r699280, forrest/trunk/whiteboard/dispatcher/testing/org/apache/forrest/dispatcher/TestStructurer.java

Copied: forrest/trunk/whiteboard/dispatcher/testing/org/apache/forrest/dispatcher/TestStructurerAXIOM.java
(from r699280, forrest/trunk/whiteboard/dispatcher/testing/org/apache/forrest/dispatcher/TestStructurer.java)
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/dispatcher/testing/org/apache/forrest/dispatcher/TestStructurerAXIOM.java?p2=forrest/trunk/whiteboard/dispatcher/testing/org/apache/forrest/dispatcher/TestStructurerAXIOM.java&p1=forrest/trunk/whiteboard/dispatcher/testing/org/apache/forrest/dispatcher/TestStructurer.java&r1=699280&r2=699291&rev=699291&view=diff
==============================================================================
--- forrest/trunk/whiteboard/dispatcher/testing/org/apache/forrest/dispatcher/TestStructurer.java
(original)
+++ forrest/trunk/whiteboard/dispatcher/testing/org/apache/forrest/dispatcher/TestStructurerAXIOM.java
Fri Sep 26 05:07:02 2008
@@ -6,22 +6,22 @@
 import org.apache.forrest.dispatcher.config.DispatcherBean;
 import org.apache.forrest.dispatcher.exception.DispatcherException;
 import org.apache.forrest.dispatcher.impl.ClassPathResolver;
-import org.apache.forrest.dispatcher.impl.XMLStructurer;
+import org.apache.forrest.dispatcher.impl.XMLStructurerAxiom;
 
 import junit.framework.TestCase;
 
-public class TestStructurer extends TestCase {
-  private static final String STRUCTURER_XML = "master.structurer.xml";
+public class TestStructurerAXIOM extends TestCase {
+  private static final String STRUCTURER_XML = "master.advanced.structurer.xml";
 
   public void testStructurer() throws DispatcherException {
     String format = "html";
     Structurer structurer = prepareStructurer(false);
     structurer.execute(getStream(), format);
   }
-
+/*
   public void testStructurerWithXmlProperties() throws DispatcherException {
-    String format = "html";
-    Structurer structurer = prepareStructurer(true);
+    String format = "fo";
+    Structurer structurer = prepareStructurer(false);
     structurer.execute(getStream(), format);
   }
 
@@ -30,13 +30,13 @@
     Structurer structurer = prepareStructurer(false);
     structurer.execute(getStream(), format);
   }
-
+*/
   private Structurer prepareStructurer(boolean allowXml) {
     DispatcherBean config = new DispatcherBean();
     config.setAllowXmlProperties(allowXml);
     config.setResolver(new ClassPathResolver());
     config.setContractUriPrefix("/org/apache/forrest/dispatcher/");
-    Structurer structurer = new XMLStructurer(config);
+    Structurer structurer = new XMLStructurerAxiom(config);
     return structurer;
   }
 



Mime
View raw message