os/security/contentmgmt/referencedrmagent/tcaf/scripts/recognize.script
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     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 
    18 LOAD_SUITE tcaf
    19 
    20 START_TESTCASE 			SEC-CAF-RECOG-0001
    21 //! @file
    22 //! @SYMTestCaseID 		SEC-CAF-RECOG-0001
    23 //! @SYMTestCaseDesc 		Agent Recognition Buffer Size
    24 //!				(Buffer_Size)
    25 //! @SYMPREQ			PREQ1951
    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
    30 //! @SYMTestType		CIT
    31 RUN_TEST_STEP 100 tcaf CAFBufferSizeStep c:\tcaf\recognize.ini BufferSize
    32 END_TESTCASE 			SEC-CAF-RECOG-0001
    33 
    34 START_TESTCASE 			SEC-CAF-RECOG-0002
    35 //! @file
    36 //! @SYMTestCaseID 		SEC-CAF-RECOG-0002
    37 //! @SYMTestCaseDesc 		Recognize a DRM file
    38 //!				(DRM_Recognize)
    39 //! @SYMPREQ			PREQ1951
    40 //! @SYMTestStatus		Implemented
    41 //! @SYMTestPriority		Critical
    42 //! @SYMTestActions		See if the TestAgent recognizes a DRM file
    43 //! @SYMTestExpectedResults	The DRM file is recognized
    44 //! @SYMTestType		CIT
    45 RUN_TEST_STEP 100 tcaf CAFRecognizeStep c:\tcaf\recognize.ini TestAgentContent
    46 END_TESTCASE 			SEC-CAF-RECOG-0002
    47 
    48 START_TESTCASE 			SEC-CAF-RECOG-0003
    49 //! @file
    50 //! @SYMTestCaseID 		SEC-CAF-RECOG-0003
    51 //! @SYMTestCaseDesc 		Recognize a Plaintext file
    52 //!				(Plaintext_Recognize)
    53 //! @SYMPREQ			PREQ1951
    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
    58 //! @SYMTestType		CIT
    59 RUN_TEST_STEP 100 tcaf CAFRecognizeStep c:\tcaf\recognize.ini F32AgentContent
    60 END_TESTCASE 			SEC-CAF-RECOG-0003
    61 
    62 START_TESTCASE 			SEC-CAF-RECOG-0004
    63 //! @file
    64 //! @SYMTestCaseID 		SEC-CAF-RECOG-0004
    65 //! @SYMTestCaseDesc 		Check apparc recognition of a CAF DRM file
    66 //!				(Apparc_Recognize)
    67 //! @SYMPREQ			PREQ1951
    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
    72 //! @SYMTestType		CIT
    73 RUN_TEST_STEP 100 tcaf CAFApparcStep c:\tcaf\recognize.ini TestAgentContent
    74 END_TESTCASE 			SEC-CAF-RECOG-0004
    75 
    76 START_TESTCASE 			SEC-CAF-RECOG-1579
    77 //! @file
    78 //! @SYMTestCaseID 		SEC-CAF-RECOG-1579
    79 //! @SYMTestCaseDesc 		Check apparc recognition of a DRM file for Upper Case Mime Types
    80 //! @SYMDEF			DEF077443
    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
    85 //! @SYMTestType		CIT
    86 RUN_TEST_STEP 100 tcaf CAF_DEF077443_Step c:\tcaf\recognize.ini DEF077443_Content
    87 END_TESTCASE 			SEC-CAF-RECOG-1579
    88 
    89 
    90 
    91 
    92