You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Rishi Solanki (JIRA)" <ji...@apache.org> on 2009/07/15 13:49:15 UTC

[jira] Created: (OFBIZ-2730) Junit test for the "depositWithdrawPayments"

Junit test for the "depositWithdrawPayments"
--------------------------------------------

                 Key: OFBIZ-2730
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2730
             Project: OFBiz
          Issue Type: Sub-task
          Components: accounting
    Affects Versions: SVN trunk
            Reporter: Rishi Solanki
             Fix For: SVN trunk


Need to write two Junit tests independently for the particular service. 
- If the variable "groupInOneTransaction" passed to the service.
- "groupInOneTransaction" is not passed to the service.

For the first part check for the all payments are associated with the particular FinAccountTrans Id, and the amount should be total of the amount of the all paymentIds passed to the service.
For the second test test the all amount in the payment and finAccountTrans are equal and paymentId is in the finAccountTrans record or not.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OFBIZ-2730) Junit test for the "depositWithdrawPayments"

Posted by "Anil K Patel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anil K Patel closed OFBIZ-2730.
-------------------------------

    Resolution: Fixed

Patch is in r794960. Thanks.

> Junit test for the "depositWithdrawPayments"
> --------------------------------------------
>
>                 Key: OFBIZ-2730
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2730
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Rishi Solanki
>            Assignee: Anil K Patel
>             Fix For: SVN trunk
>
>         Attachments: OFBiz-2730.patch
>
>
> Need to write two Junit tests independently for the particular service. 
> - If the variable "groupInOneTransaction" passed to the service.
> - "groupInOneTransaction" is not passed to the service.
> For the first part check for the all payments are associated with the particular FinAccountTrans Id, and the amount should be total of the amount of the all paymentIds passed to the service.
> For the second test test the all amount in the payment and finAccountTrans are equal and paymentId is in the finAccountTrans record or not.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-2730) Junit test for the "depositWithdrawPayments"

Posted by "Awdesh Singh Parihar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Awdesh Singh Parihar updated OFBIZ-2730:
----------------------------------------

    Attachment: OFBiz-2730.patch

-- Imlemented test case to test service depositWithdrawPayments .
For Given condition : -
1)  if the variable "groupInOneTransaction" passed to the service.
2) "groupInOneTransaction" is not passed to the service.

Thanks to Rishi Solanki

--
Awdesh Parihar

> Junit test for the "depositWithdrawPayments"
> --------------------------------------------
>
>                 Key: OFBIZ-2730
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2730
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Rishi Solanki
>             Fix For: SVN trunk
>
>         Attachments: OFBiz-2730.patch
>
>
> Need to write two Junit tests independently for the particular service. 
> - If the variable "groupInOneTransaction" passed to the service.
> - "groupInOneTransaction" is not passed to the service.
> For the first part check for the all payments are associated with the particular FinAccountTrans Id, and the amount should be total of the amount of the all paymentIds passed to the service.
> For the second test test the all amount in the payment and finAccountTrans are equal and paymentId is in the finAccountTrans record or not.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (OFBIZ-2730) Junit test for the "depositWithdrawPayments"

Posted by "Anil K Patel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anil K Patel reassigned OFBIZ-2730:
-----------------------------------

    Assignee: Anil K Patel

> Junit test for the "depositWithdrawPayments"
> --------------------------------------------
>
>                 Key: OFBIZ-2730
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2730
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Rishi Solanki
>            Assignee: Anil K Patel
>             Fix For: SVN trunk
>
>         Attachments: OFBiz-2730.patch
>
>
> Need to write two Junit tests independently for the particular service. 
> - If the variable "groupInOneTransaction" passed to the service.
> - "groupInOneTransaction" is not passed to the service.
> For the first part check for the all payments are associated with the particular FinAccountTrans Id, and the amount should be total of the amount of the all paymentIds passed to the service.
> For the second test test the all amount in the payment and finAccountTrans are equal and paymentId is in the finAccountTrans record or not.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.