Author: deepak
Date: Thu Nov 3 20:57:33 2016 New Revision: 1767972 URL: http://svn.apache.org/viewvc?rev=1767972&view=rev Log: Improved: Added unit test case for following accounting related services - createFinAccount - updateFinAccount - deleteFinAccount - createFinAccountStatus - createFinAccountTrans - createFinAccountRole - updateFinAccountRole - deleteFinAccountRole (OFBIZ-8814)(OFBIZ-8815)(OFBIZ-8816)(OFBIZ-8817)(OFBIZ-8818)(OFBIZ-8819)(OFBIZ-8820)(OFBIZ-8821) Thanks Deepak Nigam for your contribution. Modified: ofbiz/trunk/applications/accounting/testdef/accountingtests.xml ofbiz/trunk/applications/accounting/testdef/data/AccountingTestsData.xml Modified: ofbiz/trunk/applications/accounting/testdef/accountingtests.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/testdef/accountingtests.xml?rev=1767972&r1=1767971&r2=1767972&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/testdef/accountingtests.xml (original) +++ ofbiz/trunk/applications/accounting/testdef/accountingtests.xml Thu Nov 3 20:57:33 2016 @@ -49,4 +49,7 @@ <test-case case-name="auto-accounting-cost-tests"> <simple-method-test location="component://accounting/minilang/test/AutoAcctgCostTests.xml"/> </test-case> + <test-case case-name="auto-accounting-finaccount-tests"> + <simple-method-test location="component://accounting/minilang/test/AutoAcctgFinAccountTests.xml"/> + </test-case> </test-suite> Modified: ofbiz/trunk/applications/accounting/testdef/data/AccountingTestsData.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/testdef/data/AccountingTestsData.xml?rev=1767972&r1=1767971&r2=1767972&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/testdef/data/AccountingTestsData.xml (original) +++ ofbiz/trunk/applications/accounting/testdef/data/AccountingTestsData.xml Thu Nov 3 20:57:33 2016 @@ -68,4 +68,13 @@ under the License. <PartyRole partyId="DEMO_COMPANY2" roleTypeId="INTERNAL_ORGANIZATIO"/> <InventoryItem facilityId="DemoFacility1" inventoryItemId="9999" inventoryItemTypeId="NON_SERIAL_INV_ITEM" productId="TestProduct3" ownerPartyId="DEMO_COMPANY2" currencyUomId="USD" unitCost="9"/> <PartyAcctgPreference partyId="DEMO_COMPANY2" cogsMethodId="COGS_LIFO"/> + <!-- For Testing service updateFinAccount --> + <FinAccount finAccountId="1001" finAccountTypeId="DEPOSIT_ACCOUNT" finAccountName="Deposit Account" finAccountCode="1001" currencyUomId="USD" organizationPartyId="DEMO_COMPANY" fromDate="2016-11-03 00:00:00" actualBalance="2000.00" availableBalance="1500.00"/> + <!-- For Testing service deleteFinAccount --> + <FinAccount finAccountId="1002" finAccountTypeId="CREDIT_CARD_ACCOUNT" finAccountName="Credit Cart Account" finAccountCode="1002" currencyUomId="USD" organizationPartyId="DEMO_COMPANY" fromDate="2016-11-03 00:00:00" actualBalance="2000.00" availableBalance="1500.00"/> + <!-- For Testing service createFinAccountStatus --> + <FinAccount finAccountId="1003" finAccountTypeId="DEPOSIT_ACCOUNT" finAccountName="Deposit Account" finAccountCode="1001" currencyUomId="USD" organizationPartyId="DEMO_COMPANY" fromDate="2016-11-03 00:00:00" actualBalance="2000.00" availableBalance="1500.00"/> + <!-- For Testing service updateFinAccountRole --> + <FinAccount finAccountId="1004" finAccountTypeId="DEPOSIT_ACCOUNT" finAccountName="Deposit Account" finAccountCode="1001" currencyUomId="USD" organizationPartyId="DEMO_COMPANY" fromDate="2016-11-03 00:00:00" actualBalance="2000.00" availableBalance="1500.00"/> + <FinAccountRole finAccountId="1004" partyId="DEMO_COMPANY" roleTypeId="SUPPLIER" fromDate="2016-11-03 00:00:00"/> </entity-engine-xml> |
Free forum by Nabble | Edit this page |