Commit Graph
10 Commits
Author SHA1 Message Date
Akash Jain f764266d17 Improved: Convert AutoInvoiceTests.xml to Groovy (OFBIZ-11531)
Thanks, Rohit Hukkeri for the report.
2020-07-02 12:20:18 +05:30
Priya SharmaandPriya Sharma 0f9307c071 Improved: Convert InvoicePerShipmentTests.xml tests to groovy (OFBIZ-11553) (#208)
* Improved: Convert InvoicePerShipmentTests.xml tests to groovy (OFBIZ-11553)
Done following:
- converted all xml test implementation to groovy
- used MockHttpServletRequest MockHttpServletResponse objects for triggering the events
- removed the xml version of the test implementations
- updated the test service mapping in the invoicetests.xml
(OFBIZ-11553)

* Improved: Moved the common code into a method so as to avoid duplication of code.
- passed in two parameters i.e. product id and the invoicePerShipment flag, to be used as per the need of the testcase.
(OFBIz-11553)

* Improved: Added support to get access to the Debug log methods in the groovy tests. (OFBIZ-11553)
- Also updated the references in the InvoicePerShipment tests.

Co-authored-by: Priya Sharma <priya.sharma@hotwaxsystems.com>
2020-06-27 18:09:34 +05:30
Pawan Verma 6d7c953e5f Improved: Converted assertInvoiceTotal, testInvoiceAppl and testToPayment tests from XML to Groovy.
(OFBIZ-11530)(OFBIZ-11557)(OFBIZ-11559)

Thanks, Rohit for the contribution and Jacques for the review.
2020-06-14 14:17:44 +05:30
Jacques Le Roux ec66e361e1 A big but straightforward commit for "Move minilang scripts from component://componentname/script/org/ofbiz to component://componentname/minilang" - https://issues.apache.org/jira/browse/OFBIZ-7267
I removed duplicate paths were componentname was uselessly repeated after component://componentname/script/org/ofbiz (projectmngr was the only one using there project instead)

I had few typos, easily fixed thanks to the tests. There could be still typos but they are unexpected and anyway no-brainer to fix 

I'm still wondering about specialpurpose/example/minilang/README.txt.
I changed its content to 
  "The minilang directory is for static resources that are interpreted at run time rather than being compiled. This goes on the classpath, but does not get built or put into a JAR file."
not sure it makes any sense, I don't see how this relates to the classpath. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747712 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 14:04:30 +00:00
Hans Bakker 2a61998b2d junit tests to test the change in r1163083 to have invoicing per order/or shipment. Also added spring jar files to be able to test ofbiz events.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1163084 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 04:25:28 +00:00
Ashish Vijaywargiya 2acb681cca Applied patch from jira issue OFBIZ-3392 - XML Declaration is missing for files.
Thanks Sumit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@896386 13f79535-47bb-0310-9956-ffa450edef68
2010-01-06 11:00:26 +00:00
Scott Gray e556c70ca1 Changed all test suites (where appropriate) containing simple method tests to use the new location only definition so that all tests from a given simple methods document are automatically included
Required changing the names of a couple of inline methods in PartyTests.xml

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893665 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 00:41:27 +00:00
Scott Gray f6495da0ff Path from Erwan de FERRIERES (OFBIZ-3285), renames the various accounting test suites so that each name is unique, multiple suites with the same names was causing test result files to be overwritten which resulted in an incomplete final report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886111 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 10:46:18 +00:00
Ashish Vijaywargiya 545ecd2017 Applied patch from jira issue OFBIZ-2854 - Accounting - Cancel Invoice and Cancel Check Run.
Thanks Surya & Sumit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@807470 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 04:10:29 +00:00
Anil Patel dac348b258 Adding ability to create Commission invoice from sales invoices. Patch from OFBIZ-2713. Thanks Rishi, Sumit, Awdesh, Amit for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798854 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 10:54:02 +00:00