Uploaded image for project: 'Apache Taverna'
  1. Apache Taverna
  2. TAVERNA-920

TestUCFPackage fails due to wrong namespace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Major
    • Resolution: Done
    • language 0.15.1
    • language 0.15.1
    • Taverna Language
    • None

    Description

      Testing https://dist.apache.org/repos/dist/dev/incubator/taverna/source/taverna-language-0.15.1-incubating-RC2/ on Windows 10 fails:

      Tests run: 34, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 1.111 sec <<< FAILURE! - in org.apache.taverna.scufl2.ucfpackage.TestUCFPackage
      setRootfileSaved(org.apache.taverna.scufl2.ucfpackage.TestUCFPackage)  Time elapsed: 0.02 sec  <<< FAILURE!
      org.junit.ComparisonFailure: expected:<[]> but was:<[ns3]>
              at org.junit.Assert.assertEquals(Assert.java:115)
              at org.junit.Assert.assertEquals(Assert.java:144)
              at org.apache.taverna.scufl2.ucfpackage.TestUCFPackage.setRootfileSaved(TestUCFPackage.java:656)
      
      addResourceContainerXml(org.apache.taverna.scufl2.ucfpackage.TestUCFPackage)  Time elapsed: 0.042 sec  <<< FAILURE!
      org.junit.ComparisonFailure: expected:<[]> but was:<[ns3]>
              at org.junit.Assert.assertEquals(Assert.java:115)
              at org.junit.Assert.assertEquals(Assert.java:144)
              at org.apache.taverna.scufl2.ucfpackage.TestUCFPackage.addResourceContainerXml(TestUCFPackage.java:708)
      
      setRootfileExtendsContainerXml(org.apache.taverna.scufl2.ucfpackage.TestUCFPackage)  Time elapsed: 0.023 sec  <<< FAILURE!
      org.junit.ComparisonFailure: expected:<[]> but was:<[ns3]>
              at org.junit.Assert.assertEquals(Assert.java:115)
              at org.junit.Assert.assertEquals(Assert.java:144)
              at org.apache.taverna.scufl2.ucfpackage.TestUCFPackage.setRootfileExtendsContainerXml(TestUCFPackage.java:787)
      

      Something to do with the bundled xerces.

      This looks like the same bug reported by Alan in
      http://mail-archives.apache.org/mod_mbox/taverna-dev/201602.mbox/%3C56C717EC.4080401%40googlemail.com%3E

      Attachments

        Issue Links

          Activity

            People

              stain Stian Soiland-Reyes
              stain Stian Soiland-Reyes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: