Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4046

Failing test when building xwork-core

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.15
    • 2.3.15
    • Unit Tests
    • None

    Description

      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)
      

      Attachments

        Activity

          People

            lukaszlenart Lukasz Lenart
            belingueres Gabriel Belingueres
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: