os/security/contentmgmt/referencedrmagent/tcaf/scripts/drmfileperformance_armv5.script
First public contribution.
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".
9 // Initial Contributors:
10 // Nokia Corporation - initial contribution.
17 // DRM file performance test cases for DEF119317.
21 START_TESTCASE SEC-CAF-DRMFP-0001
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)
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.
32 RUN_TEST_STEP 100 tcaf CAFDRMFileOpenPerformanceStep z:\tcaf\consumerstep.ini DRMFileOpenPerformance
33 END_TESTCASE SEC-CAF-DRMFP-0001
35 START_TESTCASE SEC-CAF-DRMFP-0002
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)
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.
46 RUN_TEST_STEP 100 tcaf CAFDRMFileOpenPerformanceStep z:\tcaf\consumerstep.ini DRMFileOpenPerformance_SingleRTAObject
47 END_TESTCASE SEC-CAF-DRMFP-0002
49 START_TESTCASE SEC-CAF-DRMFP-0003
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)
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.
60 RUN_TEST_STEP 100 tcaf CAFDRMFileOpenPerformanceStep z:\tcaf\consumerstep.ini DRMFileOpenPerformance_MultipleRTAObject
61 END_TESTCASE SEC-CAF-DRMFP-0003