[
https://issues.apache.org/jira/browse/WODEN-168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511760
]
Dan Harvey commented on WODEN-168:
----------------------------------
Thanks that's good! The test will only fail in the first place if you exclude
the DOM part of the Woden implementation from the class path. This is what I've
mode the tests in the ant scripts do now, but they are not in SVN yet.
> OMXMLElementTest class incorrectly returning the DOMXMLElementTest class as
> its test suit.
> ------------------------------------------------------------------------------------------
>
> Key: WODEN-168
> URL: https://issues.apache.org/jira/browse/WODEN-168
> Project: Woden
> Issue Type: Bug
> Components: Tools
> Affects Versions: M7
> Reporter: Dan Harvey
> Assignee: Jeremy Hughes
> Priority: Minor
> Fix For: M8
>
>
> 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);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]