[jira] Created: (DISPL-642) Unit tests are failing

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (DISPL-642) Unit tests are failing

JIRA jira@codehaus.org
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (DISPL-642) Unit tests are failing

JIRA jira@codehaus.org

    [ http://jira.codehaus.org/browse/DISPL-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=195492#action_195492 ]

Kevin Rohr commented on DISPL-642:
----------------------------------

NOTE: the svn diff for this patch was run from the directory displaytag/displaytag/src/test

> 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
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (DISPL-642) Unit tests are failing

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ https://jira.codehaus.org/browse/DISPL-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=278065#comment-278065 ]

Victor Homyakov commented on DISPL-642:
---------------------------------------

Bump. PaginationHelperTest is still failing and fix is pretty straightforward (replace "Assert.assertEquals" with "assertEquals"). Will someone ever fix it? (I can do it if you wish).

> Unit tests are failing
> -----------------------
>
>                 Key: DISPL-642
>                 URL: https://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, src-test-diff.patch
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
displaytag-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (DISPL-642) Unit tests are failing

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ https://jira.codehaus.org/browse/DISPL-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=278092#comment-278092 ]

andy pruitt commented on DISPL-642:
-----------------------------------

committed the patch - thanks!

> Unit tests are failing
> -----------------------
>
>                 Key: DISPL-642
>                 URL: https://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, src-test-diff.patch
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
displaytag-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel
Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (DISPL-642) Unit tests are failing

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

     [ https://jira.codehaus.org/browse/DISPL-642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

andy pruitt resolved DISPL-642.
-------------------------------

    Resolution: Fixed

> Unit tests are failing
> -----------------------
>
>                 Key: DISPL-642
>                 URL: https://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, src-test-diff.patch
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
displaytag-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel