Return-Path: X-Original-To: apmail-ws-dev-archive@www.apache.org Delivered-To: apmail-ws-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1567A18E9C for ; Mon, 24 Aug 2015 02:52:42 +0000 (UTC) Received: (qmail 28386 invoked by uid 500); 24 Aug 2015 02:52:36 -0000 Delivered-To: apmail-ws-dev-archive@ws.apache.org Received: (qmail 28186 invoked by uid 500); 24 Aug 2015 02:52:36 -0000 Mailing-List: contact dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ws.apache.org Delivered-To: mailing list dev@ws.apache.org Delivered-To: moderator for dev@ws.apache.org Received: (qmail 58611 invoked by uid 99); 23 Aug 2015 23:56:04 -0000 X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=6.31 tests=[none] autolearn=disabled Message-ID: <55DA5D87.6050100@tawadi.de> Date: Mon, 24 Aug 2015 01:55:51 +0200 From: Wladislaw Mitzel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: dev@ws.apache.org Subject: wss4j 2_0_x-fixes branch - tests depend on system locale Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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