|
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 none capability tests |
|
15 // @internalAll |
|
16 // |
|
17 // |
|
18 |
|
19 LOAD_SUITE TestWListBListUriServer_Cap |
|
20 |
|
21 START_TESTCASE IWS-WLBL-CIT-NEG-0030-0001 |
|
22 //NoneCap_Add_Uri_WhiteList |
|
23 |
|
24 //! @file Cap_00000000_TestWListBListUri.script |
|
25 //! @SYMTestCaseID IWS-WLBL-CIT-NEG-0030-0001 |
|
26 //! @SYMTestCaseDesc Shouldn't be able to add an uri to database when the application does not have WriteDeviceData |
|
27 //! @SYMFssID |
|
28 //! @SYMTestStatus Implemented |
|
29 //! @SYMTestPriority Critical |
|
30 //! @SYMTestActions Try to add an uri to database when application has none of the capabilities |
|
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 NoneCap_Add_Uri_WhiteList_1 |
|
34 END_TESTCASE IWS-WLBL-CIT-NEG-0030-0001 |
|
35 |
|
36 |
|
37 START_TESTCASE IWS-WLBL-CIT-NEG-0030-0002 |
|
38 //NoneCap_Remove_ReadWrite_Uri_WhiteList |
|
39 |
|
40 //! @file Cap_00000000_TestWListBListUri.script |
|
41 //! @SYMTestCaseID IWS-WLBL-CIT-NEG-0030-0002 |
|
42 //! @SYMTestCaseDesc Shouldn't be able to remove an uri from database when the application does not have WriteDeviceData |
|
43 //! @SYMFssID |
|
44 //! @SYMTestStatus Implemented |
|
45 //! @SYMTestPriority Critical |
|
46 //! @SYMTestActions Try to remove an uri from database when application has none of the capabilities |
|
47 //! @SYMTestExpectedResults It should fail with KErrPermissionDenied error as expected. |
|
48 //! @SYMTestType CIT |
|
49 RUN_TEST_STEP 100 TestWListBListUriServer_Cap TestRemoveUriStep c:\testdata\ini\TestWListBListUriSuite.ini NoneCap_Remove_ReadWrite_Uri_WhiteList_1 |
|
50 END_TESTCASE IWS-WLBL-CIT-NEG-0030-0002 |
|
51 |
|
52 |
|
53 START_TESTCASE IWS-WLBL-CIT-NEG-0030-0003 |
|
54 //NoneCap_Update_Uri_ListType |
|
55 |
|
56 //! @file Cap_00000000_TestWListBListUri.script |
|
57 //! @SYMTestCaseID IWS-WLBL-CIT-NEG-0030-0003 |
|
58 //! @SYMTestCaseDesc Shouldn't be able to update the listtype of an uri when the application does not have WriteDeviceData |
|
59 //! @SYMFssID |
|
60 //! @SYMTestStatus Implemented |
|
61 //! @SYMTestPriority Critical |
|
62 //! @SYMTestActions Try to update the listtype of an uri when application has none of the capabilities |
|
63 //! @SYMTestExpectedResults It should fail with KErrPermissionDenied error as expected. |
|
64 //! @SYMTestType CIT |
|
65 RUN_TEST_STEP 100 TestWListBListUriServer_Cap TestUpdateUriListTypeStep c:\testdata\ini\TestWListBListUriSuite.ini NoneCap_Update_Uri_ListType_1 |
|
66 END_TESTCASE IWS-WLBL-CIT-NEG-0030-0003 |
|
67 |
|
68 |
|
69 START_TESTCASE IWS-WLBL-CIT-NEG-0030-0004 |
|
70 //NoneCap_Update_Uri_FavouriteName |
|
71 |
|
72 //! @file Cap_00000000_TestWListBListUri.script |
|
73 //! @SYMTestCaseID IWS-WLBL-CIT-NEG-0030-0004 |
|
74 //! @SYMTestCaseDesc Shouldn't be able to update the favourite name of an uri when the application does not have WriteDeviceData |
|
75 //! @SYMFssID |
|
76 //! @SYMTestStatus Implemented |
|
77 //! @SYMTestPriority Critical |
|
78 //! @SYMTestActions Try to update the favourite name of an uri when application has none of the capabilities |
|
79 //! @SYMTestExpectedResults It should fail with KErrPermissionDenied error as expected. |
|
80 //! @SYMTestType CIT |
|
81 RUN_TEST_STEP 100 TestWListBListUriServer_Cap TestUpdateUriFavNameStep c:\testdata\ini\TestWListBListUriSuite.ini NoneCap_Update_Uri_FavouriteName_1 |
|
82 END_TESTCASE IWS-WLBL-CIT-NEG-0030-0004 |
|
83 |
|
84 |
|
85 START_TESTCASE IWS-WLBL-CIT-NEG-0029-0001 |
|
86 //NoneCap_Domain_Match_Uri_WhiteList |
|
87 |
|
88 //! @file Cap_00000000_TestWListBListUri.script |
|
89 //! @SYMTestCaseID IWS-WLBL-CIT-NEG-0029-0001 |
|
90 //! @SYMTestCaseDesc Shouldn't be able to search/match a specific uri when the application does not have ReadDeviceData |
|
91 //! @SYMFssID |
|
92 //! @SYMTestStatus Implemented |
|
93 //! @SYMTestPriority Critical |
|
94 //! @SYMTestActions Try to match a specific uri when application has none of the capabilities |
|
95 //! @SYMTestExpectedResults It should fail with KErrPermissionDenied error as expected. |
|
96 //! @SYMTestType CIT |
|
97 RUN_TEST_STEP 100 TestWListBListUriServer_Cap TestMatchUriStep c:\testdata\ini\TestWListBListUriSuite.ini NoneCap_Domain_Match_Uri_WhiteList_1 |
|
98 |
|
99 END_TESTCASE IWS-WLBL-CIT-NEG-0029-0001 |
|
100 |
|
101 START_TESTCASE IWS-WLBL-TLD-CIT-NEG-0004-0001 |
|
102 //NoneCap_Tld_Query_Uri_WhiteList |
|
103 |
|
104 //! @SYMTestCaseID IWS-WLBL-TLD-CIT-NEG-0004-0001 |
|
105 //! @SYMTestCaseDesc Test the ReadDeviceCapability of the application. |
|
106 //! @SYMTestPriority Critical |
|
107 //! @SYMTestActions Client not having read device capability calls QueryTldInfoL( ) with required parameters. |
|
108 //! @SYMTestExpectedResults Operation is not allowed to perform.It should fail with KErrPermissionDenied error as expected. |
|
109 //! @SYMTestType CIT |
|
110 //! @SYMREQ REQ11666 |
|
111 //! @SYMTestStatus 1. Under Development |
|
112 |
|
113 RUN_TEST_STEP 100 TestWListBListUriServer_Cap TestTldPolicyStep c:\testdata\ini\TestWListBListUriSuite.ini NoneCap_Tld_Uri_WhiteList_1 |
|
114 |
|
115 END_TESTCASE IWS-WLBL-TLD-CIT-NEG-0004-0001 |
|
116 |
|
117 |
|
118 START_TESTCASE IWS-WLBL-CIT-NEG-0029-0002 |
|
119 //NoneCap_Get_All_WhiteList_Uris |
|
120 |
|
121 //! @file Cap_00000000_TestWListBListUri.script |
|
122 //! @SYMTestCaseID IWS-WLBL-CIT-NEG-0029-0002 |
|
123 //! @SYMTestCaseDesc Shouldn't be able to find/match uris using service-type/list-type when the application does not have ReadDeviceData |
|
124 //! @SYMFssID |
|
125 //! @SYMTestStatus Implemented |
|
126 //! @SYMTestPriority Critical |
|
127 //! @SYMTestActions Try to find/match uris using service-type/list-type when application has none of the capabilities |
|
128 //! @SYMTestExpectedResults It should fail with KErrPermissionDenied error as expected. |
|
129 //! @SYMTestType CIT |
|
130 RUN_TEST_STEP 100 TestWListBListUriServer_Cap TestMatchUriTypeStep c:\testdata\ini\TestWListBListUriSuite.ini NoneCap_Get_All_WhiteList_Uris_1 |
|
131 END_TESTCASE IWS-WLBL-CIT-NEG-0029-0002 |
|
132 |
|
133 |
|
134 START_TESTCASE IWS-WLBL-CIT-NEG-0029-0003 |
|
135 //NoneCap_Get_ListType_WhiteListed_Uri |
|
136 //! @file Cap_00000000_TestWListBListUri.script |
|
137 //! @SYMTestCaseID IWS-WLBL-CIT-NEG-0029-0003 |
|
138 //! @SYMTestCaseDesc It doesn't require any capability to find the list-type of a specific uri. |
|
139 //! @SYMFssID |
|
140 //! @SYMTestStatus Implemented |
|
141 //! @SYMTestPriority Critical |
|
142 //! @SYMTestActions Try to find the list-type of a specific uri when application has none of the capabilities |
|
143 //! @SYMTestExpectedResults The operation must pass. |
|
144 //! @SYMTestType CIT |
|
145 RUN_TEST_STEP 100 TestWListBListUriServer_Cap TestUriListTypeStep c:\testdata\ini\TestWListBListUriSuite.ini NoneCap_Get_ListType_WhiteListed_Uri_1 |
|
146 END_TESTCASE IWS-WLBL-CIT-NEG-0029-0003 |
|
147 |
|
148 |
|
149 START_TESTCASE IWS-WLBL-CIT-NEG-0029-0004 |
|
150 //NoneCap_Find_Uris_Count |
|
151 |
|
152 //! @file Cap_00000000_TestWListBListUri.script |
|
153 //! @SYMTestCaseID IWS-WLBL-CIT-NEG-0029-0004 |
|
154 //! @SYMTestCaseDesc It doesn't require any capability to find the count of matching uris using service-type/list-type. |
|
155 //! @SYMFssID |
|
156 //! @SYMTestStatus Implemented |
|
157 //! @SYMTestPriority Critical |
|
158 //! @SYMTestActions Try to find the count of matching uris using service-type/list-type when application has none of the capabilities |
|
159 //! @SYMTestExpectedResults The operation must pass. |
|
160 //! @SYMTestType CIT |
|
161 RUN_TEST_STEP 100 TestWListBListUriServer_Cap TestUriCountStep c:\testdata\ini\TestWListBListUriSuite.ini NoneCap_Find_Uris_Count_1 |
|
162 END_TESTCASE IWS-WLBL-CIT-NEG-0029-0004 |
|
163 |
|
164 |
|
165 |
|
166 |
|
167 |
|
168 |
|
169 |
|
170 |
|
171 |