|
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 // Cap_00000020_TESTWLISTBLISTURI.SCRIPT |
|
15 // Script file for ReadDeviceData & WriteDeviceData capability tests. |
|
16 // @internalAll |
|
17 // |
|
18 // |
|
19 |
|
20 LOAD_SUITE TestWListBListUriServer_Cap |
|
21 |
|
22 |
|
23 |
|
24 START_TESTCASE IWS-WLBL-CIT-POS-0038-0005 |
|
25 //ReadWriteCap_Add_Uri_WhiteList |
|
26 |
|
27 //! @file Cap_00000030_TestWListBListUri.script |
|
28 //! @SYMTestCaseID IWS-WLBL-CIT-POS-0038-0005 |
|
29 //! @SYMTestCaseDesc To add an uri to database, the application must have WriteDeviceData capability. |
|
30 //! @SYMFssID |
|
31 //! @SYMTestStatus Implemented |
|
32 //! @SYMTestPriority Critical |
|
33 //! @SYMTestActions Try to add an uri to database when application has ReadDeviceData & WriteDeviceData capability. |
|
34 //! @SYMTestExpectedResults The operation must pass. |
|
35 //! @SYMTestType CIT |
|
36 RUN_TEST_STEP 100 TestWListBListUriServer_Cap TestAddUriStep c:\testdata\ini\TestWListBListUriSuite.ini ReadWriteCap_Add_Uri_WhiteList_1 |
|
37 END_TESTCASE IWS-WLBL-CIT-POS-0038-0005 |
|
38 |
|
39 |
|
40 |
|
41 START_TESTCASE IWS-WLBL-CIT-POS-0037-0005 |
|
42 //ReadWriteCap_Domain_Match_Uri_WhiteList |
|
43 |
|
44 //! @file Cap_00000030_TestWListBListUri.script |
|
45 //! @SYMTestCaseID IWS-WLBL-CIT-POS-0037-0005 |
|
46 //! @SYMTestCaseDesc Shouldn't be able to search/match a specific uri when the application does not have ReadDeviceData |
|
47 //! @SYMFssID |
|
48 //! @SYMTestStatus Implemented |
|
49 //! @SYMTestPriority Critical |
|
50 //! @SYMTestActions Try to match a specific uri when application has ReadDeviceData & WriteDeviceData capability. |
|
51 //! @SYMTestExpectedResults It should pass. |
|
52 //! @SYMTestType CIT |
|
53 RUN_TEST_STEP 100 TestWListBListUriServer_Cap TestMatchUriStep c:\testdata\ini\TestWListBListUriSuite.ini ReadWriteCap_Domain_Match_Uri_WhiteList_1 |
|
54 END_TESTCASE IWS-WLBL-CIT-POS-0037-0005 |
|
55 |
|
56 |
|
57 START_TESTCASE IWS-WLBL-TLD-CIT-POS-0004-0004 |
|
58 //ReadWriteCap_tld_Uri_WhiteList |
|
59 |
|
60 //! @file Cap_00000030_TestWListBListUri.script |
|
61 //! @SYMTestCaseID IWS-WLBL-TLD-CIT-POS-0004-0004 |
|
62 //! @SYMTestCaseDesc Shouldn't be able to search/match a specific uri when the application does not have ReadDeviceData |
|
63 //! @SYMFssID |
|
64 //! @SYMTestStatus Implemented |
|
65 //! @SYMTestPriority Critical |
|
66 //! @SYMREQ REQ11666 |
|
67 //! @SYMTestActions Try to match a specific uri when application has ReadDeviceData & WriteDeviceData capability. |
|
68 //! @SYMTestExpectedResults It should pass. |
|
69 //! @SYMTestType CIT |
|
70 RUN_TEST_STEP 100 TestWListBListUriServer_Cap TestTldPolicyStep c:\testdata\ini\TestWListBListUriSuite.ini ReadWriteCap_Tld_Uri_WhiteList_1 |
|
71 END_TESTCASE IWS-WLBL-TLD-CIT-POS-0004-0004 |
|
72 |
|
73 |