phonebookengines/contactsmodel/tsrc/Integration/CntPerfTest/Scripts/ViewDefCustomFieldsTestHW.script
changeset 0 e686773b3f54
child 24 0ba2181d7c28
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 //
       
     2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description:
       
    15 //
       
    16 
       
    17 LOAD_SUITE CntPerfTestServer
       
    18 
       
    19 START_TESTCASE PIM-APPENG-CNTMODEL-CIT-HW-P81118
       
    20 //! @file
       
    21 //! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-HW-P81118
       
    22 //! @SYMTestType CIT
       
    23 //! @SYMTestPriority Medium
       
    24 //! @SYMPREQ 811
       
    25 //! @SYMTestCaseDesc ViewDef tests where contact item is opened/read using ViewDef containing all possible combinations of 2 existing uids 
       
    26 //! @SYMTestActions Open and read a contact using the default ViewDefs. 
       
    27 //! then read and minimally read a contact using ViewDef X containing 2 unique existing uid.
       
    28 //! store the number of hidden/non-hidden and empty/non-empty fields after each read/open,
       
    29 //! repeat until all existing uids combinations are tested
       
    30 //! @SYMTestExpectedResults Check that the values match the expected results as constrained by the fields that are excluded / included within the ViewDef.
       
    31 RUN_TEST_STEP 100 CntPerfTestServer ViewDefCustomFieldsTest c:\CntPerfTest\configs\cntperftest.ini AllLabelUid
       
    32 END_TESTCASE PIM-APPENG-CNTMODEL-CIT-HW-P81118
       
    33 
       
    34 START_TESTCASE PIM-APPENG-CNTMODEL-CIT-HW-P81119
       
    35 //! @file
       
    36 //! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-HW-P81119
       
    37 //! @SYMTestType CIT
       
    38 //! @SYMTestPriority Medium
       
    39 //! @SYMPREQ 811
       
    40 //! @SYMTestCaseDesc ViewDef tests where contact item is opened/read using ViewDef containing all possible combinations of 2 identical uids 
       
    41 //! @SYMTestActions Open and read a contact using the default ViewDefs. 
       
    42 //! then read and minimally read a contact using ViewDef X containing 2 identical existing uid.
       
    43 //! store the number of hidden/non-hidden and empty/non-empty fields after each read/open.
       
    44 //! repeat until all existing uids  are tested
       
    45 //! @SYMTestExpectedResults Check that adding two identical uids to a ViewDef causes a panic in debug mode
       
    46 RUN_TEST_STEP 100 CntPerfTestServer ViewDefCustomFieldsTest c:\CntPerfTest\configs\cntperftest.ini AllNewFields
       
    47 END_TESTCASE PIM-APPENG-CNTMODEL-CIT-HW-P81119
       
    48 
       
    49 START_TESTCASE PIM-APPENG-CNTMODEL-CIT-HW-P81120
       
    50 //! @file
       
    51 //! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-HW-P81120
       
    52 //! @SYMTestType CIT
       
    53 //! @SYMTestPriority Medium
       
    54 //! @SYMPREQ 811
       
    55 //! @SYMTestCaseDesc ViewDef All Uids with custom fields Test
       
    56 //! @SYMTestActions Testing KUidContactFieldMatchAll in ViewDef with custom labels/uids
       
    57 //! opens contact item
       
    58 //! and adds a custom uid to each field
       
    59 //! changes label to custom label	
       
    60 //! read a contact using the default ViewDefs. 
       
    61 //! then minimally read a contact using ViewDef X containing KUidContactFieldMatchAll  
       
    62 //! store the number of hidden/non-hidden and empty/non-empty fields after each read/open.
       
    63 //! repeat test 4 times so that X excludes/includes all possible combination of fields
       
    64 //! @SYMTestExpectedResults Check that the values match the expected results as constrained by the fields that are excluded / included within the ViewDef.
       
    65 RUN_TEST_STEP 100 CntPerfTestServer ViewDefCustomFieldsTest c:\CntPerfTest\configs\cntperftest.ini AllOnlyNew
       
    66 END_TESTCASE PIM-APPENG-CNTMODEL-CIT-HW-P81120
       
    67 
       
    68 
       
    69