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