Uploaded image for project: 'Woden'
  1. Woden
  2. WODEN-168

OMXMLElementTest class incorrectly returning the DOMXMLElementTest class as its test suit.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • M7
    • M8
    • Tools
    • None

    Description

      The OMXMLElementTest class for the JUnit test returns the DOMXMLElementTest class instance instead of the OMXMLElementTest class instance causing the wrong tests to be run.

      This produces a different error in the JUnit test for both the IBM and Sun JRE's, the IBM JRE only fails three of the test where as with the Sun JRE the tests won't even run any of the tests. I guess this is a different way they check for class dependencies?

      To fix it just requires line 41 changing from

      return new TestSuite(DOMXMLElementTest.class);

      to

      return new TestSuite(OMXMLElementTest.class);

      Attachments

        Activity

          People

            hughesj Jeremy Hughes
            danharvey Dan Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: