struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4046) Failing test when building xwork-core
Date Thu, 18 Apr 2013 13:29:17 GMT

    [ https://issues.apache.org/jira/browse/WW-4046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13635153#comment-13635153
] 

Hudson commented on WW-4046:
----------------------------

Integrated in Struts2-JDK6 #692 (See [https://builds.apache.org/job/Struts2-JDK6/692/])
    WW-4046 Solves failing test and uses ActionContext to create validators (Revision 1469181)

     Result = SUCCESS
lukaszlenart : 
Files : 
* /struts/struts2/trunk/plugins/convention/src/test/java/org/apache/struts2/convention/PackageBasedActionConfigBuilderTest.java
* /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/ObjectFactory.java
* /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/ognl/OgnlReflectionProvider.java
* /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/util/reflection/ReflectionProvider.java
* /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/DefaultValidatorFactory.java
* /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/DefaultValidatorFileParser.java
* /struts/struts2/trunk/xwork-core/src/test/java/com/opensymphony/xwork2/spring/SpringObjectFactoryTest.java
* /struts/struts2/trunk/xwork-core/src/test/java/com/opensymphony/xwork2/validator/AnnotationValidationConfigurationBuilderTest.java

                
> 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
>            Assignee: Lukasz Lenart
>             Fix For: 2.3.15
>
>
> 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)
> {noformat}
> 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)
> {noformat}

--
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

Mime
View raw message