Unit tests are failing 
-----------------------

                 Key: DISPL-642
                 URL: http://jira.codehaus.org/browse/DISPL-642
             Project: DisplayTag
          Issue Type: Test
    Affects Versions: 1.3
            Reporter: Kevin Rohr
            Priority: Minor
             Fix For: 1.3
         Attachments: src-test-diff.patch

Currently running the JUnit tests on the source code for the 1.3-SNAPSHOT 
release results in 7 failures and 5 errors. 

The failures are caused by the PaginationHelperTest. This class defines it's 
own AssertEquals(Iterator, Iterator) function to assert that two iterator's 
have equal values, but in most tests (well, 7, to be specific) the asserts are 
getting called against JUnit's out-of-the-box AssertEquals(Object, Object), 
which is failing because the two objects being compared are not the same 
object. 

The failures are being caused because the DisplaytagCase.getJspUrl() method was 
apparently changed to point to "/context/jsps" instead of "/context/standard", 
but the corresponding changes were not made in src/test/resources/xwork.xml and 
src/test/resources/WEB-INF/struts-config.xml. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to