1 // |
|
2 // Copyright (c) 2008-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 the License "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 |
|
18 PRINT Test SecurityUtils helper library |
|
19 |
|
20 LOAD_SUITE tsecurityutils |
|
21 |
|
22 |
|
23 //! @SYMTestCaseID SEC-SECURITYUTILS-0001 |
|
24 //! @SYMTestCaseDesc Check public file path |
|
25 START_TESTCASE SEC-SECURITYUTILS-0001 |
|
26 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini public_file_path |
|
27 END_TESTCASE SEC-SECURITYUTILS-0001 |
|
28 |
|
29 //! @SYMTestCaseID SEC-SECURITYUTILS-0002 |
|
30 //! @SYMTestCaseDesc Check path with wildcards |
|
31 START_TESTCASE SEC-SECURITYUTILS-0002 |
|
32 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini path_wildcards |
|
33 END_TESTCASE SEC-SECURITYUTILS-0002 |
|
34 |
|
35 //! @SYMTestCaseID SEC-SECURITYUTILS-0003 |
|
36 //! @SYMTestCaseDesc Check relative paths |
|
37 START_TESTCASE SEC-SECURITYUTILS-0003 |
|
38 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini path_relative1 |
|
39 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini path_relative2 |
|
40 END_TESTCASE SEC-SECURITYUTILS-0003 |
|
41 |
|
42 //! @SYMTestCaseID SEC-SECURITYUTILS-0004 |
|
43 //! @SYMTestCaseDesc Check private paths |
|
44 START_TESTCASE SEC-SECURITYUTILS-0004 |
|
45 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini private_path_no_subdir1 |
|
46 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini private_path_no_subdir2 |
|
47 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini private_path_no_sid_subdir1 |
|
48 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini private_path_no_sid_subdir2 |
|
49 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini private_path_no_sid_subdir3 |
|
50 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini private_path_other_sid1 |
|
51 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini private_path_other_sid2 |
|
52 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini private_path_other_sid3 |
|
53 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini private_path_other_sid_import1 |
|
54 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini private_path_other_sid_import2 |
|
55 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini private_path_my_sid1 |
|
56 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini private_path_my_sid2 |
|
57 END_TESTCASE SEC-SECURITYUTILS-0004 |
|
58 |
|
59 //! @SYMTestCaseID SEC-SECURITYUTILS-0005 |
|
60 //! @SYMTestCaseDesc Check \sys and \resource paths |
|
61 START_TESTCASE SEC-SECURITYUTILS-0005 |
|
62 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini sys_path1 |
|
63 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini sys_path2 |
|
64 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini sys_path3 |
|
65 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini resource_path1 |
|
66 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini resource_path2 |
|
67 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini resource_path3 |
|
68 END_TESTCASE SEC-SECURITYUTILS-0005 |
|
69 |
|
70 //! @SYMTestCaseID SEC-SECURITYUTILS-0006 |
|
71 //! @SYMTestCaseDesc Check empty path |
|
72 START_TESTCASE SEC-SECURITYUTILS-0006 |
|
73 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini empty_path1 |
|
74 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini empty_path2 |
|
75 END_TESTCASE SEC-SECURITYUTILS-0006 |
|
76 |
|
77 //! @SYMTestCaseID SEC-SECURITYUTILS-0007 |
|
78 //! @SYMTestCaseDesc Check malformed path |
|
79 START_TESTCASE SEC-SECURITYUTILS-0007 |
|
80 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini malformed_path1 |
|
81 RUN_TEST_STEP 100 tsecurityutils SecurityUtils z:\tsecurityutils\tsecurityutils.ini malformed_path2 |
|
82 END_TESTCASE SEC-SECURITYUTILS-0006 |
|