svn commit: r663913 - in /ofbiz/trunk/applications/party: ofbiz-component.xml script/org/ofbiz/party/test/ script/org/ofbiz/party/test/PartyTestServices.xml testdef/ testdef/PartyTests.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r663913 - in /ofbiz/trunk/applications/party: ofbiz-component.xml script/org/ofbiz/party/test/ script/org/ofbiz/party/test/PartyTestServices.xml testdef/ testdef/PartyTests.xml

mor-2
Author: mor
Date: Fri Jun  6 05:32:26 2008
New Revision: 663913

URL: http://svn.apache.org/viewvc?rev=663913&view=rev
Log:
Applied a modified patch (for testing various services / processes in party component for finding party, updating postal address, email, telecom number, user login, payment method) from Jira issue OFBIZ-1467 (https://issues.apache.org/jira/browse/OFBIZ-1467).

Thanks Awdesh Parihar, Ratnesh Upadhyay for the patch.




Added:
    ofbiz/trunk/applications/party/script/org/ofbiz/party/test/
    ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTestServices.xml   (with props)
    ofbiz/trunk/applications/party/testdef/
    ofbiz/trunk/applications/party/testdef/PartyTests.xml   (with props)
Modified:
    ofbiz/trunk/applications/party/ofbiz-component.xml

Modified: ofbiz/trunk/applications/party/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/ofbiz-component.xml?rev=663913&r1=663912&r2=663913&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/party/ofbiz-component.xml Fri Jun  6 05:32:26 2008
@@ -33,7 +33,9 @@
     <service-resource type="model" loader="main" location="servicedef/services.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_view.xml"/>
     <service-resource type="eca" loader="main" location="servicedef/secas.xml"/>
-
+    
+    <test-suite loader="main" location="testdef/PartyTests.xml"/>
+    
     <webapp name="party"
         title="Party"
         server="default-server"

Added: ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTestServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTestServices.xml?rev=663913&view=auto
==============================================================================
--- ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTestServices.xml (added)
+++ ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTestServices.xml Fri Jun  6 05:32:26 2008
@@ -0,0 +1,385 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<simple-methods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        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="serviceCtx.partyId" value="DemoCustomer"/>
+        <set field="serviceCtx.roleTypeId" value="CUSTOMER"/>
+
+        <call-service service-name="findParty" in-map-name="serviceCtx">
+            <results-to-map map-name="partyList"/>
+        </call-service>
+        
+        <find-by-primary-key entity-name="PartyRoleDetailAndPartyDetail" map-name="serviceCtx" value-name="partyRoleDetailAndPartyDetail"/>
+        <if-not-empty field-name="partyRoleDetailAndPartyDetail">
+            <assert><not><if-empty field-name="partyList"/></not></assert>
+        <else>
+            <assert><if-empty field-name="partyList"/></assert>
+        </else>    
+        </if-not-empty>
+        <check-errors/>
+    </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"/>
+        </call-service>
+        <!-- At least one party will always exists in the system in any case -->
+        <assert><not><if-empty field-name="partyList"/></not></assert>
+        <check-errors/>
+    </simple-method>
+
+    <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"/>
+        <call-class-method method-name="findPartyLatestContactMech" class-name="org.ofbiz.party.party.PartyWorker" ret-field-name="partyAndContactMech">
+            <field field-name="partyId" type="java.lang.String"/>
+            <field field-name="contactMechTypeId" type="java.lang.String"/>
+            <field field-name="delegator" type="org.ofbiz.entity.GenericDelegator"/>
+        </call-class-method>
+        <!-- first try with just updating without changing the email address -->
+        <set field="serviceCtx.partyId" from-field="partyId"/>
+        <set field="serviceCtx.emailAddress" from-field="partyAndContactMech.infoString"/>
+        <set field="serviceCtx.contactMechId" from-field="partyAndContactMech.contactMechId"/>
+        <entity-one entity-name="UserLogin" value-name="userLogin">
+            <field-map field-name="userLoginId" value="system"/>
+        </entity-one>
+        <set field="serviceCtx.userLogin" from-field="userLogin"/>
+
+        <call-service service-name="updatePartyEmailAddress" in-map-name="serviceCtx">
+            <result-to-field result-name="contactMechId"/>
+        </call-service>
+        <log level="info" message="====== contactMechId [${contactMechId}] ======"/>
+        <entity-one entity-name="ContactMech" value-name="contactMech"/>
+        <assert>
+            <not><if-empty field-name="contactMech"/></not>
+            <if-compare-field field-name="contactMechId" operator="equals" to-field-name="serviceCtx.contactMechId"/>
+            <if-compare-field field-name="contactMech.infoString" operator="equals" to-field-name="serviceCtx.emailAddress"/>
+        </assert>
+        <check-errors/>
+        
+        <clear-field field-name="contactMech"/>
+        <!-- now update with changing the email address, a new record will be created in ContactMech entity this time -->
+        <set field="serviceCtx.emailAddress" value="[hidden email]"/>
+        <call-service service-name="updatePartyEmailAddress" in-map-name="serviceCtx">
+            <result-to-field result-name="contactMechId" field-name="newContactMechId"/>
+        </call-service>
+        <log level="info" message="====== New contactMechId [${newContactMechId}] for email address is created for party [${partyId}] ======"/>
+        <entity-one entity-name="ContactMech" value-name="contactMech">
+            <field-map field-name="contactMechId" env-name="newContactMechId"/>
+        </entity-one>
+        <assert>
+            <not><if-empty field-name="contactMech"/></not>
+            <if-compare-field field-name="newContactMechId" operator="not-equals" to-field-name="serviceCtx.contactMechId"/>
+            <if-compare-field field-name="contactMech.infoString" operator="equals" to-field-name="serviceCtx.emailAddress"/>
+        </assert>
+        <check-errors/>      
+    </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"/>
+        <call-class-method method-name="findPartyLatestTelecomNumber" class-name="org.ofbiz.party.party.PartyWorker" ret-field-name="telecomNumber">
+            <field field-name="partyId" type="java.lang.String"/>
+            <field field-name="delegator" type="org.ofbiz.entity.GenericDelegator"/>
+        </call-class-method>
+        <!-- first try with just updating without changing the telecom number -->
+        <set-service-fields service-name="updatePartyTelecomNumber" map-name="telecomNumber" to-map-name="serviceCtx"/>
+        <set field="serviceCtx.partyId" from-field="partyId"/>
+        
+        <entity-one entity-name="UserLogin" value-name="userLogin">
+            <field-map field-name="userLoginId" value="system"/>
+        </entity-one>        
+        <set field="serviceCtx.userLogin" from-field="userLogin"/>
+
+        <call-service service-name="updatePartyTelecomNumber" in-map-name="serviceCtx">
+           <result-to-field result-name="contactMechId"/>
+        </call-service>
+        <log level="info" message="====== contactMechId [${contactMechId}] ======"/>
+        <entity-one entity-name="ContactMech" value-name="contactMech"/>
+        <assert>
+            <not><if-empty field-name="contactMech"/></not>
+            <if-compare-field field-name="contactMechId" operator="equals" to-field-name="serviceCtx.contactMechId"/>
+        </assert>
+        <clear-field field-name="telecomNumber"/>
+        <get-related-one  value-name="contactMech" relation-name="TelecomNumber" to-value-name="telecomNumber"/>
+        <assert>
+            <not><if-empty field-name="telecomNumber"/></not>
+            <if-compare-field field-name="telecomNumber.areaCode" operator="equals" to-field-name="serviceCtx.areaCode"/>
+            <if-compare-field field-name="telecomNumber.contactNumber" operator="equals" to-field-name="serviceCtx.contactNumber"/>
+        </assert>
+        <check-errors/>
+        
+        <clear-field field-name="contactMech"/>
+        <clear-field field-name="telecomNumber"/>
+                
+        <!-- try now with changing the telecom number, a new record will be created in ContactMech, TelecomNumber entity this time -->
+        <set field="serviceCtx.contactNumber" value="444-4444"/>
+        <call-service service-name="updatePartyTelecomNumber" in-map-name="serviceCtx">
+           <result-to-field result-name="contactMechId" field-name="newContactMechId"/>
+        </call-service>
+        <log level="info" message="====== New contactMechId [${newContactMechId}] for TelecomNumber is created for party [${partyId}] ======"/>
+        <entity-one entity-name="ContactMech" value-name="contactMech">
+            <field-map field-name="contactMechId" env-name="newContactMechId"/>
+        </entity-one>
+        <assert>
+            <not><if-empty field-name="contactMech"/></not>
+            <if-compare-field field-name="newContactMechId" operator="not-equals" to-field-name="serviceCtx.contactMechId"/>
+        </assert>
+        <get-related-one  value-name="contactMech" relation-name="TelecomNumber" to-value-name="telecomNumber"/>
+        <assert>
+            <not><if-empty field-name="telecomNumber"/></not>
+            <if-compare-field field-name="telecomNumber.contactNumber" operator="equals" to-field-name="serviceCtx.contactNumber"/>
+        </assert>
+        <check-errors/>        
+    </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-name="postalAddress">
+            <field field-name="partyId" type="java.lang.String"/>
+            <field field-name="delegator" type="org.ofbiz.entity.GenericDelegator"/>
+        </call-class-method>
+        <!-- first try with just updating without changing the postal address -->
+        <set-service-fields service-name="updatePartyPostalAddress" map-name="postalAddress" to-map-name="serviceCtx"/>
+        <set field="serviceCtx.partyId" from-field="partyId"/>
+        
+        <entity-one entity-name="UserLogin" value-name="userLogin">
+            <field-map field-name="userLoginId" value="system"/>
+        </entity-one>        
+        <set field="serviceCtx.userLogin" from-field="userLogin"/>
+        
+        <call-service service-name="updatePartyPostalAddress" in-map-name="serviceCtx">
+            <result-to-field result-name="contactMechId"/>
+        </call-service>
+        <log level="info" message="====== contactMechId [${contactMechId}] ======"/>
+        <entity-one entity-name="ContactMech" value-name="contactMech"/>
+        <assert>
+            <not><if-empty field-name="contactMech"/></not>
+            <if-compare-field field-name="contactMechId" operator="equals" to-field-name="serviceCtx.contactMechId"/>
+        </assert>
+        <clear-field field-name="postalAddress"/>
+        <get-related-one  value-name="contactMech" relation-name="PostalAddress" to-value-name="postalAddress"/>
+        <assert>
+            <not><if-empty field-name="postalAddress"/></not>
+            <if-compare-field field-name="postalAddress.address1" operator="equals" to-field-name="serviceCtx.address1"/>
+            <if-compare-field field-name="postalAddress.stateProvinceGeoId" operator="equals" to-field-name="serviceCtx.stateProvinceGeoId"/>
+            <if-compare-field field-name="postalAddress.postalCode" operator="equals" to-field-name="serviceCtx.postalCode"/>
+        </assert>
+        <check-errors/>
+        
+        <clear-field field-name="contactMech"/>
+        <clear-field field-name="postalAddress"/>
+        
+        <!-- try now with changing the postal address fields, a new record will be created in ContactMech, PostalAddress entity this time -->
+        <set field="serviceCtx.stateProvinceGeoId" value="VA"/>
+        <set field="serviceCtx.postalCode" value="20147"/>
+        <call-service service-name="updatePartyPostalAddress" in-map-name="serviceCtx">
+           <result-to-field result-name="contactMechId" field-name="newContactMechId"/>
+        </call-service>
+        <log level="info" message="====== New contactMechId [${newContactMechId}] for PostalAddress is created for party [${partyId}] ======"/>
+        <entity-one entity-name="ContactMech" value-name="contactMech">
+            <field-map field-name="contactMechId" env-name="newContactMechId"/>
+        </entity-one>
+        <assert>
+            <not><if-empty field-name="contactMech"/></not>
+            <if-compare-field field-name="newContactMechId" operator="not-equals" to-field-name="serviceCtx.contactMechId"/>
+        </assert>
+        <get-related-one  value-name="contactMech" relation-name="PostalAddress" to-value-name="postalAddress"/>
+        <assert>
+            <not><if-empty field-name="postalAddress"/></not>
+            <if-compare-field field-name="postalAddress.stateProvinceGeoId" operator="equals" to-field-name="serviceCtx.stateProvinceGeoId"/>
+            <if-compare-field field-name="postalAddress.postalCode" operator="equals" to-field-name="serviceCtx.postalCode"/>
+        </assert>
+        <check-errors/>
+    </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-name="serviceCtx" list-name="paymentMethodAndCreditCards"/>
+        <filter-list-by-date list-name="paymentMethodAndCreditCards"/>
+        <first-from-list list-name="paymentMethodAndCreditCards" entry-name="paymentMethodAndCreditCard"/>
+        <!-- first try with just updating without changing the credit card information -->
+        <set-service-fields service-name="updateCreditCard" map-name="paymentMethodAndCreditCard" to-map-name="serviceCtx"/>
+        
+        <entity-one entity-name="UserLogin" value-name="userLogin">
+            <field-map field-name="userLoginId" value="system"/>
+        </entity-one>
+        <set field="serviceCtx.userLogin" from-field="userLogin"/>
+
+        <call-service service-name="updateCreditCard" in-map-name="serviceCtx">
+            <result-to-field result-name="paymentMethodId"/>
+            <result-to-field result-name="oldPaymentMethodId"/>
+        </call-service>
+        <log level="info" message="====== paymentMethodId [${paymentMethodId}] ======"/>
+        <clear-field field-name="paymentMethodAndCreditCard"/>
+        <entity-one entity-name="PaymentMethodAndCreditCard" value-name="paymentMethodAndCreditCard"/>
+        <assert>
+            <not><if-empty field-name="paymentMethodAndCreditCard"/></not>
+            <if-compare-field field-name="paymentMethodId" operator="equals" to-field-name="oldPaymentMethodId"/>
+            <if-compare-field field-name="paymentMethodAndCreditCard.cardType" operator="equals" to-field-name="serviceCtx.cardType"/>
+            <if-compare-field field-name="paymentMethodAndCreditCard.cardNumber" operator="equals" to-field-name="serviceCtx.cardNumber"/>
+        </assert>
+        <check-errors/>
+        
+        <clear-field field-name="paymentMethodAndCreditCard"/>
+        <clear-field field-name="paymentMethodId"/>
+        <clear-field field-name="oldPaymentMethodId"/>
+        
+        <!-- try now with few changes (cardType, cardNumber in this case), a new record will be created in PaymentMethod, CreditCard entity -->
+        <set field="serviceCtx.cardType" value="MasterCard"/>
+        <set field="serviceCtx.cardNumber" value="5500000000000004"/>
+        <call-service service-name="updateCreditCard" in-map-name="serviceCtx">
+            <result-to-field result-name="paymentMethodId"/>
+            <result-to-field result-name="oldPaymentMethodId"/>
+        </call-service>
+        <log level="info" message="====== New paymentMethodId [${paymentMethodId}] created for party [${partyId}] ======"/>
+        <entity-one entity-name="PaymentMethodAndCreditCard" value-name="paymentMethodAndCreditCard"/>
+        <assert>
+            <not><if-empty field-name="paymentMethodAndCreditCard"/></not>
+            <if-compare-field field-name="paymentMethodId" operator="not-equals" to-field-name="oldPaymentMethodId"/>
+            <if-compare-field field-name="paymentMethodAndCreditCard.cardType" operator="equals" to-field-name="serviceCtx.cardType"/>
+            <if-compare-field field-name="paymentMethodAndCreditCard.cardNumber" operator="equals" to-field-name="serviceCtx.cardNumber"/>
+        </assert>
+        <check-errors/>                
+    </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-name="partyUserLogin">
+            <field field-name="partyId" type="java.lang.String"/>
+            <field field-name="delegator" type="org.ofbiz.entity.GenericDelegator"/>
+        </call-class-method>        
+        <set-service-fields service-name="updatePassword" map-name="partyUserLogin" to-map-name="serviceCtx"/>
+        <!-- old details: userLoginId = DemoCustomer, password = ofbiz -->
+        <set field="serviceCtx.newPassword" value="ofbiz-demo"/>
+        <set field="serviceCtx.newPasswordVerify" value="ofbiz-demo"/>
+        
+        <entity-one entity-name="UserLogin" value-name="userLogin">
+            <field-map field-name="userLoginId" value="system"/>
+        </entity-one>
+        <set field="serviceCtx.userLogin" from-field="userLogin"/>
+
+        <call-service service-name="updatePassword" in-map-name="serviceCtx">
+            <result-to-field result-name="updatedUserLogin"/>
+        </call-service>
+        
+        <entity-one entity-name="PartyAndUserLogin" value-name="partyAndUserLogin">
+            <field-map field-name="userLoginId" env-name="partyUserLogin.userLoginId"/>
+            <field-map field-name="partyId" env-name="partyId"/>
+        </entity-one>
+        <!-- get the encrypted password -->
+        <call-class-method method-name="getHashType" class-name="org.ofbiz.common.login.LoginServices" ret-field-name="hashType"/>
+        <call-class-method method-name="getDigestHash" class-name="org.ofbiz.base.crypto.HashCrypt" ret-field-name="newPasswordHash">
+            <field field-name="serviceCtx.newPassword" type="java.lang.String"/>
+            <field field-name="hashType" type="java.lang.String"/>
+        </call-class-method>
+        <assert>
+            <not><if-empty field-name="partyAndUserLogin"/></not>
+            <if-compare-field field-name="partyAndUserLogin.currentPassword" operator="equals"  to-field-name="newPasswordHash"/>
+            <if-compare-field field-name="partyAndUserLogin.userLoginId" operator="equals"  to-field-name="userLoginId"/>
+        </assert>
+        <check-errors/>
+     </simple-method>
+</simple-methods>
\ No newline at end of file

Propchange: ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTestServices.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTestServices.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTestServices.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/applications/party/testdef/PartyTests.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/testdef/PartyTests.xml?rev=663913&view=auto
==============================================================================
--- ofbiz/trunk/applications/party/testdef/PartyTests.xml (added)
+++ ofbiz/trunk/applications/party/testdef/PartyTests.xml Fri Jun  6 05:32:26 2008
@@ -0,0 +1,43 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+  -->
+<test-suite suite-name="partytests"
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/test-suite.xsd">
+    <test-case case-name="test-Find party with certain search parameters">
+        <simple-method-test location="component://party/script/org/ofbiz/party/test/PartyTestServices.xml" name="testFindPartyWithSearchParameters"/>
+    </test-case>
+    <test-case case-name="test-Find party when no search parameters are passed">
+        <simple-method-test location="component://party/script/org/ofbiz/party/test/PartyTestServices.xml" name="testFindPartyWithNoSearchParameters"/>
+    </test-case>
+    <test-case case-name="test-Update party email address">
+        <simple-method-test location="component://party/script/org/ofbiz/party/test/PartyTestServices.xml" name="testUpdatePartyEmailAddress"/>
+    </test-case>
+    <test-case case-name="test-Update party Telecom number">
+        <simple-method-test location="component://party/script/org/ofbiz/party/test/PartyTestServices.xml" name="testUpdatePartyTelecomNumber"/>
+    </test-case>
+    <test-case case-name="test-Update party postal Address">
+        <simple-method-test location="component://party/script/org/ofbiz/party/test/PartyTestServices.xml" name="testUpdatePartyPostalAddress"/>
+    </test-case>
+    <test-case case-name="test-Update party credit card">
+        <simple-method-test location="component://party/script/org/ofbiz/party/test/PartyTestServices.xml" name="testUpdatePartyCreditCard"/>
+    </test-case>
+    <test-case case-name="test-Update password">
+        <simple-method-test location="component://party/script/org/ofbiz/party/test/PartyTestServices.xml" name="testUpdateUserPassword"/>
+    </test-case>
+</test-suite>
\ No newline at end of file

Propchange: ofbiz/trunk/applications/party/testdef/PartyTests.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/applications/party/testdef/PartyTests.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/applications/party/testdef/PartyTests.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml