summaryrefslogtreecommitdiffstats
path: root/plugins/contacts/symbian/contactsmodel/tsrc/integration/perffuncsuite/scripts/randomblobstep.script
blob: b1c461eb5ee41141500c15f98263a442de9faf2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//
// Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description: 
//

LOAD_SUITE Te_PerformanceFunctionalitySuite

START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81156
//! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81156
//! @SYMTestType CIT
//! @SYMTestPriority Medium
//! @SYMPREQ 811
//! @SYMTestCaseDesc Blob range test
//! @SYMTestActions Create blob (binary object) of size X
//! Populate X with random data
//! Set all blobs in contact to X
//! Commit contact
//! Check value of all blob fields in contact 
//! Repeat for where X equal 1 byte, 1kbyte, 50 kbyte, 100kbyte
//! @SYMTestExpectedResults All stored blob fields should equal X
RUN_TEST_STEP 500 Te_PerformanceFunctionalitySuite RandomBlobStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini BlobTests
END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81156

START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81157
//! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81157
//! @SYMTestType CIT
//! @SYMTestPriority Medium
//! @SYMPREQ 811
//! @SYMTestCaseDesc Maximum Blob size test
//! @SYMTestActions Create blob (binary object) of size X
//! Populate X with random data
//! Set all blobs in contact to X
//! Commit contact
//! Check error
//! If KErrNoMemory error stop test and print X
//! Check value of all blob fields in contact 
//! Repeat for where X = X+1
//! @SYMTestExpectedResults All stored blob fields should equal X
//! Print Maximum possible blob size
RUN_TEST_STEP 500 Te_PerformanceFunctionalitySuite RandomBlobStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini MaxBlob
END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81157