Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-2498

Test case failure in binding-ws-wsdlgen module from the 1.3 tag

    XMLWordPrintableJSON

Details

    Description

      -------------------------------------------------------
      T E S T S
      -------------------------------------------------------
      Running org.apache.tuscany.sca.binding.ws.wsdlgen.BindingWSDLGeneratorTestCase
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.574 sec <<< FAILURE!
      testCreateWSDLInterfaceContract(org.apache.tuscany.sca.binding.ws.wsdlgen.BindingWSDLGeneratorTestCase) Time elapsed: 0.565 sec <<< ERROR!
      java.lang.RuntimeException: org.apache.ws.commons.schema.XmlSchemaException: other.ws.binding.sca.tuscany.apache.org
      at org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1886)
      at org.apache.ws.commons.schema.SchemaBuilder.handleImport(SchemaBuilder.java:1620)
      at org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:175)
      at org.apache.ws.commons.schema.SchemaBuilder.build(SchemaBuilder.java:82)
      at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:359)
      at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:353)
      at org.apache.tuscany.sca.binding.ws.wsdlgen.Interface2WSDLGenerator.loadXSD(Interface2WSDLGenerator.java:402)
      at org.apache.tuscany.sca.binding.ws.wsdlgen.Interface2WSDLGenerator.addSchemaExtension(Interface2WSDLGenerator.java:384)
      at org.apache.tuscany.sca.binding.ws.wsdlgen.Interface2WSDLGenerator.generate(Interface2WSDLGenerator.java:256)
      at org.apache.tuscany.sca.binding.ws.wsdlgen.BindingWSDLGenerator.createWSDLInterfaceContract(BindingWSDLGenerator.java:307)
      at org.apache.tuscany.sca.binding.ws.wsdlgen.BindingWSDLGeneratorTestCase.testCreateWSDLInterfaceContract(BindingWSDLGeneratorTestCase.java:77)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at junit.framework.TestCase.runTest(TestCase.java:168)
      at junit.framework.TestCase.runBare(TestCase.java:134)
      at junit.framework.TestResult$1.protect(TestResult.java:110)
      at junit.framework.TestResult.runProtected(TestResult.java:128)
      at junit.framework.TestResult.run(TestResult.java:113)
      at junit.framework.TestCase.run(TestCase.java:124)
      at junit.framework.TestSuite.runTest(TestSuite.java:232)
      at junit.framework.TestSuite.run(TestSuite.java:227)
      at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
      at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
      at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
      Caused by: org.apache.ws.commons.schema.XmlSchemaException: other.ws.binding.sca.tuscany.apache.org
      at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:308)
      at org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1884)
      ... 33 more

      Running org.apache.tuscany.sca.binding.ws.wsdlgen.Interface2WSDLGeneratorTestCase
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.029 sec <<< FAILURE!
      testGenerate(org.apache.tuscany.sca.binding.ws.wsdlgen.Interface2WSDLGeneratorTestCase) Time elapsed: 0.024 sec <<< ERROR!
      java.lang.RuntimeException: org.apache.ws.commons.schema.XmlSchemaException: other.ws.binding.sca.tuscany.apache.org
      at org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1886)
      at org.apache.ws.commons.schema.SchemaBuilder.handleImport(SchemaBuilder.java:1620)
      at org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:175)
      at org.apache.ws.commons.schema.SchemaBuilder.build(SchemaBuilder.java:82)
      at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:359)
      at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:353)
      at org.apache.tuscany.sca.binding.ws.wsdlgen.Interface2WSDLGenerator.loadXSD(Interface2WSDLGenerator.java:402)
      at org.apache.tuscany.sca.binding.ws.wsdlgen.Interface2WSDLGenerator.addSchemaExtension(Interface2WSDLGenerator.java:384)
      at org.apache.tuscany.sca.binding.ws.wsdlgen.Interface2WSDLGenerator.generate(Interface2WSDLGenerator.java:256)
      at org.apache.tuscany.sca.binding.ws.wsdlgen.Interface2WSDLGeneratorTestCase.testGenerate(Interface2WSDLGeneratorTestCase.java:57)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
      at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
      at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
      at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
      at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
      at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:75)
      at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:36)
      at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
      at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
      at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
      at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
      at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
      Caused by: org.apache.ws.commons.schema.XmlSchemaException: other.ws.binding.sca.tuscany.apache.org
      at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:308)
      at org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1884)
      ... 33 more

      Results :

      Tests in error:
      testCreateWSDLInterfaceContract(org.apache.tuscany.sca.binding.ws.wsdlgen.BindingWSDLGeneratorTestCase)
      testGenerate(org.apache.tuscany.sca.binding.ws.wsdlgen.Interface2WSDLGeneratorTestCase)

      Tests run: 2, Failures: 0, Errors: 2, Skipped: 0

      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] There are test failures.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rfeng Zhaohui Feng
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: