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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
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.

Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)

     [ 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.

Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ 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.

Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ 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.