xmlbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ce...@apache.org
Subject svn commit: r159648 - in xmlbeans/trunk/test/src/compile/scomp: common/CompileTestBase.java detailed/XmlBeanCompilationTests.java som/common/SomTestBase.java
Date Thu, 31 Mar 2005 22:50:09 GMT
Author: cezar
Date: Thu Mar 31 14:50:08 2005
New Revision: 159648

URL: http://svn.apache.org/viewcvs?view=rev&rev=159648
Log:
Contributed by Rajiv Balachandran - partial schema compilation test fixes

Modified:
    xmlbeans/trunk/test/src/compile/scomp/common/CompileTestBase.java
    xmlbeans/trunk/test/src/compile/scomp/detailed/XmlBeanCompilationTests.java
    xmlbeans/trunk/test/src/compile/scomp/som/common/SomTestBase.java

Modified: xmlbeans/trunk/test/src/compile/scomp/common/CompileTestBase.java
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/src/compile/scomp/common/CompileTestBase.java?view=diff&r1=159647&r2=159648
==============================================================================
--- xmlbeans/trunk/test/src/compile/scomp/common/CompileTestBase.java (original)
+++ xmlbeans/trunk/test/src/compile/scomp/common/CompileTestBase.java Thu Mar 31 14:50:08
2005
@@ -80,7 +80,7 @@
             "targetNamespace=\"http://bar\" " +
             "xmlns:tnf=\"http://baz\" " +
             "xmlns:xs=\"http://www.w3.org/2001/XMLSchema\"> " +
-            "<xs:element name=\"elErrName\" type=\"tnf:aType\" /> " +
+            "<xs:element name=\"elErrName\" type=\"tnf:bType\" /> " +
             "</xs:schema>";
 
     public CompileTestBase(String name) {

Modified: xmlbeans/trunk/test/src/compile/scomp/detailed/XmlBeanCompilationTests.java
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/src/compile/scomp/detailed/XmlBeanCompilationTests.java?view=diff&r1=159647&r2=159648
==============================================================================
--- xmlbeans/trunk/test/src/compile/scomp/detailed/XmlBeanCompilationTests.java (original)
+++ xmlbeans/trunk/test/src/compile/scomp/detailed/XmlBeanCompilationTests.java Thu Mar 31
14:50:08 2005
@@ -259,7 +259,7 @@
                 //compare to the expected xm_errors
                 if ((xErr.getErrorCode().compareTo("src-resolve") == 0) &&
                         (xErr.getMessage().compareTo(
-                                "type 'aType@http://baz' not found.") ==
+                                "type 'bType@http://baz' not found.") ==
                         0))
                     psom_expError = true;
             }

Modified: xmlbeans/trunk/test/src/compile/scomp/som/common/SomTestBase.java
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/src/compile/scomp/som/common/SomTestBase.java?view=diff&r1=159647&r2=159648
==============================================================================
--- xmlbeans/trunk/test/src/compile/scomp/som/common/SomTestBase.java (original)
+++ xmlbeans/trunk/test/src/compile/scomp/som/common/SomTestBase.java Thu Mar 31 14:50:08
2005
@@ -320,10 +320,8 @@
         }
         catch (IllegalStateException ise)
         {
-            System.out.println("Msg is:");
-            ise.getMessage();
-            System.out.println("Msg is:");
-            ise.printStackTrace();
+            // uncomment to see the stack trace
+            // ise.printStackTrace();
             return false;
         }
         return true;



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: commits-help@xmlbeans.apache.org


Mime
View raw message