|
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Script file for ReadDeviceData capability tests |
|
15 // @internalAll |
|
16 // |
|
17 // |
|
18 |
|
19 LOAD_SUITE TestWListBListUriServer_Cap |
|
20 |
|
21 START_TESTCASE IWS-WLBL-CIT-NEG-0030-0005 |
|
22 //ReadCap_Add_Uri_WhiteList |
|
23 |
|
24 //! @file Cap_00000000_TestWListBListUri.script |
|
25 //! @SYMTestCaseID IWS-WLBL-CIT-NEG-0030-0005 |
|
26 //! @SYMTestCaseDesc Shouldn't be able to add an uri to database when the application does not have WriteDeviceData |
|
27 //! @SYMFssID |
|
28 //! @SYMTestStatus Released |
|
29 //! @SYMTestPriority Critical |
|
30 //! @SYMTestActions Try to add an uri to database when application has ReadDeviceData capability. |
|
31 //! @SYMTestExpectedResults It should fail with KErrPermissionDenied error as expected. |
|
32 //! @SYMTestType CIT |
|
33 RUN_TEST_STEP 100 TestWListBListUriServer_Cap TestAddUriStep c:\testdata\ini\TestWListBListUriSuite.ini ReadCap_Add_Uri_WhiteList_1 |
|
34 |
|
35 END_TESTCASE IWS-WLBL-CIT-NEG-0030-0005 |
|
36 |
|
37 |
|
38 START_TESTCASE IWS-WLBL-CIT-NEG-0030-0006 |
|
39 //ReadCap_Remove_ReadWrite_Uri_WhiteList |
|
40 |
|
41 //! @file Cap_00000000_TestWListBListUri.script |
|
42 //! @SYMTestCaseID IWS-WLBL-CIT-NEG-0030-0006 |
|
43 //! @SYMTestCaseDesc Shouldn't be able to remove an uri from database when the application does not have WriteDeviceData |
|
44 //! @SYMFssID |
|
45 //! @SYMTestStatus Released |
|
46 //! @SYMTestPriority Critical |
|
47 //! @SYMTestActions Try to remove an uri from database when application has ReadDeviceData capability. |
|
48 //! @SYMTestExpectedResults It should fail with KErrPermissionDenied error as expected. |
|
49 //! @SYMTestType CIT |
|
50 RUN_TEST_STEP 100 TestWListBListUriServer_Cap TestRemoveUriStep c:\testdata\ini\TestWListBListUriSuite.ini ReadCap_Remove_ReadWrite_Uri_WhiteList_1 |
|
51 END_TESTCASE IWS-WLBL-CIT-NEG-0030-0006 |
|
52 |
|
53 |
|
54 START_TESTCASE IWS-WLBL-CIT-NEG-0030-0007 |
|
55 //ReadCap_Update_Uri_ListType |
|
56 |
|
57 //! @file Cap_00000000_TestWListBListUri.script |
|
58 //! @SYMTestCaseID IWS-WLBL-CIT-NEG-0030-0007 |
|
59 //! @SYMTestCaseDesc Shouldn't be able to update the listtype of an uri when the application does not have WriteDeviceData |
|
60 //! @SYMFssID |
|
61 //! @SYMTestStatus Released |
|
62 //! @SYMTestPriority Critical |
|
63 //! @SYMTestActions Try to update the listtype of an uri when application has ReadDeviceData capability. |
|
64 //! @SYMTestExpectedResults It should fail with KErrPermissionDenied error as expected. |
|
65 //! @SYMTestType CIT |
|
66 RUN_TEST_STEP 100 TestWListBListUriServer_Cap TestUpdateUriListTypeStep c:\testdata\ini\TestWListBListUriSuite.ini ReadCap_Update_Uri_ListType_1 |
|
67 END_TESTCASE IWS-WLBL-CIT-NEG-0030-0007 |
|
68 |
|
69 |
|
70 START_TESTCASE IWS-WLBL-CIT-NEG-0030-0008 |
|
71 //ReadCap_Update_Uri_FavouriteName |
|
72 |
|
73 //! @file Cap_00000000_TestWListBListUri.script |
|
74 //! @SYMTestCaseID IWS-WLBL-CIT-NEG-0030-0008 |
|
75 //! @SYMTestCaseDesc Shouldn't be able to update the favourite name of an uri when the application does not have WriteDeviceData |
|
76 //! @SYMFssID |
|
77 //! @SYMTestStatus Released |
|
78 //! @SYMTestPriority Critical |
|
79 //! @SYMTestActions Try to update the favourite name of an uri when application has ReadDeviceData capability. |
|
80 //! @SYMTestExpectedResults It should fail with KErrPermissionDenied error as expected. |
|
81 //! @SYMTestType CIT |
|
82 RUN_TEST_STEP 100 TestWListBListUriServer_Cap TestUpdateUriFavNameStep c:\testdata\ini\TestWListBListUriSuite.ini ReadCap_Update_Uri_FavouriteName_1 |
|
83 END_TESTCASE IWS-WLBL-CIT-NEG-0030-0008 |
|
84 |
|
85 |
|
86 START_TESTCASE IWS-WLBL-CIT-POS-0037-0001 |
|
87 //ReadCap_Domain_Match_Uri_WhiteList |
|
88 |
|
89 //! @file Cap_00000000_TestWListBListUri.script |
|
90 //! @SYMTestCaseID IWS-WLBL-CIT-POS-0037-0001 |
|
91 //! @SYMTestCaseDesc To search/match a specific uri, the application must have ReadDeviceData capability. |
|
92 //! @SYMFssID |
|
93 //! @SYMTestStatus Released |
|
94 //! @SYMTestPriority Critical |
|
95 //! @SYMTestActions Try to match a specific uri when application has ReadDeviceData capability. |
|
96 //! @SYMTestExpectedResults The operation must pass. |
|
97 //! @SYMTestType CIT |
|
98 RUN_TEST_STEP 100 TestWListBListUriServer_Cap TestMatchUriStep c:\testdata\ini\TestWListBListUriSuite.ini ReadCap_Domain_Match_Uri_WhiteList_1 |
|
99 END_TESTCASE IWS-WLBL-CIT-POS-0037-0001 |
|
100 |
|
101 |
|
102 START_TESTCASE IWS-WLBL-TLD-CIT-NEG-0004-0002 |
|
103 //ReadCap_Query_Tld_WhiteList |
|
104 |
|
105 //! @file Cap_00000000_TestWListBListUri.script |
|
106 //! @SYMTestCaseID IWS-WLBL-TLD-CIT-NEG-0004-0002 |
|
107 //! @SYMTestCaseDesc To search/match a specific uri, the application must have ReadDeviceData capability. |
|
108 //! @SYMFssID |
|
109 //! @SYMTestStatus Implemented |
|
110 //! @SYMREQ REQ11666 |
|
111 //! @SYMTestPriority Critical |
|
112 //! @SYMTestActions Try to match a specific uri when application has ReadDeviceData capability. |
|
113 //! @SYMTestExpectedResults The operation must pass. |
|
114 //! @SYMTestType CIT |
|
115 RUN_TEST_STEP 100 TestWListBListUriServer_Cap TestTldPolicyStep c:\testdata\ini\TestWListBListUriSuite.ini ReadCap_Tld_query_Uri_WhiteList_1 |
|
116 END_TESTCASE IWS-WLBL-TLD-CIT-NEG-0004-0002 |
|
117 |
|
118 |
|
119 START_TESTCASE IWS-WLBL-CIT-POS-0037-0002 |
|
120 //ReadCap_Get_All_WhiteList_Uris |
|
121 |
|
122 //! @file Cap_00000000_TestWListBListUri.script |
|
123 //! @SYMTestCaseID IWS-WLBL-CIT-POS-0037-0002 |
|
124 //! @SYMTestCaseDesc To find/match uris using service-type/list-type, the application must have ReadDeviceData capability |
|
125 //! @SYMFssID |
|
126 //! @SYMTestStatus Released |
|
127 //! @SYMTestPriority Critical |
|
128 //! @SYMTestActions Try to find/match uris using service-type/list-type when application has ReadDeviceData capability. |
|
129 //! @SYMTestExpectedResults The operation must pass. |
|
130 //! @SYMTestType CIT |
|
131 RUN_TEST_STEP 100 TestWListBListUriServer_Cap TestMatchUriTypeStep c:\testdata\ini\TestWListBListUriSuite.ini ReadCap_Get_All_WhiteList_Uris_1 |
|
132 END_TESTCASE IWS-WLBL-CIT-POS-0037-0002 |
|
133 |
|
134 |
|
135 START_TESTCASE IWS-WLBL-CIT-POS-0037-0003 |
|
136 //ReadCap_Get_ListType_WhiteListed_Uri |
|
137 |
|
138 //! @file Cap_00000000_TestWListBListUri.script |
|
139 //! @SYMTestCaseID IWS-WLBL-CIT-POS-0037-0003 |
|
140 //! @SYMTestCaseDesc It doesn't require any capability to find the list-type of a specific uri. |
|
141 //! @SYMFssID |
|
142 //! @SYMTestStatus Released |
|
143 //! @SYMTestPriority Critical |
|
144 //! @SYMTestActions Try to find the list-type of a specific uri when application has ReadDeviceData capability. |
|
145 //! @SYMTestExpectedResults The operation must pass. |
|
146 //! @SYMTestType CIT |
|
147 RUN_TEST_STEP 100 TestWListBListUriServer_Cap TestUriListTypeStep c:\testdata\ini\TestWListBListUriSuite.ini ReadCap_Get_ListType_WhiteListed_Uri_1 |
|
148 END_TESTCASE IWS-WLBL-CIT-POS-0037-0003 |
|
149 |
|
150 |
|
151 START_TESTCASE IWS-WLBL-CIT-POS-0037-0004 |
|
152 //ReadCap_Find_Uris_Count |
|
153 |
|
154 //! @file Cap_00000000_TestWListBListUri.script |
|
155 //! @SYMTestCaseID IWS-WLBL-CIT-POS-0037-0004 |
|
156 //! @SYMTestCaseDesc It doesn't require any capability to find the count of matching uris using service-type/list-type. |
|
157 //! @SYMFssID |
|
158 //! @SYMTestStatus Released |
|
159 //! @SYMTestPriority Critical |
|
160 //! @SYMTestActions Try to find the count of matching uris using service-type/list-type when application has ReadDeviceData capability. |
|
161 //! @SYMTestExpectedResults The operation must pass. |
|
162 //! @SYMTestType CIT |
|
163 RUN_TEST_STEP 100 TestWListBListUriServer_Cap TestUriCountStep c:\testdata\ini\TestWListBListUriSuite.ini ReadCap_Find_Uris_Count_1 |
|
164 END_TESTCASE IWS-WLBL-CIT-POS-0037-0004 |
|
165 |
|
166 |
|
167 |
|
168 |
|
169 |
|
170 |
|
171 |
|
172 |
|
173 |