summaryrefslogtreecommitdiffstats
path: root/plugins/contacts/symbian/contactsmodel/tsrc/integration/perffuncsuite/scripts/transactionsstep.script
blob: 8467278908be000b48080673570009cfcaa1ce02 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
//
// Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
// Contact: http://www.qt-project.org/legal
// 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-P81144
//! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81144
//! @SYMTestType CIT
//! @SYMTestPriority Low
//! @SYMPREQ 811
//! @SYMTestCaseDesc Nested transaction Test
//! @SYMTestActions Start Transaction A
//! Start Transaction B
//! Update field X in contact A
//! Commit transaction B
//! Check value of contact A
//! Update field Y in contact A
//! Revert transaction A
//! Check value of contact A
//! @SYMTestExpectedResults Contact A should be unchanged
RUN_TEST_STEP 100 Te_PerformanceFunctionalitySuite TransactionsStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini Nested
END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81144

START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81145
//! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81145
//! @SYMTestType CIT
//! @SYMTestPriority Low
//! @SYMPREQ 811
//! @SYMTestCaseDesc Commit/Revert Transaction Test
//! @SYMTestActions Start Transaction A
//! Perform set of operations X
//! Commit Transaction
//! Check value of all contacts within the database
//! Repeat test where X equals, no operations, single update operation, single read operation, single delete,  single create or 1000 CUD operations
//! Repeat test where all transactions are reverted
//! @SYMTestExpectedResults The contacts should be modified as specified by X when transactions are committed
//! The contacts should not be affected by X when transactions are reverted
RUN_TEST_STEP 100 Te_PerformanceFunctionalitySuite TransactionsStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini EmptyCommit
RUN_TEST_STEP 100 Te_PerformanceFunctionalitySuite TransactionsStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini EmptyRevert
RUN_TEST_STEP 100 Te_PerformanceFunctionalitySuite TransactionsStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini UpdateCommit
RUN_TEST_STEP 100 Te_PerformanceFunctionalitySuite TransactionsStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini UpdateRevert
RUN_TEST_STEP 100 Te_PerformanceFunctionalitySuite TransactionsStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini CreateCommit
RUN_TEST_STEP 100 Te_PerformanceFunctionalitySuite TransactionsStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini CreatRevert
RUN_TEST_STEP 100 Te_PerformanceFunctionalitySuite TransactionsStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini DeleteCommit
RUN_TEST_STEP 100 Te_PerformanceFunctionalitySuite TransactionsStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini DeleteRevert
RUN_TEST_STEP 500 Te_PerformanceFunctionalitySuite TransactionsStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini CudCommit
RUN_TEST_STEP 500 Te_PerformanceFunctionalitySuite TransactionsStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini CudRevert
END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81145

START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81146
//! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81146
//! @SYMTestType CIT
//! @SYMTestPriority Low
//! @SYMPREQ 811
//! @SYMTestCaseDesc Transaction Performance Test
//! @SYMTestActions Export 1000 type X contacts
//! Import contacts singly within a transaction, in groups of 50
//! Measure length of time to complete importing of all contacts
//! Store in Y
//! Repeat test where X equals: empty contacts, partially filled contacts or heavily filled contacts
//! Repeat test where all contacts are deleted after they are exported.
//! @SYMTestExpectedResults Y should take less than 500 seconds
RUN_TEST_STEP 1500 Te_PerformanceFunctionalitySuite TransactionsStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini EmptyPerfomance
RUN_TEST_STEP 1500 Te_PerformanceFunctionalitySuite TransactionsStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini EmptyEmptyPerformance
RUN_TEST_STEP 1500 Te_PerformanceFunctionalitySuite TransactionsStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini MediumPerformance
RUN_TEST_STEP 1500 Te_PerformanceFunctionalitySuite TransactionsStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini MediumEmptyPerformance
RUN_TEST_STEP 5000 Te_PerformanceFunctionalitySuite TransactionsStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini FullPerformance
RUN_TEST_STEP 5000 Te_PerformanceFunctionalitySuite TransactionsStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini FullEmptyPerformance
END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81146

START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81147
//! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81147
//! @SYMTestType CIT
//! @SYMTestPriority Low
//! @SYMPREQ 811
//! @SYMTestCaseDesc Multiple Commit Test
//! @SYMTestActions Open 1000 contacts
//! Set all fields to preset values
//! Commit All contacts
//! Check all field values
//! Repeat test within a transaction
//! @SYMTestExpectedResults All fields values should match the preset values
RUN_TEST_STEP 100 Te_PerformanceFunctionalitySuite TransactionsStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini MultipleCommit
RUN_TEST_STEP 100 Te_PerformanceFunctionalitySuite TransactionsStep c:\PerformanceFunc\configs\te_PerformanceFunctionalitySuite.ini TransactionMultiple
END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81147