Commit Graph
17 Commits
Author SHA1 Message Date
Akash Jain 38d17e2667 Improved: Convert OrderTests.xml to Groovy (OFBIZ-11849) 2020-07-07 11:01:31 +05:30
Gil Portenseigne eba4157c59 Improved: Convert OrderServices.xml mini-lang to groovyDSL : getNextOrderId
(OFBIZ-9984)
Thanks Julien for your old patch, it has been improved.
Add a new integration test for the service 'getNextOrderId'
2020-03-06 15:46:58 +01:00
Jacques Le Roux 406cd08d3d Fixed: Move OrderNotificationTests.groovy from order to ecommerce
(OFBIZ-11255)

Fixes the errors in framework only tests, order and ecommerce suites tests pass


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868591 13f79535-47bb-0310-9956-ffa450edef68
2019-10-18 13:16:39 +00:00
Jacques Le Roux 3231d9178a Improved: Refactor OrderTests.groovy and separate order and return test services
(OFBIZ-11239)

Based on Suraj's patch
This also moves
  testQuickReturnOrder to OrderReturnTests.groovy 
  the requirement tests in OrderRequirementTests.groovy
  renames OrderTest.groovy to OrderNotificationTests.groovy since it contains
  only that
  renames test-case for OrderTests.xml "order-tests-xml"
 
Test pass

Thanks: Suraj for initial patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868126 13f79535-47bb-0310-9956-ffa450edef68
2019-10-08 10:50:18 +00:00
Jacques Le Roux cc698a468c Improved: Unit test case for service - testSendOrderChangeNotification
(OFBIZ-8811)

Removes duplicated order-tests-data-load

Tests pass

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867926 13f79535-47bb-0310-9956-ffa450edef68
2019-10-03 10:49:07 +00:00
Jacques Le Roux 02fee75365 Improved: Unit test case for service - testSendOrderChangeNotification
(OFBIZ-8811)

Fixes to right place

There were no reasons to add an OrderTest.xml file, 
testSendOrderChangeNotification fits in OrderTests.xml

It was even wrong because of duplicated order-test test-case

Tests pass

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867921 13f79535-47bb-0310-9956-ffa450edef68
2019-10-03 09:28:37 +00:00
Jacques Le Roux b76d95d72a Improved: Unit test case for service - testSendOrderChangeNotification
(OFBIZ-8811)(OFBIZ-9647)(OFBIZ-9671)

While working on this I stumbled upon an issue related with 
webSiteId="OrderEntry" well related by Ratnesh Upadhyay in OFBIZ-9647.

Unlike him I decided not to remove the webSiteId="OrderEntry" entries but to
replace them by webSiteId="WebStore"

Tests pass!


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867889 13f79535-47bb-0310-9956-ffa450edef68
2019-10-02 14:46:00 +00:00
Mathieu Lirzin 9b68a55d64 Improved: Compile groovy integration tests
(OFBIZ-11165)

Since there is no need for dynamic reload for integration tests,
it is better to compile Groovy tests.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1865786 13f79535-47bb-0310-9956-ffa450edef68
2019-08-23 18:00:01 +00:00
Suraj Khurana 039dfbf5fa Added: Unit test case for service - AddRequirementTask.
(OFBIZ-8931)
Thanks Avnindra Sharma for reporting and Pawan Verma for providing the updated patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1856596 13f79535-47bb-0310-9956-ffa450edef68
2019-03-30 05:13:33 +00:00
Deepak Dixit 52d5517c44 Improved: Added unit test case for following order related services
- SetCustRequestStatus
- GetRequirementsForSupplier
- GetNextQuoteId
 - GetCustRequestsByRole
 - CreateRequirementRole
 - CreateRequirementFromItemATP
 - CreateCustRequestContent
 - CreateCustRequestAttribute
 - CreateAutoRequirementsForOrder
 - CreateATPRequirementsForOrder
 - CopyQuoteItem
 - CopyCustRequestItem


 (OFBIZ-8962)(OFBIZ-8961)(OFBIZ-8960)(OFBIZ-8959)(OFBIZ-8957)(OFBIZ-8956)(OFBIZ-8945)(OFBIZ-8944)(OFBIZ-8943)(OFBIZ-8942)(OFBIZ-8941)(OFBIZ-8940)

Thanks Avnindra Sharma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768214 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 13:37:02 +00:00
Deepak Dixit 3c4a8889e7 Improved: Added unit test case for following order related services
- CreateCustRequestItem
- CreateCustRequestItemNote
- CreateCustRequestNote
- CreateCustRequestParty
- CreateCustRequestStatus
- CreateOrderDeliverySchedule
- CreateOrderItemChange
- CreateOrderPaymentApplication
- CreateQuote
- CreateQuoteAttribute
- CreateQuoteCoefficient
- CreateQuoteRole
- CreateRequirement

 (OFBIZ-8947)(OFBIZ-8946)(OFBIZ-8948)(OFBIZ-8949)(OFBIZ-8950)(OFBIZ-8854)(OFBIZ-8855)(OFBIZ-8856)(OFBIZ-8951)(OFBIZ-8952)(OFBIZ-8963)(OFBIZ-8954)(OFBIZ-8955)

Thanks Avnindra Sharma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768206 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 12:18:05 +00:00
Deepak Dixit 6ebf17a01b Improved: Unit test case for service - sendOrderConfirmation
(OFBIZ-8507)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1766723 13f79535-47bb-0310-9956-ffa450edef68
2016-10-26 19:10:14 +00:00
Deepak Dixit 834691742b (OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Adam Heath 3e7f6314f7 Remove testdef to a class that doesn't exist.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931024 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 05:28:12 +00:00
Hans Bakker 3cd6582cef make the custrequest tests work again (failed because of r924647 ) and move them from the party to the order component in their own file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924662 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 07:33:48 +00:00
Vikas Mayur 3d0c81900f Applied patch from Jira issue OFBIZ-1469 (https://issues.apache.org/jira/browse/OFBIZ-1469)
containing JUnit test case for Creating Sales Order.
Thanks to Alok Agnihotri for posting a new patch resolving conflicts and testing this exclusively

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@631218 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 14:08:30 +00:00
Marco Risaliti 3ddd5c2093 I have review and modified the patch from Shubham Goyal about JUnit test case for Creating a Purchase Order (OFBIZ-1464).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603777 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 23:28:12 +00:00