os/security/contentmgmt/referencedrmagent/tcaf/scripts/drmfileperformance_armv5.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 // DRM file performance test cases for DEF119317.
    18 
    19 LOAD_SUITE tcaf
    20 
    21 START_TESTCASE 			SEC-CAF-DRMFP-0001
    22 //! @file
    23 //! @SYMTestCaseID 		SEC-CAF-DRMFP-0001
    24 //! @SYMTestCaseDesc 		DRM File Open Performance Test.Checks if the time taken for opening a plaintext file falls within the value as specified in the INI file.
    25 //!				(FileOpenPerformance)
    26 //! @SYMDEF			DEF119317
    27 //! @SYMTestStatus		Implemented
    28 //! @SYMTestPriority		Normal
    29 //! @SYMTestActions		Attempt to obtain the time taken to open a plaintext ile.
    30 //! @SYMTestExpectedResults	Test fails if the time to open the plaintext file exceeds the value specified in the INI file.
    31 
    32 RUN_TEST_STEP 100 tcaf CAFDRMFileOpenPerformanceStep z:\tcaf\consumerstep.ini DRMFileOpenPerformance
    33 END_TESTCASE 			SEC-CAF-DRMFP-0001
    34 
    35 START_TESTCASE 			SEC-CAF-DRMFP-0002
    36 //! @file
    37 //! @SYMTestCaseID 		SEC-CAF-DRMFP-0002
    38 //! @SYMTestCaseDesc 		DRM File Open Performance Test.Checks if the time taken for opening a file containing a single content object falls within the value as specified in the INI file.
    39 //!				(FileOpenPerformance)
    40 //! @SYMDEF			DEF119317
    41 //! @SYMTestStatus		Implemented
    42 //! @SYMTestPriority		Normal
    43 //! @SYMTestActions		Attempt to obtain the time taken to open a file containing single content object.
    44 //! @SYMTestExpectedResults	Test fails if the time to open a file containing single content object exceeds the value specified in the INI file.
    45 
    46 RUN_TEST_STEP 100 tcaf CAFDRMFileOpenPerformanceStep z:\tcaf\consumerstep.ini DRMFileOpenPerformance_SingleRTAObject
    47 END_TESTCASE 			SEC-CAF-DRMFP-0002
    48 
    49 START_TESTCASE 			SEC-CAF-DRMFP-0003
    50 //! @file
    51 //! @SYMTestCaseID 		SEC-CAF-DRMFP-0003
    52 //! @SYMTestCaseDesc 		DRM File Open Performance Test.Checks if the time taken for opening a file containing multiple content objects falls within the value as specified in the INI file.
    53 //!				(FileOpenPerformance)
    54 //! @SYMDEF			DEF119317
    55 //! @SYMTestStatus		Implemented
    56 //! @SYMTestPriority		Normal
    57 //! @SYMTestActions		Attempt to obtain the time taken to open a file containing multiple content objects.
    58 //! @SYMTestExpectedResults	Test fails if the time to open a file containing multiple content objects exceeds the value specified in the INI file.
    59 
    60 RUN_TEST_STEP 100 tcaf CAFDRMFileOpenPerformanceStep z:\tcaf\consumerstep.ini DRMFileOpenPerformance_MultipleRTAObject
    61 END_TESTCASE 			SEC-CAF-DRMFP-0003
    62 
    63