You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by "Remy Gendron (JIRA)" <ji...@apache.org> on 2008/02/05 21:41:08 UTC
[jira] Created: (ABDERA-102) Unit tests equality assertions, params
in wrong order.
Unit tests equality assertions, params in wrong order.
------------------------------------------------------
Key: ABDERA-102
URL: https://issues.apache.org/jira/browse/ABDERA-102
Project: Abdera
Issue Type: Improvement
Affects Versions: 0.3.0
Reporter: Remy Gendron
Priority: Trivial
When using assertEquals(), the parameters should be EXPECTED then ACTUAL.
They are currently mostly in the opposite order.
No big deal. It just makes the assertion messages more readable/clear if the parameters are provided in the proper order.
Thanks,
R.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ABDERA-102) Unit tests equality assertions, params
in wrong order.
Posted by "Christine Koppelt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ABDERA-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christine Koppelt updated ABDERA-102:
-------------------------------------
Attachment: oauthtests.patch
> Unit tests equality assertions, params in wrong order.
> ------------------------------------------------------
>
> Key: ABDERA-102
> URL: https://issues.apache.org/jira/browse/ABDERA-102
> Project: Abdera
> Issue Type: Improvement
> Affects Versions: 0.3.0
> Reporter: Remy Gendron
> Priority: Trivial
> Attachments: coreunittests.patch, oauthtests.patch, parserunittests.patch
>
>
> When using assertEquals(), the parameters should be EXPECTED then ACTUAL.
> They are currently mostly in the opposite order.
> No big deal. It just makes the assertion messages more readable/clear if the parameters are provided in the proper order.
> Thanks,
> R.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (ABDERA-102) Unit tests equality assertions,
params in wrong order.
Posted by "Christine Koppelt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ABDERA-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christine Koppelt resolved ABDERA-102.
--------------------------------------
Resolution: Fixed
fixed, see svn commits
> Unit tests equality assertions, params in wrong order.
> ------------------------------------------------------
>
> Key: ABDERA-102
> URL: https://issues.apache.org/jira/browse/ABDERA-102
> Project: Abdera
> Issue Type: Improvement
> Affects Versions: 0.3.0
> Reporter: Remy Gendron
> Priority: Trivial
> Attachments: coreunittests.patch, oauthtests.patch, parserunittests.patch
>
>
> When using assertEquals(), the parameters should be EXPECTED then ACTUAL.
> They are currently mostly in the opposite order.
> No big deal. It just makes the assertion messages more readable/clear if the parameters are provided in the proper order.
> Thanks,
> R.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (ABDERA-102) Unit tests equality assertions,
params in wrong order.
Posted by "Neale Upstone (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ABDERA-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711063#action_12711063 ]
Neale Upstone commented on ABDERA-102:
--------------------------------------
Not in a position to submit a patch, but the following seems to do the trick in eclipse:
Find: assertEquals\((.+), (.+)\);
Replace: assertEquals\($2, $1);
(with regexp switched on naturally)
> Unit tests equality assertions, params in wrong order.
> ------------------------------------------------------
>
> Key: ABDERA-102
> URL: https://issues.apache.org/jira/browse/ABDERA-102
> Project: Abdera
> Issue Type: Improvement
> Affects Versions: 0.3.0
> Reporter: Remy Gendron
> Priority: Trivial
>
> When using assertEquals(), the parameters should be EXPECTED then ACTUAL.
> They are currently mostly in the opposite order.
> No big deal. It just makes the assertion messages more readable/clear if the parameters are provided in the proper order.
> Thanks,
> R.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ABDERA-102) Unit tests equality assertions, params
in wrong order.
Posted by "Christine Koppelt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ABDERA-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christine Koppelt updated ABDERA-102:
-------------------------------------
Attachment: coreunittests.patch
Attached patch for the Unit tests in core
> Unit tests equality assertions, params in wrong order.
> ------------------------------------------------------
>
> Key: ABDERA-102
> URL: https://issues.apache.org/jira/browse/ABDERA-102
> Project: Abdera
> Issue Type: Improvement
> Affects Versions: 0.3.0
> Reporter: Remy Gendron
> Priority: Trivial
> Attachments: coreunittests.patch
>
>
> When using assertEquals(), the parameters should be EXPECTED then ACTUAL.
> They are currently mostly in the opposite order.
> No big deal. It just makes the assertion messages more readable/clear if the parameters are provided in the proper order.
> Thanks,
> R.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (ABDERA-102) Unit tests equality assertions,
params in wrong order.
Posted by "James M Snell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ABDERA-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566243#action_12566243 ]
James M Snell commented on ABDERA-102:
--------------------------------------
Yeah, this is my fault. It's a bad habit. I'm not going to update them all at once, but I will update each instance as I come across them. Patches, of course, are welcome ;-)
> Unit tests equality assertions, params in wrong order.
> ------------------------------------------------------
>
> Key: ABDERA-102
> URL: https://issues.apache.org/jira/browse/ABDERA-102
> Project: Abdera
> Issue Type: Improvement
> Affects Versions: 0.3.0
> Reporter: Remy Gendron
> Priority: Trivial
>
> When using assertEquals(), the parameters should be EXPECTED then ACTUAL.
> They are currently mostly in the opposite order.
> No big deal. It just makes the assertion messages more readable/clear if the parameters are provided in the proper order.
> Thanks,
> R.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ABDERA-102) Unit tests equality assertions, params
in wrong order.
Posted by "Christine Koppelt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ABDERA-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christine Koppelt updated ABDERA-102:
-------------------------------------
Attachment: parserunittests.patch
yet another patch for the unit tests in parser
> Unit tests equality assertions, params in wrong order.
> ------------------------------------------------------
>
> Key: ABDERA-102
> URL: https://issues.apache.org/jira/browse/ABDERA-102
> Project: Abdera
> Issue Type: Improvement
> Affects Versions: 0.3.0
> Reporter: Remy Gendron
> Priority: Trivial
> Attachments: coreunittests.patch, parserunittests.patch
>
>
> When using assertEquals(), the parameters should be EXPECTED then ACTUAL.
> They are currently mostly in the opposite order.
> No big deal. It just makes the assertion messages more readable/clear if the parameters are provided in the proper order.
> Thanks,
> R.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (ABDERA-102) Unit tests equality assertions,
params in wrong order.
Posted by "ant elder (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ABDERA-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863253#action_12863253 ]
ant elder commented on ABDERA-102:
----------------------------------
Patch applied, many thanks for the fixes Christine
> Unit tests equality assertions, params in wrong order.
> ------------------------------------------------------
>
> Key: ABDERA-102
> URL: https://issues.apache.org/jira/browse/ABDERA-102
> Project: Abdera
> Issue Type: Improvement
> Affects Versions: 0.3.0
> Reporter: Remy Gendron
> Priority: Trivial
> Attachments: coreunittests.patch
>
>
> When using assertEquals(), the parameters should be EXPECTED then ACTUAL.
> They are currently mostly in the opposite order.
> No big deal. It just makes the assertion messages more readable/clear if the parameters are provided in the proper order.
> Thanks,
> R.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.