cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bimargul...@apache.org
Subject svn commit: r1023404 - /cxf/trunk/common/common/src/test/java/org/apache/cxf/common/xmlschema/ImportRepairTest.java
Date Sun, 17 Oct 2010 02:26:40 GMT
Author: bimargulies
Date: Sun Oct 17 02:26:40 2010
New Revision: 1023404

URL: http://svn.apache.org/viewvc?rev=1023404&view=rev
Log:
ImportRepairTest passes

Modified:
    cxf/trunk/common/common/src/test/java/org/apache/cxf/common/xmlschema/ImportRepairTest.java

Modified: cxf/trunk/common/common/src/test/java/org/apache/cxf/common/xmlschema/ImportRepairTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/test/java/org/apache/cxf/common/xmlschema/ImportRepairTest.java?rev=1023404&r1=1023403&r2=1023404&view=diff
==============================================================================
--- cxf/trunk/common/common/src/test/java/org/apache/cxf/common/xmlschema/ImportRepairTest.java
(original)
+++ cxf/trunk/common/common/src/test/java/org/apache/cxf/common/xmlschema/ImportRepairTest.java
Sun Oct 17 02:26:40 2010
@@ -66,6 +66,9 @@ import org.junit.Test;
  *
  */
 public class ImportRepairTest extends Assert {
+
+    static boolean dumpSchemas;
+
     private static final class ListLSInput implements LSInputList {
         private final List<DOMLSInput> inputs;
 
@@ -199,6 +202,9 @@ public class ImportRepairTest extends As
     }
 
     private void dumpSchema(Document document) {
+        if (!dumpSchemas) {
+            return;
+        }
         try {
             Transformer t = XMLUtils.newTransformer(2);
             t.setOutputProperty(OutputKeys.INDENT, "yes");



Mime
View raw message