phonebookengines/contactsmodel/tsrc/Integration/PerfFuncSuite/scripts/RandomBlobStep.script
changeset 0 e686773b3f54
child 24 0ba2181d7c28
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     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 "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 LOAD_SUITE Te_PerformanceFunctionalitySuite
       
    18 
       
    19 START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81156
       
    20 //! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81156
       
    21 //! @SYMTestType CIT
       
    22 //! @SYMTestPriority Medium
       
    23 //! @SYMPREQ 811
       
    24 //! @SYMTestCaseDesc Blob range test
       
    25 //! @SYMTestActions Create blob (binary object) of size X
       
    26 //! Populate X with random data
       
    27 //! Set all blobs in contact to X
       
    28 //! Commit contact
       
    29 //! Check value of all blob fields in contact 
       
    30 //! Repeat for where X equal 1 byte, 1kbyte, 50 kbyte, 100kbyte
       
    31 //! @SYMTestExpectedResults All stored blob fields should equal X
       
    32 RUN_TEST_STEP 500 Te_PerformanceFunctionalitySuite RandomBlobStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini BlobTests
       
    33 END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81156
       
    34 
       
    35 START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81157
       
    36 //! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81157
       
    37 //! @SYMTestType CIT
       
    38 //! @SYMTestPriority Medium
       
    39 //! @SYMPREQ 811
       
    40 //! @SYMTestCaseDesc Maximum Blob size test
       
    41 //! @SYMTestActions Create blob (binary object) of size X
       
    42 //! Populate X with random data
       
    43 //! Set all blobs in contact to X
       
    44 //! Commit contact
       
    45 //! Check error
       
    46 //! If KErrNoMemory error stop test and print X
       
    47 //! Check value of all blob fields in contact 
       
    48 //! Repeat for where X = X+1
       
    49 //! @SYMTestExpectedResults All stored blob fields should equal X
       
    50 //! Print Maximum possible blob size
       
    51 RUN_TEST_STEP 500 Te_PerformanceFunctionalitySuite RandomBlobStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini MaxBlob
       
    52 END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81157