You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Gabriel Belingueres (JIRA)" <ji...@apache.org> on 2013/04/17 14:25:15 UTC

[jira] [Created] (WW-4046) Failing test when building xwork-core

Gabriel Belingueres created WW-4046:
---------------------------------------

             Summary: Failing test when building xwork-core
                 Key: WW-4046
                 URL: https://issues.apache.org/jira/browse/WW-4046
             Project: Struts 2
          Issue Type: Bug
          Components: Unit Tests
    Affects Versions: 2.3.15
         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 05:44:56-0300)
Maven home: C:\productos\apache-maven-3.0.4\bin\..
Java version: 1.7.0, vendor: Oracle Corporation
Java home: C:\Archivos de programa\Java\jdk1.7.0\jre
Default locale: es_ES, platform encoding: Cp1252
OS name: "windows xp", version: "5.1", arch: "x86", family: "windows"

this configuration too:

Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 10:51:28-0300)
Maven home: C:\productos\apache-maven-3.0.5
Java version: 1.6.0_35, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_35\jre
Default locale: es_AR, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
            Reporter: Gabriel Belingueres


I checked out the last version from svn and can't build it from sources (mvn clean install). (Seems it worked on Apache's Jenkins though)

Tests run: 701, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 25.318 sec <<< FAILURE!
testValidationAnnotation(com.opensymphony.xwork2.validator.AnnotationValidationConfigurationBuilderTest)  Time elapsed: 0.211 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected:<1.4> but was:<14.0>
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.failNotEquals(Assert.java:283)
	at junit.framework.Assert.assertEquals(Assert.java:64)
	at junit.framework.Assert.assertEquals(Assert.java:71)
	at com.opensymphony.xwork2.validator.AnnotationValidationConfigurationBuilderTest.validateDoubleRangeFieldValidator(AnnotationValidationConfigurationBuilderTest.java:212)
	at com.opensymphony.xwork2.validator.AnnotationValidationConfigurationBuilderTest.validate(AnnotationValidationConfigurationBuilderTest.java:89)
	at com.opensymphony.xwork2.validator.AnnotationValidationConfigurationBuilderTest.testValidationAnnotation(AnnotationValidationConfigurationBuilderTest.java:55)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira