summaryrefslogtreecommitdiffstats
path: root/plugins/contacts/symbian/contactsmodel/tsrc/integration/cntperftest/scripts/testcontactviewunderbackuprestorestep.script
blob: 00476c93be18ad192cbbe9eb44b2d0f9a003d2c0 (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
//
// Copyright (c) 2009 Nokia Corporation 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: 
//
//! @file
//! @SYMTestSuiteName	TestContactViewSuite
//! @SYMScriptTestEnvironment

PRINT Run all TestContactView tests

LOAD_SUITE CntPerfTestServer

START_TESTCASE	PIM-APPENG-CONTACTS-VIEWS-I-0051-HP
//! @SYMTestCaseID		PIM-APPENG-CONTACTS-VIEWS-I-0051-HP
//! @SYMTestCaseDesc 		Pass the valid contact item Id and find the index of the contact item id in the view
//!				under backup restore conditions.
//! @SYMPREQ			1187
//! @SYMTestStatus 		Implemented
//! @SYMTestPriority 		High
//! @SYMTestActions 		1.Construct a sub View or find view or group view or filtered view or concatenated view. 
//!				2.After the view is constructed, initate system wide backup restore
//!				3.Find the index of the contact item in the view by passing the valid contact item id in the API FindL(). 
//!				4.Verify if the index is retrieved correctly by comparing it with the expected result that is passed from the ini file.
//! @SYMTestExpectedResults 	The index of the contact item Id is retrieved correctly.
//! @SYMTestType 		CIT

RUN_TEST_STEP 1000 CntPerfTestServer TestContactViewAccessStep c:\cntviewtest\configs\TestContactViewUnderBackupRestoreStep.ini gettheindexofcontactid
END_TESTCASE PIM-APPENG-CONTACTS-VIEWS-I-0051-HP

START_TESTCASE	PIM-APPENG-CONTACTS-VIEWS-I-0055-HP
//! @SYMTestCaseID		PIM-APPENG-CONTACTS-VIEWS-I-0055-HP
//! @SYMTestCaseDesc 		Get the underlying views sort order under backup restore conditions
//! @SYMPREQ			1187
//! @SYMTestStatus 		Implemented
//! @SYMTestPriority 		High
//! @SYMTestActions 		1.Construct a find view or local view or group view or filtered view or concatenated view or sub view.
//!				2.After the view is constructed, 
//!				3.Initiate system wide backup restore
//!				4.Get the underlying view’s sort order.
//!				5.Verify whether the sort order is retrieved correctly by comparing it with the expected result that is passed from the ini file.
//! @SYMTestExpectedResults 	The sort order of the view is retrieved correctly.
//! @SYMTestType 		CIT

RUN_TEST_STEP 1000 CntPerfTestServer TestContactViewAccessStep c:\cntviewtest\configs\TestContactViewUnderBackupRestoreStep.ini getsortorder
END_TESTCASE PIM-APPENG-CONTACTS-VIEWS-I-0055-HP


START_TESTCASE	PIM-APPENG-CONTACTS-VIEWS-I-0056-HP
//! @SYMTestCaseID		PIM-APPENG-CONTACTS-VIEWS-I-0056-HP
//! @SYMTestCaseDesc 		Get the contact view preferences under backup restore conditions
//! @SYMPREQ			1187
//! @SYMTestStatus 		Implemented
//! @SYMTestPriority 		High
//! @SYMTestActions 		1.Construct a find view or local view or group view or filtered view or concatenated view or sub view.
//!				2.After the view is constructed,
//!				3.Initiate system wide backup restore
//!				4.Get the contact view preferences.
//!				5.Verify whether the contact view preference is retrieved correctly by comparing it with the expected result that is passed from the ini file.
//! @SYMTestExpectedResults 	The contact view’s preference is retrieved correctly.
//! @SYMTestType 		CIT


RUN_TEST_STEP 1000 CntPerfTestServer TestContactViewAccessStep c:\cntviewtest\configs\TestContactViewUnderBackupRestoreStep.ini getviewpreference
END_TESTCASE PIM-APPENG-CONTACTS-VIEWS-I-0056-HP

PRINT Completed TestCalInterimApi_Tests