Author: mor
Date: Thu Apr 8 12:06:29 2010 New Revision: 931898 URL: http://svn.apache.org/viewvc?rev=931898&view=rev Log: Removed unnecessary comments. Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyContactMechTests.xml ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTests.xml Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyContactMechTests.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyContactMechTests.xml?rev=931898&r1=931897&r2=931898&view=diff ============================================================================== --- ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyContactMechTests.xml (original) +++ ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyContactMechTests.xml Thu Apr 8 12:06:29 2010 @@ -22,18 +22,6 @@ under the License. xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/simple-methods.xsd"> <simple-method method-name="testUpdatePartyEmailAddress" short-description="Test updatePartyEmailAddress service" login-required="false"> - <!-- Precondition: - 1. Go to Party Manager - 2. Click on Lookup Party - 3. Select one party (DemoCustomer in this case) - 4. Update email address - --> - <!-- Process tested by test case: - 1. This test the process of update email address - --> - <!-- Post condition: - 1. If email address is changed, a new record is created in ContactMech entity else there is no change. - --> <set field="partyId" value="DemoCustomer"/> <set field="contactMechTypeId" value="EMAIL_ADDRESS"/> <!-- first try with just updating without changing the email address --> @@ -74,18 +62,6 @@ under the License. </simple-method> <simple-method method-name="testUpdatePartyTelecomNumber" short-description="Test updatePartyTelecomNumber service" login-required="false"> - <!-- Precondition: - 1. Go to the Party Manager - 2. Click on Lookup Party - 3. Select any party (DemoCustomer in this case) - 4. update telecom number fields - --> - <!-- Process tested by test case: - 1. This test the process of update telecom number. - --> - <!-- Post condition: - 1. If telecom number is changed then a new record is created in ContactMech and TelecomNumber entity else no change. - --> <set field="partyId" value="DemoCustomer"/> <set field="serviceCtx.partyId" from-field="partyId"/> <set field="serviceCtx.contactMechId" value="9025"/> @@ -139,18 +115,6 @@ under the License. </simple-method> <simple-method method-name="testUpdatePartyPostalAddress" short-description="Test updatePartyPostalAddress service" login-required="false"> - <!-- Precondition: - 1. Go to the Party Manager - 2. Click on Lookup Party - 3. Select any party (DemoCustomer in this case) - 4. Edit address fields, click Save - --> - <!-- Process tested by test case: - 1. This test the process of update postal address - --> - <!-- Post condition: - 1. If postal address is changed then a new record is created in ContactMech and PostalAddress entity else no change. - --> <set field="partyId" value="DemoCustomer"/> <call-class-method method-name="findPartyLatestPostalAddress" class-name="org.ofbiz.party.party.PartyWorker" ret-field="postalAddress"> <field field="partyId" type="java.lang.String"/> Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTests.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTests.xml?rev=931898&r1=931897&r2=931898&view=diff ============================================================================== --- ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTests.xml (original) +++ ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTests.xml Thu Apr 8 12:06:29 2010 @@ -22,17 +22,6 @@ under the License. xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/simple-methods.xsd"> <simple-method method-name="testFindPartyWithSearchParameters" short-description="Test findparty service on certain search parameters" login-required="false"> - <!-- Precondition: - 1. Go to Party Manager - 2. Enter search options (In this particular case, partyId and roleTypeId are being passed) - 3. Click Lookup Party - --> - <!-- Process tested by test case: - 1. This test the process for find party on basis of given search parameters - --> - <!-- Post condition: - 1. Selected party and information should be displayed in search result - --> <set field="searchParams.partyId" value="DemoCustomer"/> <set field="searchParams.roleTypeId" value="CUSTOMER"/> <map-to-map map="searchParams" to-map="serviceCtx"/> @@ -51,16 +40,6 @@ under the License. </simple-method> <simple-method method-name="testFindPartyWithNoSearchParameters" short-description="Test findparty service when no search parameters are passed" login-required="false"> - <!-- Precondition: - 1. Go to Party Manager - 2. Click on Show all records - --> - <!-- Process tested by test case: - 1. This test the process for find party if no search parameters are passed - --> - <!-- Post condition: - 1. All existing parties should be displayed in search result. - --> <set field="serviceCtx.lookupFlag" value="Y"/> <call-service service-name="findParty" in-map-name="serviceCtx"> <result-to-field result-name="partyList"/> @@ -71,18 +50,6 @@ under the License. </simple-method> <simple-method method-name="testUpdatePartyCreditCard" short-description="Test updateCreditCard service" login-required="false"> - <!-- Precondition: - 1. Go to the Party Manager - 2. Click on Lookup Party - 3. Select any Party (DemoCustomer in this case) - 4. Edit Payment Method, click Save - --> - <!-- Process tested by test case: - 1. This test the process of update credit card - --> - <!-- Post condition: - 1. If credit card information is changed than a new PaymentMethod, CreditCard record is created else no change. - --> <set field="serviceCtx.partyId" value="DemoCustomer"/> <find-by-and entity-name="PaymentMethodAndCreditCard" map="serviceCtx" list="paymentMethodAndCreditCards"/> <filter-list-by-date list="paymentMethodAndCreditCards"/> @@ -131,18 +98,6 @@ under the License. </simple-method> <simple-method method-name="testUpdateUserPassword" short-description="Test updatePassword service" login-required="false"> - <!-- Precondition: - 1. Go to the Party Manager - 2. Click on Lookup Party - 3. Select any party (DemoCustomer in this case) - 4. Edit User Login - --> - <!-- Process tested by test case: - 1. This test the process of update password - --> - <!-- Post condition: - 1. Old password should be replaced by new password successfully - --> <set field="partyId" value="DemoCustomer"/> <set field="userLoginId" value="DemoCustomer"/> <call-class-method method-name="findPartyLatestUserLogin" class-name="org.ofbiz.party.party.PartyWorker" ret-field="partyUserLogin"> |
Free forum by Nabble | Edit this page |