|
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-P81112 |
|
20 //! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81112 |
|
21 //! @SYMTestType CIT |
|
22 //! @SYMTestPriority Low |
|
23 //! @SYMPREQ 811 |
|
24 //! @SYMTestCaseDesc Custom Uids Test |
|
25 //! @SYMTestActions opens contact item |
|
26 //! adds a custom uid to each field |
|
27 //! then checks if uid was stored correctly |
|
28 //! repeat test for existing uids |
|
29 //! @SYMTestExpectedResults The uid that is retrieved should match the stored uid |
|
30 RUN_TEST_STEP 100 CntPerfTestServer CustomLabelUid c:\CntPerfTest\configs\cntperftest.ini Uids |
|
31 END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81112 |
|
32 |
|
33 START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81113 |
|
34 //! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81113 |
|
35 //! @SYMTestType CIT |
|
36 //! @SYMTestPriority Low |
|
37 //! @SYMPREQ 811 |
|
38 //! @SYMTestCaseDesc Custom Labels Test |
|
39 //! @SYMTestActions opens contact item |
|
40 //! changes the label of each field to a custom label |
|
41 //! checks if label was stored correctly |
|
42 //! @SYMTestExpectedResults The label that is retrieved should match the stored label |
|
43 RUN_TEST_STEP 100 CntPerfTestServer CustomLabelUid c:\CntPerfTest\configs\cntperftest.ini Labels |
|
44 END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81113 |
|
45 |
|
46 START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81114 |
|
47 //! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81114 |
|
48 //! @SYMTestType CIT |
|
49 //! @SYMTestPriority Low |
|
50 //! @SYMPREQ 811 |
|
51 //! @SYMTestCaseDesc Custom Uids and Labels Test |
|
52 //! @SYMTestActions opens contact item |
|
53 //! and adds a custom uid to each field |
|
54 //! changes label to custom label |
|
55 //! then checks if uid and label were stored correctly |
|
56 //! |
|
57 //! opens contact item and adds ten new fields |
|
58 //! adds a custom uid to each field(new and old) |
|
59 //! change label to custom label |
|
60 //! check if uid and label were stored correctly. |
|
61 //! also checks both uids of new fields |
|
62 //! @SYMTestExpectedResults The labels and uids that are retrieved should match the stored labels and uids |
|
63 RUN_TEST_STEP 100 CntPerfTestServer CustomLabelUid c:\CntPerfTest\configs\cntperftest.ini LabelsUids |
|
64 RUN_TEST_STEP 100 CntPerfTestServer CustomLabelUid c:\CntPerfTest\configs\cntperftest.ini LabelsUidsPlus |
|
65 END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81114 |
|
66 |
|
67 START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81168 |
|
68 //! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81168 |
|
69 //! @SYMTestType CIT |
|
70 //! @SYMTestPriority High |
|
71 //! @SYMFssID <App-Engines>/<CntModel>/ ARC.4 |
|
72 //! @SYMTestCaseDesc Duplicate uids test |
|
73 //! @SYMTestActions |
|
74 //! opens contact item |
|
75 //! add two identical uids to each field |
|
76 //! alternating between custom and existing uids, |
|
77 //! commit contact |
|
78 //! @SYMTestExpectedResults |
|
79 //! Contact fields should contain custom or existing uids, |
|
80 //! it is possible to update a contact item with duplicate uids for all fields |
|
81 RUN_TEST_STEP 100 CntPerfTestServer CustomLabelUid c:\CntPerfTest\configs\cntperftest.ini DuplicateUids |
|
82 END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81168 |
|
83 |
|
84 START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81169 |
|
85 //! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81169 |
|
86 //! @SYMTestType CIT |
|
87 //! @SYMTestPriority High |
|
88 //! @SYMFssID <App-Engines>/<CntModel>/ ARC.4 |
|
89 //! @SYMTestCaseDesc Duplicate existing uids test |
|
90 //! @SYMTestActions |
|
91 //! Add new contact |
|
92 //! Add new uid to each field that already contains that uid |
|
93 //! populate contact |
|
94 //! set custom labels |
|
95 //! @SYMTestExpectedResults |
|
96 //! check that contact was populated correctly, |
|
97 //! check that field labels were updated correctly and no errors were generated, |
|
98 //! It is possible to update a contact with duplicated existing uids, |
|
99 //! without compromising the integrity of the contact or generating any errors |
|
100 RUN_TEST_STEP 100 CntPerfTestServer CustomLabelUid c:\CntPerfTest\configs\cntperftest.ini DuplicateExistingUids |
|
101 END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81169 |
|
102 |
|
103 START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81170 |
|
104 //! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81170 |
|
105 //! @SYMTestType CIT |
|
106 //! @SYMTestPriority High |
|
107 //! @SYMFssID <App-Engines>/<CntModel>/ ARC.4 |
|
108 //! @SYMTestCaseDesc Unique existing uids test |
|
109 //! @SYMTestActions |
|
110 //! Add new contact |
|
111 //! Add existing uid to each field that doesnt already contain that uid |
|
112 //! populate contact |
|
113 //! set custom labels |
|
114 //! @SYMTestExpectedResults |
|
115 //! check that contact was populated correctly, |
|
116 //! check that field labels were updated correctly and check that all fields contain the additional uid, |
|
117 //! It is possible to add all existing uids to each field, |
|
118 //! that doesn't contain that uid, in a contact, without compromising the integrity of the contact |
|
119 RUN_TEST_STEP 100 CntPerfTestServer CustomLabelUid c:\CntPerfTest\configs\cntperftest.ini UniqueExistingUids |
|
120 END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81170 |
|
121 |
|
122 |
|
123 |
|
124 |