ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colm O hEigeartaigh <cohei...@apache.org>
Subject Re: wss4j 2_0_x-fixes branch - tests depend on system locale
Date Mon, 24 Aug 2015 13:45:36 GMT
Both issues should be fixed now.

Colm.

On Mon, Aug 24, 2015 at 12:55 AM, Wladislaw Mitzel <mitzel@tawadi.de> wrote:

> Hi,
>
> I am trying to run the tests on wss4j in the 2_0_x-fixes branch. There
> are two issues which cause errors during my tests. Are there resources
> for developer which describe the required steps to set up an development
> environment? The issues I am current facing are:
>
> * Some asserts are comparing messages in thrown exceptions. These differ
> in case of a non en_US locale. In order to execute the tests I've had to
> change my system locale as I could not manage to override it for the
> maven build. Do you have another (cleaner) approach?
>
> * When running "mvn install" from the command line the following test
> fails. When I run this test as jUnit test inside Eclipse it succeeds. It
> also succeeds when running mvn install and stepping through the code
> while debugging. Do you have any idea what is going wrong?
>
>
> testMaximumAllowedTransformsPerReference(org.apache.wss4j.stax.test.VulnerabliltyVectorsTest)
> Time elapsed: 1.096 sec  <<< FAILURE!
> java.lang.AssertionError: Expected XMLStreamException
>     at org.junit.Assert.fail(Assert.java:88)
>     at
>
> org.apache.wss4j.stax.test.VulnerabliltyVectorsTest.testMaximumAllowedTransformsPerReference(VulnerabliltyVectorsTest.java:362)
>
> Kind regards,
> Wladislaw Mitzel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: dev-help@ws.apache.org
>
>


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Mime
View raw message