Commit Graph
10 Commits
Author SHA1 Message Date
Jacques Le Roux 077625c5a6 Fixed: Unable to create event in SFA component (OFBIZ-9901)
The tests failed because CAL_OWNER instead of CONTACT was necessary
2020-07-25 19:18:45 +02:00
Suraj Khurana 9913e566cc Improved: Called service directly instead of simple methoda call as service has been changed to entity-auto. (#142)
(OFBIZ-11616)
Also, updated time sheet related test data as timesheet status should be appropriate before updating or deleting.
2020-05-16 14:52:12 +05:30
Taher A. Alkhateeb 1d6c5ffad1 Implemented: Removed most dependencies from OFBiz framework to plugins
(OFBIZ-9322)

This is the first commit to removed dependencies on the ecommerce plugin data
by moving the following files to applications:
- DemoStandardCosting to applications/accounting/data/
- DemoOrderPeopleData.xml to applications/order/data/
- DemoOrderTestData.xml to applications/order/data/
- DemoProduct.xml to applications/order/data/
- DemoRentalShipping.xml to applications/order/data/
- DemoShipping.xml to applications/order/data/

Also modified some data on the below files to fix dependency order
- applications/product/data/ProductDemoData.xml
  (move facility data needed for tests from plugins)
- applications/marketing/data/sfaDemoData.xml
  (move data to DemoOrderPeopleData.xml)
- applications/party/testdef/data/PartyTestsData.xml
  (status does not exist)
- applications/workeffort/testdef/data/WorkEffortTestData.xml
  (status does not exist)
- applications/workeffort/minilang/test/WorkEffortTests.xml
  (depends on planHours which is defined in project componnent)

And finally updated the below component files with the moved data
- applications/order/ofbiz-component.xml
- applications/accounting/ofbiz-component.xml


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792866 13f79535-47bb-0310-9956-ffa450edef68
2017-04-27 11:39:04 +00:00
Deepak Dixit 2681fb39c9 Improved: Added unit test case for following workeffort related services
- createWorkEffortAndPartyAssign
- deleteWorkEffort
- copyWorkEffort
- duplicateWorkEffort
- makeCommunicationEventWorkEffort
- assignPartyToWorkEffort
- updatePartyToWorkEffortAssignment
- deletePartyToWorkEffortAssignment
- quickAssignPartyToWorkEffort
(OFBIZ-8619)(OFBIZ-8677)(OFBIZ-8678)(OFBIZ-8679)(OFBIZ-8681)(OFBIZ-8682) (OFBIZ-8683)(OFBIZ-8685)(OFBIZ-8686)

Thanks Pawan Verma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1767746 13f79535-47bb-0310-9956-ffa450edef68
2016-11-02 17:49:10 +00:00
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
Adam Heath b273b52dad Finally created a script to find and fix tons of missing final newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +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 d2d4ef08c7 Moved a couple of party related tests from workeffort to party and removed some duplicate tests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@667795 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 12:48:46 +00:00
Vikas Mayur 554dec4b98 Removed duplicate test cases for testing UserLogin in database - There is already one in example component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@667067 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 13:04:12 +00:00
Marco Risaliti a78d89e3c4 JUNIT test case for party communication (Part of issue OFBIZ-1468)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@612994 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 22:24:19 +00:00