os/security/contentmgmt/referencedrmagent/tcaf/scripts/drmfileperformance_armv5.script
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/security/contentmgmt/referencedrmagent/tcaf/scripts/drmfileperformance_armv5.script	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,63 @@
     1.4 +//
     1.5 +// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +// All rights reserved.
     1.7 +// This component and the accompanying materials are made available
     1.8 +// under the terms of the License "Eclipse Public License v1.0"
     1.9 +// which accompanies this distribution, and is available
    1.10 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +//
    1.12 +// Initial Contributors:
    1.13 +// Nokia Corporation - initial contribution.
    1.14 +//
    1.15 +// Contributors:
    1.16 +//
    1.17 +// Description: 
    1.18 +//
    1.19 +
    1.20 +// DRM file performance test cases for DEF119317.
    1.21 +
    1.22 +LOAD_SUITE tcaf
    1.23 +
    1.24 +START_TESTCASE 			SEC-CAF-DRMFP-0001
    1.25 +//! @file
    1.26 +//! @SYMTestCaseID 		SEC-CAF-DRMFP-0001
    1.27 +//! @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.
    1.28 +//!				(FileOpenPerformance)
    1.29 +//! @SYMDEF			DEF119317
    1.30 +//! @SYMTestStatus		Implemented
    1.31 +//! @SYMTestPriority		Normal
    1.32 +//! @SYMTestActions		Attempt to obtain the time taken to open a plaintext ile.
    1.33 +//! @SYMTestExpectedResults	Test fails if the time to open the plaintext file exceeds the value specified in the INI file.
    1.34 +
    1.35 +RUN_TEST_STEP 100 tcaf CAFDRMFileOpenPerformanceStep z:\tcaf\consumerstep.ini DRMFileOpenPerformance
    1.36 +END_TESTCASE 			SEC-CAF-DRMFP-0001
    1.37 +
    1.38 +START_TESTCASE 			SEC-CAF-DRMFP-0002
    1.39 +//! @file
    1.40 +//! @SYMTestCaseID 		SEC-CAF-DRMFP-0002
    1.41 +//! @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.
    1.42 +//!				(FileOpenPerformance)
    1.43 +//! @SYMDEF			DEF119317
    1.44 +//! @SYMTestStatus		Implemented
    1.45 +//! @SYMTestPriority		Normal
    1.46 +//! @SYMTestActions		Attempt to obtain the time taken to open a file containing single content object.
    1.47 +//! @SYMTestExpectedResults	Test fails if the time to open a file containing single content object exceeds the value specified in the INI file.
    1.48 +
    1.49 +RUN_TEST_STEP 100 tcaf CAFDRMFileOpenPerformanceStep z:\tcaf\consumerstep.ini DRMFileOpenPerformance_SingleRTAObject
    1.50 +END_TESTCASE 			SEC-CAF-DRMFP-0002
    1.51 +
    1.52 +START_TESTCASE 			SEC-CAF-DRMFP-0003
    1.53 +//! @file
    1.54 +//! @SYMTestCaseID 		SEC-CAF-DRMFP-0003
    1.55 +//! @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.
    1.56 +//!				(FileOpenPerformance)
    1.57 +//! @SYMDEF			DEF119317
    1.58 +//! @SYMTestStatus		Implemented
    1.59 +//! @SYMTestPriority		Normal
    1.60 +//! @SYMTestActions		Attempt to obtain the time taken to open a file containing multiple content objects.
    1.61 +//! @SYMTestExpectedResults	Test fails if the time to open a file containing multiple content objects exceeds the value specified in the INI file.
    1.62 +
    1.63 +RUN_TEST_STEP 100 tcaf CAFDRMFileOpenPerformanceStep z:\tcaf\consumerstep.ini DRMFileOpenPerformance_MultipleRTAObject
    1.64 +END_TESTCASE 			SEC-CAF-DRMFP-0003
    1.65 +
    1.66 +