contentmgmt/referencedrmagent/tcaf/scripts/drmfileperformance_armv5.script
changeset 15 da2ae96f639b
child 29 ece3df019add
equal deleted inserted replaced
10:afc583cfa176 15:da2ae96f639b
       
     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 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
    18 // All rights reserved.
       
    19 // This component and the accompanying materials are made available
       
    20 // under the terms of the License "Symbian Foundation License v1.0"
       
    21 // which accompanies this distribution, and is available
       
    22 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
    23 //
       
    24 // Initial Contributors:
       
    25 // Nokia Corporation - initial contribution.
       
    26 //
       
    27 // Contributors:
       
    28 //
       
    29 // Description:
       
    30 //
       
    31 // DRM file performance test cases for DEF119317.
       
    32 
       
    33 LOAD_SUITE tcaf
       
    34 
       
    35 START_TESTCASE 			SEC-CAF-DRMFP-0001
       
    36 //! @file
       
    37 //! @SYMTestCaseID 		SEC-CAF-DRMFP-0001
       
    38 //! @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.
       
    39 //!				(FileOpenPerformance)
       
    40 //! @SYMDEF			DEF119317
       
    41 //! @SYMTestStatus		Implemented
       
    42 //! @SYMTestPriority		Normal
       
    43 //! @SYMTestActions		Attempt to obtain the time taken to open a plaintext ile.
       
    44 //! @SYMTestExpectedResults	Test fails if the time to open the plaintext file exceeds the value specified in the INI file.
       
    45 
       
    46 RUN_TEST_STEP 100 tcaf CAFDRMFileOpenPerformanceStep c:\tcaf\consumerstep.ini DRMFileOpenPerformance
       
    47 END_TESTCASE 			SEC-CAF-DRMFP-0001
       
    48 
       
    49 START_TESTCASE 			SEC-CAF-DRMFP-0002
       
    50 //! @file
       
    51 //! @SYMTestCaseID 		SEC-CAF-DRMFP-0002
       
    52 //! @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.
       
    53 //!				(FileOpenPerformance)
       
    54 //! @SYMDEF			DEF119317
       
    55 //! @SYMTestStatus		Implemented
       
    56 //! @SYMTestPriority		Normal
       
    57 //! @SYMTestActions		Attempt to obtain the time taken to open a file containing single content object.
       
    58 //! @SYMTestExpectedResults	Test fails if the time to open a file containing single content object exceeds the value specified in the INI file.
       
    59 
       
    60 RUN_TEST_STEP 100 tcaf CAFDRMFileOpenPerformanceStep c:\tcaf\consumerstep.ini DRMFileOpenPerformance_SingleRTAObject
       
    61 END_TESTCASE 			SEC-CAF-DRMFP-0002
       
    62 
       
    63 START_TESTCASE 			SEC-CAF-DRMFP-0003
       
    64 //! @file
       
    65 //! @SYMTestCaseID 		SEC-CAF-DRMFP-0003
       
    66 //! @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.
       
    67 //!				(FileOpenPerformance)
       
    68 //! @SYMDEF			DEF119317
       
    69 //! @SYMTestStatus		Implemented
       
    70 //! @SYMTestPriority		Normal
       
    71 //! @SYMTestActions		Attempt to obtain the time taken to open a file containing multiple content objects.
       
    72 //! @SYMTestExpectedResults	Test fails if the time to open a file containing multiple content objects exceeds the value specified in the INI file.
       
    73 
       
    74 RUN_TEST_STEP 100 tcaf CAFDRMFileOpenPerformanceStep c:\tcaf\consumerstep.ini DRMFileOpenPerformance_MultipleRTAObject
       
    75 END_TESTCASE 			SEC-CAF-DRMFP-0003
       
    76 
       
    77