|
1 // |
|
2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of the License "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 // |
|
17 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
18 // All rights reserved. |
|
19 // This component and the accompanying materials are made available |
|
20 // under the terms of the License "Symbian Foundation License v1.0" |
|
21 // which accompanies this distribution, and is available |
|
22 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
23 // |
|
24 // Initial Contributors: |
|
25 // Nokia Corporation - initial contribution. |
|
26 // |
|
27 // Contributors: |
|
28 // |
|
29 // Description: |
|
30 // |
|
31 |
|
32 LOAD_SUITE tcaf |
|
33 |
|
34 START_TESTCASE SEC-CAF-RECOG-0001 |
|
35 //! @file |
|
36 //! @SYMTestCaseID SEC-CAF-RECOG-0001 |
|
37 //! @SYMTestCaseDesc Agent Recognition Buffer Size |
|
38 //! (Buffer_Size) |
|
39 //! @SYMPREQ PREQ1951 |
|
40 //! @SYMTestStatus Implemented |
|
41 //! @SYMTestPriority Critical |
|
42 //! @SYMTestActions Finds the buffer size required by agents to recognized content |
|
43 //! @SYMTestExpectedResults Buffersize matches the expected size |
|
44 //! @SYMTestType CIT |
|
45 RUN_TEST_STEP 100 tcaf CAFBufferSizeStep c:\tcaf\recognize.ini BufferSize |
|
46 END_TESTCASE SEC-CAF-RECOG-0001 |
|
47 |
|
48 START_TESTCASE SEC-CAF-RECOG-0002 |
|
49 //! @file |
|
50 //! @SYMTestCaseID SEC-CAF-RECOG-0002 |
|
51 //! @SYMTestCaseDesc Recognize a DRM file |
|
52 //! (DRM_Recognize) |
|
53 //! @SYMPREQ PREQ1951 |
|
54 //! @SYMTestStatus Implemented |
|
55 //! @SYMTestPriority Critical |
|
56 //! @SYMTestActions See if the TestAgent recognizes a DRM file |
|
57 //! @SYMTestExpectedResults The DRM file is recognized |
|
58 //! @SYMTestType CIT |
|
59 RUN_TEST_STEP 100 tcaf CAFRecognizeStep c:\tcaf\recognize.ini TestAgentContent |
|
60 END_TESTCASE SEC-CAF-RECOG-0002 |
|
61 |
|
62 START_TESTCASE SEC-CAF-RECOG-0003 |
|
63 //! @file |
|
64 //! @SYMTestCaseID SEC-CAF-RECOG-0003 |
|
65 //! @SYMTestCaseDesc Recognize a Plaintext file |
|
66 //! (Plaintext_Recognize) |
|
67 //! @SYMPREQ PREQ1951 |
|
68 //! @SYMTestStatus Implemented |
|
69 //! @SYMTestPriority Critical |
|
70 //! @SYMTestActions See if TestAgent recognises the Plaintext file |
|
71 //! @SYMTestExpectedResults The Plaintext file should not be recognized by CAF |
|
72 //! @SYMTestType CIT |
|
73 RUN_TEST_STEP 100 tcaf CAFRecognizeStep c:\tcaf\recognize.ini F32AgentContent |
|
74 END_TESTCASE SEC-CAF-RECOG-0003 |
|
75 |
|
76 START_TESTCASE SEC-CAF-RECOG-0004 |
|
77 //! @file |
|
78 //! @SYMTestCaseID SEC-CAF-RECOG-0004 |
|
79 //! @SYMTestCaseDesc Check apparc recognition of a CAF DRM file |
|
80 //! (Apparc_Recognize) |
|
81 //! @SYMPREQ PREQ1951 |
|
82 //! @SYMTestStatus Implemented |
|
83 //! @SYMTestPriority Medium |
|
84 //! @SYMTestActions Check the RApaLsSession returns the correct mime type |
|
85 //! @SYMTestExpectedResults Mime type should match the expected value in the INI file |
|
86 //! @SYMTestType CIT |
|
87 RUN_TEST_STEP 100 tcaf CAFApparcStep c:\tcaf\recognize.ini TestAgentContent |
|
88 END_TESTCASE SEC-CAF-RECOG-0004 |
|
89 |
|
90 START_TESTCASE SEC-CAF-RECOG-1579 |
|
91 //! @file |
|
92 //! @SYMTestCaseID SEC-CAF-RECOG-1579 |
|
93 //! @SYMTestCaseDesc Check apparc recognition of a DRM file for Upper Case Mime Types |
|
94 //! @SYMDEF DEF077443 |
|
95 //! @SYMTestStatus Implemented |
|
96 //! @SYMTestPriority Medium |
|
97 //! @SYMTestActions Check the RApaLsSession returns the correct mime type |
|
98 //! @SYMTestExpectedResults Mime type should match the expected value in the INI file |
|
99 //! @SYMTestType CIT |
|
100 RUN_TEST_STEP 100 tcaf CAF_DEF077443_Step c:\tcaf\recognize.ini DEF077443_Content |
|
101 END_TESTCASE SEC-CAF-RECOG-1579 |
|
102 |
|
103 |
|
104 |
|
105 |
|
106 |