1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/contentmgmt/referencedrmagent/tcaf/scripts/recognize.script Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,92 @@
1.4 +//
1.5 +// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +// All rights reserved.
1.7 +// This component and the accompanying materials are made available
1.8 +// under the terms of the License "Eclipse Public License v1.0"
1.9 +// which accompanies this distribution, and is available
1.10 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +//
1.12 +// Initial Contributors:
1.13 +// Nokia Corporation - initial contribution.
1.14 +//
1.15 +// Contributors:
1.16 +//
1.17 +// Description:
1.18 +//
1.19 +
1.20 +
1.21 +LOAD_SUITE tcaf
1.22 +
1.23 +START_TESTCASE SEC-CAF-RECOG-0001
1.24 +//! @file
1.25 +//! @SYMTestCaseID SEC-CAF-RECOG-0001
1.26 +//! @SYMTestCaseDesc Agent Recognition Buffer Size
1.27 +//! (Buffer_Size)
1.28 +//! @SYMPREQ PREQ1951
1.29 +//! @SYMTestStatus Implemented
1.30 +//! @SYMTestPriority Critical
1.31 +//! @SYMTestActions Finds the buffer size required by agents to recognized content
1.32 +//! @SYMTestExpectedResults Buffersize matches the expected size
1.33 +//! @SYMTestType CIT
1.34 +RUN_TEST_STEP 100 tcaf CAFBufferSizeStep c:\tcaf\recognize.ini BufferSize
1.35 +END_TESTCASE SEC-CAF-RECOG-0001
1.36 +
1.37 +START_TESTCASE SEC-CAF-RECOG-0002
1.38 +//! @file
1.39 +//! @SYMTestCaseID SEC-CAF-RECOG-0002
1.40 +//! @SYMTestCaseDesc Recognize a DRM file
1.41 +//! (DRM_Recognize)
1.42 +//! @SYMPREQ PREQ1951
1.43 +//! @SYMTestStatus Implemented
1.44 +//! @SYMTestPriority Critical
1.45 +//! @SYMTestActions See if the TestAgent recognizes a DRM file
1.46 +//! @SYMTestExpectedResults The DRM file is recognized
1.47 +//! @SYMTestType CIT
1.48 +RUN_TEST_STEP 100 tcaf CAFRecognizeStep c:\tcaf\recognize.ini TestAgentContent
1.49 +END_TESTCASE SEC-CAF-RECOG-0002
1.50 +
1.51 +START_TESTCASE SEC-CAF-RECOG-0003
1.52 +//! @file
1.53 +//! @SYMTestCaseID SEC-CAF-RECOG-0003
1.54 +//! @SYMTestCaseDesc Recognize a Plaintext file
1.55 +//! (Plaintext_Recognize)
1.56 +//! @SYMPREQ PREQ1951
1.57 +//! @SYMTestStatus Implemented
1.58 +//! @SYMTestPriority Critical
1.59 +//! @SYMTestActions See if TestAgent recognises the Plaintext file
1.60 +//! @SYMTestExpectedResults The Plaintext file should not be recognized by CAF
1.61 +//! @SYMTestType CIT
1.62 +RUN_TEST_STEP 100 tcaf CAFRecognizeStep c:\tcaf\recognize.ini F32AgentContent
1.63 +END_TESTCASE SEC-CAF-RECOG-0003
1.64 +
1.65 +START_TESTCASE SEC-CAF-RECOG-0004
1.66 +//! @file
1.67 +//! @SYMTestCaseID SEC-CAF-RECOG-0004
1.68 +//! @SYMTestCaseDesc Check apparc recognition of a CAF DRM file
1.69 +//! (Apparc_Recognize)
1.70 +//! @SYMPREQ PREQ1951
1.71 +//! @SYMTestStatus Implemented
1.72 +//! @SYMTestPriority Medium
1.73 +//! @SYMTestActions Check the RApaLsSession returns the correct mime type
1.74 +//! @SYMTestExpectedResults Mime type should match the expected value in the INI file
1.75 +//! @SYMTestType CIT
1.76 +RUN_TEST_STEP 100 tcaf CAFApparcStep c:\tcaf\recognize.ini TestAgentContent
1.77 +END_TESTCASE SEC-CAF-RECOG-0004
1.78 +
1.79 +START_TESTCASE SEC-CAF-RECOG-1579
1.80 +//! @file
1.81 +//! @SYMTestCaseID SEC-CAF-RECOG-1579
1.82 +//! @SYMTestCaseDesc Check apparc recognition of a DRM file for Upper Case Mime Types
1.83 +//! @SYMDEF DEF077443
1.84 +//! @SYMTestStatus Implemented
1.85 +//! @SYMTestPriority Medium
1.86 +//! @SYMTestActions Check the RApaLsSession returns the correct mime type
1.87 +//! @SYMTestExpectedResults Mime type should match the expected value in the INI file
1.88 +//! @SYMTestType CIT
1.89 +RUN_TEST_STEP 100 tcaf CAF_DEF077443_Step c:\tcaf\recognize.ini DEF077443_Content
1.90 +END_TESTCASE SEC-CAF-RECOG-1579
1.91 +
1.92 +
1.93 +
1.94 +
1.95 +