author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 31 Aug 2010 17:00:08 +0300 | |
branch | RCL_3 |
changeset 95 | 641f389e9157 |
parent 32 | 3490edffc34e |
child 102 | deec7e509f66 |
permissions | -rw-r--r-- |
15
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
1 |
// |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
2 |
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
3 |
// All rights reserved. |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
4 |
// This component and the accompanying materials are made available |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
5 |
// under the terms of the License "Eclipse Public License v1.0" |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
6 |
// which accompanies this distribution, and is available |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
7 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
8 |
// |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
9 |
// Initial Contributors: |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
10 |
// Nokia Corporation - initial contribution. |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
11 |
// |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
12 |
// Contributors: |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
13 |
// |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
14 |
// Description: |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
15 |
// |
32
3490edffc34e
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
16 |
|
15
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
17 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
18 |
LOAD_SUITE tcaf |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
19 |
LOAD_SUITE RTAUtils |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
20 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
21 |
RUN_UTILS Delete c:\tcaf\testdata\sample.content |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
22 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
23 |
START_TESTCASE SEC-CAF-MAN-0001 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
24 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
25 |
//! @SYMTestCaseID SEC-CAF-MAN-0001 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
26 |
//! @SYMTestCaseDesc Create a sample Drm archive |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
27 |
//! (TCAF_CreateArchive) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
28 |
//! @SYMPREQ REQ3678 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
29 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
30 |
//! @SYMTestPriority Normal |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
31 |
//! @SYMTestActions Constructs a DRM archive from the content and rights xml files provided |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
32 |
//! @SYMTestExpectedResults A .contentrights file is produced |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
33 |
//! @SYMTestType UT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
34 |
RUN_TEST_STEP 100 RTAUtils CreateDrmArchive c:\tcaf\managerstep.ini CreateDrmArchive |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
35 |
END_TESTCASE SEC-CAF-MAN-0001 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
36 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
37 |
START_TESTCASE SEC-CAF-MAN-0002 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
38 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
39 |
//! @SYMTestCaseID SEC-CAF-MAN-0002 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
40 |
//! @SYMTestCaseDesc Plaintext Copy File not found |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
41 |
//! (PlainText_CopyFile_Not_Found) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
42 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
43 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
44 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
45 |
//! @SYMTestActions Attempt to copy an file that does not exist, should return expected error code |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
46 |
//! @SYMTestExpectedResults returns expected error code |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
47 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
48 |
RUN_TEST_STEP 100 tcaf CAFCopyFileStep c:\tcaf\managerstep.ini PlainTextCopyFileNotFound |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
49 |
END_TESTCASE SEC-CAF-MAN-0002 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
50 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
51 |
START_TESTCASE SEC-CAF-MAN-0003 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
52 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
53 |
//! @SYMTestCaseID SEC-CAF-MAN-0003 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
54 |
//! @SYMTestCaseDesc Plaintext Copy File |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
55 |
//! (PlainText_CopyFile) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
56 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
57 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
58 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
59 |
//! @SYMTestActions Attempt to copy an unprotected file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
60 |
//! @SYMTestExpectedResults File copied sucessfully |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
61 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
62 |
RUN_TEST_STEP 100 tcaf CAFCopyFileStep c:\tcaf\managerstep.ini PlainTextCopyFileOk |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
63 |
END_TESTCASE SEC-CAF-MAN-0003 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
64 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
65 |
START_TESTCASE SEC-CAF-MAN-0004 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
66 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
67 |
//! @SYMTestCaseID SEC-CAF-MAN-0004 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
68 |
//! @SYMTestCaseDesc Rename a file in the same directory using CAF |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
69 |
//! (PlainText_RenameFile_Ok) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
70 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
71 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
72 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
73 |
//! @SYMTestActions Use CAF to try and rename a file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
74 |
//! @SYMTestExpectedResults Rename should return KErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
75 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
76 |
RUN_TEST_STEP 100 tcaf CAFRenameFileStep c:\tcaf\managerstep.ini PlainTextRenameFileOk |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
77 |
END_TESTCASE SEC-CAF-MAN-0004 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
78 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
79 |
START_TESTCASE SEC-CAF-MAN-0005 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
80 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
81 |
//! @SYMTestCaseID SEC-CAF-MAN-0005 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
82 |
//! @SYMTestCaseDesc Rename a non existant file using caf |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
83 |
//! (PlainText_RenameFile_Fail) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
84 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
85 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
86 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
87 |
//! @SYMTestActions Use CAF to try and rename a file that does not exist |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
88 |
//! @SYMTestExpectedResults Rename should return KErrNotFound |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
89 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
90 |
RUN_TEST_STEP 100 tcaf CAFRenameFileStep c:\tcaf\managerstep.ini PlainTextRenameFileNotFound |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
91 |
END_TESTCASE SEC-CAF-MAN-0005 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
92 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
93 |
START_TESTCASE SEC-CAF-MAN-0006 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
94 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
95 |
//! @SYMTestCaseID SEC-CAF-MAN-0006 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
96 |
//! @SYMTestCaseDesc Move file across different drives using CAF |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
97 |
//! (PlainText_DifferentDrivesSameNameRenameFile_Ok) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
98 |
//! @SYMREQ REQ3691, INC106214 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
99 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
100 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
101 |
//! @SYMTestActions Use CAF to try and move a file to a different drive |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
102 |
//! @SYMTestExpectedResults Rename should return KErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
103 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
104 |
RUN_TEST_STEP 100 tcaf CAFRenameFileStep c:\tcaf\managerstep.ini DifferentDrivesSameNameRenameFileOk |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
105 |
END_TESTCASE SEC-CAF-MAN-0006 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
106 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
107 |
START_TESTCASE SEC-CAF-MAN-0007 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
108 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
109 |
//! @SYMTestCaseID SEC-CAF-MAN-0007 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
110 |
//! @SYMTestCaseDesc Move file across different drives using CAF |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
111 |
//! (PlainText_DifferentDrivesDifferentNameRenameFile_Ok) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
112 |
//! @SYMREQ REQ3691, INC106214 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
113 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
114 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
115 |
//! @SYMTestActions Use CAF to try and move a file to a different drive while changing the file name |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
116 |
//! @SYMTestExpectedResults Rename should return KErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
117 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
118 |
RUN_TEST_STEP 100 tcaf CAFRenameFileStep c:\tcaf\managerstep.ini DifferentDrivesDifferentNameRenameFileOk |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
119 |
END_TESTCASE SEC-CAF-MAN-0007 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
120 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
121 |
START_TESTCASE SEC-CAF-MAN-0008 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
122 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
123 |
//! @SYMTestCaseID SEC-CAF-MAN-0008 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
124 |
//! @SYMTestCaseDesc Delete a plain text file using CAF |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
125 |
//! (PlainText_Delete_Ok) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
126 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
127 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
128 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
129 |
//! @SYMTestActions Use CAF to delete the file that was copied in the previous test |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
130 |
//! @SYMTestExpectedResults Delete should return KErrNone when the file is deleted |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
131 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
132 |
RUN_TEST_STEP 100 tcaf CAFDeleteStep c:\tcaf\managerstep.ini PlainTextDeleteOk |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
133 |
END_TESTCASE SEC-CAF-MAN-0008 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
134 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
135 |
START_TESTCASE SEC-CAF-MAN-0009 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
136 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
137 |
//! @SYMTestCaseID SEC-CAF-MAN-0009 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
138 |
//! @SYMTestCaseDesc Delete a non existant file using caf |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
139 |
//! (PlainText_Delete_Fail) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
140 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
141 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
142 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
143 |
//! @SYMTestActions Use CAF to try and delete a file that does not exist |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
144 |
//! @SYMTestExpectedResults Delete should return KErrNotFound |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
145 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
146 |
RUN_TEST_STEP 100 tcaf CAFDeleteStep c:\tcaf\managerstep.ini PlainTextDeleteFail |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
147 |
END_TESTCASE SEC-CAF-MAN-0009 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
148 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
149 |
START_TESTCASE SEC-CAF-MAN-0010 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
150 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
151 |
//! @SYMTestCaseID SEC-CAF-MAN-0010 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
152 |
//! @SYMTestCaseDesc Tries to creates several nested directories |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
153 |
//! (public_Mkdir_fail) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
154 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
155 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
156 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
157 |
//! @SYMTestActions Use CAF to create a nested directory in the file system, fails |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
158 |
//! @SYMTestExpectedResults MkDir should return kErrPathNotFound |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
159 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
160 |
RUN_TEST_STEP 100 tcaf CAFMkDirStep c:\tcaf\managerstep.ini MkDirPublicDirFail |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
161 |
END_TESTCASE SEC-CAF-MAN-0010 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
162 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
163 |
START_TESTCASE SEC-CAF-MAN-0011 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
164 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
165 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
166 |
//! @SYMTestCaseID SEC-CAF-MAN-0011 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
167 |
//! @SYMTestCaseDesc Creates a directory in a public part of the file system |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
168 |
//! (public_Mkdir_Ok) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
169 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
170 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
171 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
172 |
//! @SYMTestActions Use CAF to create a directory in the file system |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
173 |
//! @SYMTestExpectedResults MkDir should return kErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
174 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
175 |
RUN_TEST_STEP 100 tcaf CAFMkDirStep c:\tcaf\managerstep.ini MkDirPublicDirOk |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
176 |
END_TESTCASE SEC-CAF-MAN-0011 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
177 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
178 |
START_TESTCASE SEC-CAF-MAN-0012 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
179 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
180 |
//! @SYMTestCaseID SEC-CAF-MAN-0012 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
181 |
//! @SYMTestCaseDesc Creates a directory in a public part of the file system |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
182 |
//! (public_Rmdir) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
183 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
184 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
185 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
186 |
//! @SYMTestActions Use CAF to create a directory in the file system |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
187 |
//! @SYMTestExpectedResults MkDir should return kErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
188 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
189 |
RUN_TEST_STEP 100 tcaf CAFRmDirStep c:\tcaf\managerstep.ini RmDirPublicDirOk |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
190 |
END_TESTCASE SEC-CAF-MAN-0012 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
191 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
192 |
START_TESTCASE SEC-CAF-MAN-0013 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
193 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
194 |
//! @SYMTestCaseID SEC-CAF-MAN-0013 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
195 |
//! @SYMTestCaseDesc Remove a directory that does not exist |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
196 |
//! (public_Rmdir_fail) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
197 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
198 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
199 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
200 |
//! @SYMTestActions Use CAF to remove a directory that does not exist in the file system |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
201 |
//! @SYMTestExpectedResults RmDir should return KErrNotFound |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
202 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
203 |
RUN_TEST_STEP 100 tcaf CAFRmDirStep c:\tcaf\managerstep.ini RmDirPublicDirFail |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
204 |
END_TESTCASE SEC-CAF-MAN-0013 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
205 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
206 |
START_TESTCASE SEC-CAF-MAN-0014 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
207 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
208 |
//! @SYMTestCaseID SEC-CAF-MAN-0014 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
209 |
//! @SYMTestCaseDesc Creates a directory in a public part of the file system |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
210 |
//! (public_MkDirAll_ok) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
211 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
212 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
213 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
214 |
//! @SYMTestActions Use CAF to create a directory in the file system |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
215 |
//! @SYMTestExpectedResults MkDir should return kErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
216 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
217 |
RUN_TEST_STEP 100 tcaf CAFMkDirAllStep c:\tcaf\managerstep.ini MkDirAllPublicDirOk |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
218 |
END_TESTCASE SEC-CAF-MAN-0014 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
219 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
220 |
START_TESTCASE SEC-CAF-MAN-0015 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
221 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
222 |
//! @SYMTestCaseID SEC-CAF-MAN-0015 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
223 |
//! @SYMTestCaseDesc Create directory fails |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
224 |
//! (public_MkDirAll_fail) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
225 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
226 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
227 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
228 |
//! @SYMTestActions Use CAF to create a directory on the read only Z:\ drive |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
229 |
//! @SYMTestExpectedResults MkDir should return kErrAccessDenied |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
230 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
231 |
RUN_TEST_STEP 100 tcaf CAFMkDirAllStep c:\tcaf\managerstep.ini MkDirAllPublicDirFail |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
232 |
END_TESTCASE SEC-CAF-MAN-0015 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
233 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
234 |
START_TESTCASE SEC-CAF-MAN-0016 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
235 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
236 |
//! @SYMTestCaseID SEC-CAF-MAN-0016 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
237 |
//! @SYMTestCaseDesc List a directory |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
238 |
//! (public_GetDir1_ok) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
239 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
240 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
241 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
242 |
//! @SYMTestActions Use CAF to list a directory |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
243 |
//! @SYMTestExpectedResults GetDir should return KErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
244 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
245 |
RUN_TEST_STEP 100 tcaf CAFGetDirStep c:\tcaf\managerstep.ini GetDirAPI1StepOk |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
246 |
END_TESTCASE SEC-CAF-MAN-0016 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
247 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
248 |
START_TESTCASE SEC-CAF-MAN-0017 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
249 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
250 |
//! @SYMTestCaseID SEC-CAF-MAN-0017 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
251 |
//! @SYMTestCaseDesc List a directory |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
252 |
//! (public_GetDir2_ok) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
253 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
254 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
255 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
256 |
//! @SYMTestActions Use CAF to list a directory |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
257 |
//! @SYMTestExpectedResults GetDir should return KErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
258 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
259 |
RUN_TEST_STEP 100 tcaf CAFGetDirStep c:\tcaf\managerstep.ini GetDirAPI2StepOk |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
260 |
END_TESTCASE SEC-CAF-MAN-0017 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
261 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
262 |
START_TESTCASE SEC-CAF-MAN-0018 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
263 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
264 |
//! @SYMTestCaseID SEC-CAF-MAN-0018 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
265 |
//! @SYMTestCaseDesc List a directory |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
266 |
//! (public_GetDir3_ok) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
267 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
268 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
269 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
270 |
//! @SYMTestActions Use CAF to list a directory |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
271 |
//! @SYMTestExpectedResults GetDir should return KErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
272 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
273 |
RUN_TEST_STEP 100 tcaf CAFGetDirStep c:\tcaf\managerstep.ini GetDirAPI3StepOk |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
274 |
END_TESTCASE SEC-CAF-MAN-0018 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
275 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
276 |
START_TESTCASE SEC-CAF-MAN-0019 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
277 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
278 |
//! @SYMTestCaseID SEC-CAF-MAN-0019 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
279 |
//! @SYMTestCaseDesc List a directory |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
280 |
//! (public_GetDir_fail) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
281 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
282 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
283 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
284 |
//! @SYMTestActions Use CAF to list a directory |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
285 |
//! @SYMTestExpectedResults GetDir should return KErrPathNotFound |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
286 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
287 |
RUN_TEST_STEP 100 tcaf CAFGetDirStep c:\tcaf\managerstep.ini GetDirStepFail |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
288 |
END_TESTCASE SEC-CAF-MAN-0019 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
289 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
290 |
START_TESTCASE SEC-CAF-MAN-0020 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
291 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
292 |
//! @SYMTestCaseID SEC-CAF-MAN-0020 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
293 |
//! @SYMTestCaseDesc List a directory |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
294 |
//! (public_GetDir_Private1) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
295 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
296 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
297 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
298 |
//! @SYMTestActions Use CAF to list a C:\private\ |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
299 |
//! @SYMTestExpectedResults GetDir should return KErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
300 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
301 |
RUN_TEST_STEP 100 tcaf CAFGetDirStep c:\tcaf\managerstep.ini GetDirAPI1StepPrivate |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
302 |
END_TESTCASE SEC-CAF-MAN-0020 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
303 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
304 |
START_TESTCASE SEC-CAF-MAN-0021 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
305 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
306 |
//! @SYMTestCaseID SEC-CAF-MAN-0021 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
307 |
//! @SYMTestCaseDesc List a directory |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
308 |
//! (public_GetDir_Private2) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
309 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
310 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
311 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
312 |
//! @SYMTestActions Use CAF to list a C:\private\ |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
313 |
//! @SYMTestExpectedResults GetDir should return KErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
314 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
315 |
RUN_TEST_STEP 100 tcaf CAFGetDirStep c:\tcaf\managerstep.ini GetDirAPI2StepPrivate |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
316 |
END_TESTCASE SEC-CAF-MAN-0021 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
317 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
318 |
START_TESTCASE SEC-CAF-MAN-0022 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
319 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
320 |
//! @SYMTestCaseID SEC-CAF-MAN-0022 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
321 |
//! @SYMTestCaseDesc List a directory |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
322 |
//! (public_GetDir_Private3) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
323 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
324 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
325 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
326 |
//! @SYMTestActions Use CAF to list a C:\private\ |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
327 |
//! @SYMTestExpectedResults GetDir should return KErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
328 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
329 |
RUN_TEST_STEP 100 tcaf CAFGetDirStep c:\tcaf\managerstep.ini GetDirAPI3StepPrivate |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
330 |
END_TESTCASE SEC-CAF-MAN-0022 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
331 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
332 |
START_TESTCASE SEC-CAF-MAN-0023 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
333 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
334 |
//! @SYMTestCaseID SEC-CAF-MAN-0023 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
335 |
//! @SYMTestCaseDesc Copy File to private dir |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
336 |
//! (private_CopyFile_Ok) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
337 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
338 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
339 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
340 |
//! @SYMTestActions Attempt to copy an file to the reference test agent private dir |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
341 |
//! @SYMTestExpectedResults copy succeeds |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
342 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
343 |
RUN_TEST_STEP 100 tcaf CAFCopyFileStep c:\tcaf\managerstep.ini PrivateCopyFileOk |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
344 |
END_TESTCASE SEC-CAF-MAN-0023 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
345 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
346 |
START_TESTCASE SEC-CAF-MAN-0024 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
347 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
348 |
//! @SYMTestCaseID SEC-CAF-MAN-0024 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
349 |
//! @SYMTestCaseDesc Creates a directory in the private directory of the reference test agent |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
350 |
//! (private_Mkdir_Ok) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
351 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
352 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
353 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
354 |
//! @SYMTestActions Use CAF to create a directory in agents private directory |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
355 |
//! @SYMTestExpectedResults MkDir should return kErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
356 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
357 |
RUN_TEST_STEP 100 tcaf CAFMkDirStep c:\tcaf\managerstep.ini MkDirPrivateDirOk |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
358 |
END_TESTCASE SEC-CAF-MAN-0024 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
359 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
360 |
START_TESTCASE SEC-CAF-MAN-0025 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
361 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
362 |
//! @SYMTestCaseID SEC-CAF-MAN-0025 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
363 |
//! @SYMTestCaseDesc List a directory |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
364 |
//! (public_GetDir_Private1) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
365 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
366 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
367 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
368 |
//! @SYMTestActions Use CAF to list a C:\private\Reference Test Agent\ |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
369 |
//! @SYMTestExpectedResults GetDir should return KErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
370 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
371 |
RUN_TEST_STEP 100 tcaf CAFGetDirStep c:\tcaf\managerstep.ini GetDirAPI1StepPrivateServer |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
372 |
END_TESTCASE SEC-CAF-MAN-0025 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
373 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
374 |
START_TESTCASE SEC-CAF-MAN-0026 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
375 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
376 |
//! @SYMTestCaseID SEC-CAF-MAN-0026 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
377 |
//! @SYMTestCaseDesc List a directory |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
378 |
//! (public_GetDir_Private2) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
379 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
380 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
381 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
382 |
//! @SYMTestActions Use CAF to list a C:\private\Reference Test Agent\ |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
383 |
//! @SYMTestExpectedResults GetDir should return KErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
384 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
385 |
RUN_TEST_STEP 100 tcaf CAFGetDirStep c:\tcaf\managerstep.ini GetDirAPI2StepPrivateServer |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
386 |
END_TESTCASE SEC-CAF-MAN-0026 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
387 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
388 |
START_TESTCASE SEC-CAF-MAN-0027 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
389 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
390 |
//! @SYMTestCaseID SEC-CAF-MAN-0027 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
391 |
//! @SYMTestCaseDesc List a directory |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
392 |
//! (public_GetDir_Private3) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
393 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
394 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
395 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
396 |
//! @SYMTestActions Use CAF to list a C:\private\Reference Test Agent\ |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
397 |
//! @SYMTestExpectedResults GetDir should return KErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
398 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
399 |
RUN_TEST_STEP 100 tcaf CAFGetDirStep c:\tcaf\managerstep.ini GetDirAPI3StepPrivateServer |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
400 |
END_TESTCASE SEC-CAF-MAN-0027 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
401 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
402 |
START_TESTCASE SEC-CAF-MAN-0028 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
403 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
404 |
//! @SYMTestCaseID SEC-CAF-MAN-0028 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
405 |
//! @SYMTestCaseDesc Delete a file in the reference test agents private directory |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
406 |
//! (Private_Delete_Ok) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
407 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
408 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
409 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
410 |
//! @SYMTestActions Use CAF to delete the file in the private directory of the reference test agent |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
411 |
//! @SYMTestExpectedResults Delete should return KErrNone when the file is deleted |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
412 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
413 |
RUN_TEST_STEP 100 tcaf CAFDeleteStep c:\tcaf\managerstep.ini PrivateDeleteFileOk |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
414 |
END_TESTCASE SEC-CAF-MAN-0028 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
415 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
416 |
START_TESTCASE SEC-CAF-MAN-0029 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
417 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
418 |
//! @SYMTestCaseID SEC-CAF-MAN-0029 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
419 |
//! @SYMTestCaseDesc Remove a directory within the agents private directory |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
420 |
//! (private_Rmdir) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
421 |
//! @SYMREQ REQ3691 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
422 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
423 |
//! @SYMTestPriority Critical |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
424 |
//! @SYMTestActions Use CAF to remove a directory in the agents private directory |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
425 |
//! @SYMTestExpectedResults MkDir should return kErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
426 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
427 |
RUN_TEST_STEP 100 tcaf CAFRmDirStep c:\tcaf\managerstep.ini RmDirPrivateDirOk |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
428 |
END_TESTCASE SEC-CAF-MAN-0029 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
429 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
430 |
START_TESTCASE SEC-CAF-MAN-0030 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
431 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
432 |
//! @SYMTestCaseID SEC-CAF-MAN-0030 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
433 |
//! @SYMTestCaseDesc Request a status notification on a file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
434 |
//! (Manager_NotifyStatusChange) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
435 |
//! @SYMREQ REQ3680 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
436 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
437 |
//! @SYMTestPriority Normal |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
438 |
//! @SYMTestActions Request a notification on an unprotected file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
439 |
//! @SYMTestExpectedResults Should return KErrCANotSupported |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
440 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
441 |
RUN_TEST_STEP 100 tcaf CAFManagerNotifyStep c:\tcaf\managerstep.ini NotifyStatusChange |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
442 |
END_TESTCASE SEC-CAF-MAN-0030 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
443 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
444 |
START_TESTCASE SEC-CAF-MAN-0031 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
445 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
446 |
//! @SYMTestCaseID SEC-CAF-MAN-0031 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
447 |
//! @SYMTestCaseDesc Set a property within all agents |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
448 |
//! (Manager_SetProperty) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
449 |
//! @SYMPREQ PREQ780 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
450 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
451 |
//! @SYMTestPriority Normal |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
452 |
//! @SYMTestActions Set a property within all agents |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
453 |
//! @SYMTestExpectedResults Should return KErrCANotSupported |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
454 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
455 |
RUN_TEST_STEP 100 tcaf CAFManagerSetPropertyStep c:\tcaf\managerstep.ini SetProperty |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
456 |
END_TESTCASE SEC-CAF-MAN-0031 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
457 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
458 |
START_TESTCASE SEC-CAF-MAN-0032 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
459 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
460 |
//! @SYMTestCaseID SEC-CAF-MAN-0032 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
461 |
//! @SYMTestCaseDesc Display information about an unprotected file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
462 |
//! (Manager_DisplayInfo) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
463 |
//! @SYMPREQ PREQ780 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
464 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
465 |
//! @SYMTestPriority Normal |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
466 |
//! @SYMTestActions Ask the agent to display information about the file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
467 |
//! @SYMTestExpectedResults Should return KErrCANotSupported |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
468 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
469 |
RUN_TEST_STEP 100 tcaf CAFManagerDisplayInfoStep c:\tcaf\managerstep.ini DisplayInfo |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
470 |
END_TESTCASE SEC-CAF-MAN-0032 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
471 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
472 |
START_TESTCASE SEC-CAF-MAN-0033 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
473 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
474 |
//! @SYMTestCaseID SEC-CAF-MAN-0033 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
475 |
//! @SYMTestCaseDesc List all the agents not including the F32 Agent |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
476 |
//! (Manager_List_Agents) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
477 |
//! @SYMPREQ PREQ780 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
478 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
479 |
//! @SYMTestPriority Normal |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
480 |
//! @SYMTestActions List all agents |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
481 |
//! @SYMTestExpectedResults Should return KErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
482 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
483 |
RUN_TEST_STEP 100 tcaf CAFManagerListAgentsStep c:\tcaf\managerstep.ini ListAgents |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
484 |
END_TESTCASE SEC-CAF-MAN-0033 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
485 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
486 |
START_TESTCASE SEC-CAF-MAN-0034 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
487 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
488 |
//! @SYMTestCaseID SEC-CAF-MAN-0034 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
489 |
//! @SYMTestCaseDesc Execute an agent specific command |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
490 |
//! (Manager_Agent_Specific) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
491 |
//! @SYMPREQ PREQ780 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
492 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
493 |
//! @SYMTestPriority Normal |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
494 |
//! @SYMTestActions Execute an agent specific command |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
495 |
//! @SYMTestExpectedResults Should return KErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
496 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
497 |
RUN_TEST_STEP 100 tcaf CAFManagerAgentSpecificStep c:\tcaf\managerstep.ini AgentSpecific |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
498 |
END_TESTCASE SEC-CAF-MAN-0034 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
499 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
500 |
START_TESTCASE SEC-CAF-MAN-0035 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
501 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
502 |
//! @SYMTestCaseID SEC-CAF-MAN-0035 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
503 |
//! @SYMTestCaseDesc Execute an agent specific command |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
504 |
//! (Manager_Display_Management_Info) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
505 |
//! @SYMPREQ PREQ780 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
506 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
507 |
//! @SYMTestPriority Normal |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
508 |
//! @SYMTestActions Execute an agent specific command |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
509 |
//! @SYMTestExpectedResults Should return KErrCANotSupported |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
510 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
511 |
RUN_TEST_STEP 100 tcaf CAFManagerDisplayConfigStep c:\tcaf\managerstep.ini DisplayManagement |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
512 |
END_TESTCASE SEC-CAF-MAN-0035 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
513 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
514 |
START_TESTCASE SEC-CAF-MAN-0036 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
515 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
516 |
//! @SYMTestCaseID SEC-CAF-MAN-0036 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
517 |
//! @SYMTestCaseDesc Get an attribute for a file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
518 |
//! (Manager_Attribute) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
519 |
//! @SYMREQ REQ3679 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
520 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
521 |
//! @SYMTestPriority Normal |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
522 |
//! @SYMTestActions Get a single attribute for a file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
523 |
//! @SYMTestExpectedResults Should return KErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
524 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
525 |
RUN_TEST_STEP 100 tcaf CAFManagerAttributeStep c:\tcaf\attributes.ini Attribute |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
526 |
END_TESTCASE SEC-CAF-MAN-0036 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
527 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
528 |
START_TESTCASE SEC-CAF-MAN-0037 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
529 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
530 |
//! @SYMTestCaseID SEC-CAF-MAN-0037 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
531 |
//! @SYMTestCaseDesc Get a set of attributes for a file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
532 |
//! (Manager_AttributeSet) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
533 |
//! @SYMREQ REQ3679 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
534 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
535 |
//! @SYMTestPriority Normal |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
536 |
//! @SYMTestActions Get a set of attributes for a file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
537 |
//! @SYMTestExpectedResults Should return KErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
538 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
539 |
RUN_TEST_STEP 100 tcaf CAFManagerAttributeSetStep c:\tcaf\attributes.ini AttributeSet |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
540 |
END_TESTCASE SEC-CAF-MAN-0037 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
541 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
542 |
START_TESTCASE SEC-CAF-MAN-0038 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
543 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
544 |
//! @SYMTestCaseID SEC-CAF-MAN-0038 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
545 |
//! @SYMTestCaseDesc Get a string attribute for a file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
546 |
//! (Manager_String_Attribute) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
547 |
//! @SYMREQ REQ3679 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
548 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
549 |
//! @SYMTestPriority Normal |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
550 |
//! @SYMTestActions Get a single string attribute for a file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
551 |
//! @SYMTestExpectedResults Should return KErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
552 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
553 |
RUN_TEST_STEP 100 tcaf CAFManagerStringAttributeStep c:\tcaf\attributes.ini StringAttribute |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
554 |
END_TESTCASE SEC-CAF-MAN-0038 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
555 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
556 |
START_TESTCASE SEC-CAF-MAN-3457 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
557 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
558 |
//! @SYMTestCaseID SEC-CAF-MAN-3457 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
559 |
//! @SYMTestCaseDesc Get a string attribute for a manager object within a valid gif file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
560 |
//! @SYMDEF PDEF104571 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
561 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
562 |
//! @SYMTestPriority Normal |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
563 |
//! @SYMTestActions Get a single string attribute for a manager object within a valid gif file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
564 |
//! @SYMTestExpectedResults A string attribute should successfully be returned |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
565 |
//! @SYMTestType CT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
566 |
RUN_TEST_STEP 100 tcaf CAFManagerStringAttributeStep c:\tcaf\attributes.ini StringAttributeGoodGif |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
567 |
END_TESTCASE SEC-CAF-MAN-3457 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
568 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
569 |
START_TESTCASE SEC-CAF-MAN-3458 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
570 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
571 |
//! @SYMTestCaseID SEC-CAF-MAN-3458 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
572 |
//! @SYMTestCaseDesc Failure to return a string attribute for a manager object within an invalid gif file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
573 |
//! @SYMDEF PDEF104571 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
574 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
575 |
//! @SYMTestPriority Normal |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
576 |
//! @SYMTestActions Attempt to get a single string attribute for a manager object within an invalid gif file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
577 |
//! @SYMTestExpectedResults An error should be returned |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
578 |
//! @SYMTestType CT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
579 |
RUN_TEST_STEP 100 tcaf CAFManagerStringAttributeStep c:\tcaf\attributes.ini StringAttributeErrorGif |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
580 |
END_TESTCASE SEC-CAF-MAN-3458 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
581 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
582 |
START_TESTCASE SEC-CAF-MAN-0039 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
583 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
584 |
//! @SYMTestCaseID SEC-CAF-MAN-0039 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
585 |
//! @SYMTestCaseDesc Get a set of string attributes for a file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
586 |
//! (Manager_String_AttributeSet) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
587 |
//! @SYMREQ REQ3679 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
588 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
589 |
//! @SYMTestPriority Normal |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
590 |
//! @SYMTestActions Get a set of string attributes for a file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
591 |
//! @SYMTestExpectedResults Should return KErrNone |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
592 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
593 |
RUN_TEST_STEP 100 tcaf CAFManagerStringAttributeSetStep c:\tcaf\attributes.ini StringAttributeSet |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
594 |
END_TESTCASE SEC-CAF-MAN-0039 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
595 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
596 |
START_TESTCASE SEC-CAF-MAN-3459 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
597 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
598 |
//! @SYMTestCaseID SEC-CAF-MAN-3459 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
599 |
//! @SYMTestCaseDesc Get a set of string attributes for a manager object within a valid gif file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
600 |
//! @SYMDEF PDEF104571 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
601 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
602 |
//! @SYMTestPriority Normal |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
603 |
//! @SYMTestActions Get a set of string attributes for a manager object within a valid gif file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
604 |
//! @SYMTestExpectedResults A set of string attributes should successfully be returned |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
605 |
//! @SYMTestType CT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
606 |
RUN_TEST_STEP 100 tcaf CAFManagerStringAttributeSetStep c:\tcaf\attributes.ini StringAttributeSetGoodGif |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
607 |
END_TESTCASE SEC-CAF-MAN-3459 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
608 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
609 |
START_TESTCASE SEC-CAF-MAN-3460 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
610 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
611 |
//! @SYMTestCaseID SEC-CAF-MAN-3460 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
612 |
//! @SYMTestCaseDesc Get a set of string attributes for a manager object within an invalid gif file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
613 |
//! @SYMDEF PDEF104571 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
614 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
615 |
//! @SYMTestPriority Normal |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
616 |
//! @SYMTestActions Get a set of string attributes for a manager object within an invalid gif file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
617 |
//! @SYMTestExpectedResults An error should be returned for the invalid gif file within the set |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
618 |
//! @SYMTestType CT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
619 |
RUN_TEST_STEP 100 tcaf CAFManagerStringAttributeSetStep c:\tcaf\attributes.ini StringAttributeSetErrorGif |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
620 |
END_TESTCASE SEC-CAF-MAN-3460 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
621 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
622 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
623 |
//--------------------------------------------------------------------------------------------------------------------------------- |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
624 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
625 |
//! @SYMTestCaseID SEC-CAF-MAN-0040 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
626 |
//! @SYMTestCaseDesc Query standardised information about a content object using a file handle. |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
627 |
//! (FileHandle-DRM-Content) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
628 |
//! @SYMREQ REQ8758 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
629 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
630 |
//! @SYMTestPriority Normal |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
631 |
//! @SYMTestActions 1. Get a content's attribute from a file specified by file handle |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
632 |
//! 2. Get content’s set of attributes from a file specified by file handle. |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
633 |
//! 3. Get content’s text string attribute from a file specified by file handle. |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
634 |
//! 4. Get content’s set of string attributes from a file specified by file handle. |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
635 |
//! 5. View information associated with a single content object in a file specified by file handle. |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
636 |
//! @SYMTestExpectedResults 1.Should return KErrNone. Attribute’s value should match the expected value. |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
637 |
//! 2.Should return KErrNone. Value of all the attributes queried must match the expected value. |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
638 |
//! 3.Should return KErrNone. The text string attribute value should match the expected value. |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
639 |
//! 4.Should return KErrNone. Value of all the text string attributes queried must match the expected value. |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
640 |
//! 5.Should return KErrCANotSupported |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
641 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
642 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
643 |
START_TESTCASE SEC-CAF-MAN-0040 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
644 |
RUN_TEST_STEP 100 tcaf CAFManagerAttributeByFileHandleStep c:\tcaf\attributes.ini AttributeByFileHandle_DRM_Content |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
645 |
RUN_TEST_STEP 100 tcaf CAFManagerAttributeSetByFileHandleStep c:\tcaf\attributes.ini AttributeSetByFileHandle_DRM_Content |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
646 |
RUN_TEST_STEP 100 tcaf CAFManagerStringAttributeByFileHandleStep c:\tcaf\attributes.ini StringAttributeByFileHandle_DRM_Content |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
647 |
RUN_TEST_STEP 100 tcaf CAFManagerStringAttributeSetByFileHandleStep c:\tcaf\attributes.ini StringAttributeSetByFileHandle_DRM_Content |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
648 |
RUN_TEST_STEP 100 tcaf CAFManagerDisplayInfoByFileHandleStep c:\tcaf\managerstep.ini DisplayInfoByFileHandle_DRM_Content |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
649 |
END_TESTCASE SEC-CAF-MAN-0040 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
650 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
651 |
//! @file |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
652 |
//! @SYMTestCaseID SEC-CAF-MAN-0041 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
653 |
//! @SYMTestCaseDesc Query standardised information about a content object using a file handle. |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
654 |
//! (FileHandle-PlainText) |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
655 |
//! @SYMREQ REQ8758 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
656 |
//! @SYMTestStatus Implemented |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
657 |
//! @SYMTestPriority Normal |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
658 |
//! @SYMTestActions 1. Get a content's attribute from a file specified by file handle |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
659 |
//! 2. Get content’s set of attributes from a file specified by file handle. |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
660 |
//! 3. Get content’s text string attribute from a file specified by file handle. |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
661 |
//! 4. Get content’s set of string attributes from a file specified by file handle. |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
662 |
//! 5. View information associated with a single content object in a file specified by file handle. |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
663 |
//! @SYMTestExpectedResults 1.Should return KErrNone. Attribute’s value should match the expected value. |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
664 |
//! 2.Should return KErrNone. Value of all the attributes queried must match the expected value. |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
665 |
//! 3.Should return KErrNone. The text string attribute value should match the expected value. |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
666 |
//! 4.Should return KErrNone. Value of all the text string attributes queried must match the expected value. |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
667 |
//! 5.Should return KErrCANotSupported |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
668 |
//! @SYMTestType CIT |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
669 |
|
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
670 |
START_TESTCASE SEC-CAF-MAN-0041 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
671 |
RUN_TEST_STEP 100 tcaf CAFManagerAttributeByFileHandleStep c:\tcaf\attributes.ini Attribute |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
672 |
RUN_TEST_STEP 100 tcaf CAFManagerAttributeSetByFileHandleStep c:\tcaf\attributes.ini AttributeSet |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
673 |
RUN_TEST_STEP 100 tcaf CAFManagerStringAttributeByFileHandleStep c:\tcaf\attributes.ini StringAttribute |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
674 |
RUN_TEST_STEP 100 tcaf CAFManagerStringAttributeSetByFileHandleStep c:\tcaf\attributes.ini StringAttributeSet_PlainText |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
675 |
RUN_TEST_STEP 100 tcaf CAFManagerDisplayInfoByFileHandleStep c:\tcaf\managerstep.ini DisplayInfo |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
676 |
END_TESTCASE SEC-CAF-MAN-0041 |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
677 |
//--------------------------------------------------------------------------------------------------------------------------------- |
da2ae96f639b
Revision: 200941
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
678 |