Update contrib.
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".
9 // Initial Contributors:
10 // Nokia Corporation - initial contribution.
20 START_TESTCASE SEC-CAF-RECOG-0001
22 //! @SYMTestCaseID SEC-CAF-RECOG-0001
23 //! @SYMTestCaseDesc Agent Recognition Buffer Size
26 //! @SYMTestStatus Implemented
27 //! @SYMTestPriority Critical
28 //! @SYMTestActions Finds the buffer size required by agents to recognized content
29 //! @SYMTestExpectedResults Buffersize matches the expected size
31 RUN_TEST_STEP 100 tcaf CAFBufferSizeStep c:\tcaf\recognize.ini BufferSize
32 END_TESTCASE SEC-CAF-RECOG-0001
34 START_TESTCASE SEC-CAF-RECOG-0002
36 //! @SYMTestCaseID SEC-CAF-RECOG-0002
37 //! @SYMTestCaseDesc Recognize a DRM file
40 //! @SYMTestStatus Implemented
41 //! @SYMTestPriority Critical
42 //! @SYMTestActions See if the TestAgent recognizes a DRM file
43 //! @SYMTestExpectedResults The DRM file is recognized
45 RUN_TEST_STEP 100 tcaf CAFRecognizeStep c:\tcaf\recognize.ini TestAgentContent
46 END_TESTCASE SEC-CAF-RECOG-0002
48 START_TESTCASE SEC-CAF-RECOG-0003
50 //! @SYMTestCaseID SEC-CAF-RECOG-0003
51 //! @SYMTestCaseDesc Recognize a Plaintext file
52 //! (Plaintext_Recognize)
54 //! @SYMTestStatus Implemented
55 //! @SYMTestPriority Critical
56 //! @SYMTestActions See if TestAgent recognises the Plaintext file
57 //! @SYMTestExpectedResults The Plaintext file should not be recognized by CAF
59 RUN_TEST_STEP 100 tcaf CAFRecognizeStep c:\tcaf\recognize.ini F32AgentContent
60 END_TESTCASE SEC-CAF-RECOG-0003
62 START_TESTCASE SEC-CAF-RECOG-0004
64 //! @SYMTestCaseID SEC-CAF-RECOG-0004
65 //! @SYMTestCaseDesc Check apparc recognition of a CAF DRM file
66 //! (Apparc_Recognize)
68 //! @SYMTestStatus Implemented
69 //! @SYMTestPriority Medium
70 //! @SYMTestActions Check the RApaLsSession returns the correct mime type
71 //! @SYMTestExpectedResults Mime type should match the expected value in the INI file
73 RUN_TEST_STEP 100 tcaf CAFApparcStep c:\tcaf\recognize.ini TestAgentContent
74 END_TESTCASE SEC-CAF-RECOG-0004
76 START_TESTCASE SEC-CAF-RECOG-1579
78 //! @SYMTestCaseID SEC-CAF-RECOG-1579
79 //! @SYMTestCaseDesc Check apparc recognition of a DRM file for Upper Case Mime Types
81 //! @SYMTestStatus Implemented
82 //! @SYMTestPriority Medium
83 //! @SYMTestActions Check the RApaLsSession returns the correct mime type
84 //! @SYMTestExpectedResults Mime type should match the expected value in the INI file
86 RUN_TEST_STEP 100 tcaf CAF_DEF077443_Step c:\tcaf\recognize.ini DEF077443_Content
87 END_TESTCASE SEC-CAF-RECOG-1579