24
|
1 |
// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// Test step definitions for the Personalisation functional unit.
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
/**
|
|
19 |
@internalTechnology
|
|
20 |
*/
|
|
21 |
|
|
22 |
#include "cctsyintegrationtestpersonalisation.h"
|
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
CCTSYIntegrationTestPersonalisationBase::CCTSYIntegrationTestPersonalisationBase(CEtelSessionMgr& aEtelSessionMgr)
|
|
28 |
: CCTSYIntegrationTestSuiteStepBase(aEtelSessionMgr)
|
|
29 |
/**
|
|
30 |
* Constructor
|
|
31 |
*/
|
|
32 |
{
|
|
33 |
}
|
|
34 |
|
|
35 |
CCTSYIntegrationTestPersonalisationBase::~CCTSYIntegrationTestPersonalisationBase()
|
|
36 |
/*
|
|
37 |
* Destructor
|
|
38 |
*/
|
|
39 |
{
|
|
40 |
}
|
|
41 |
|
|
42 |
|
|
43 |
CCTSYIntegrationTestPersonalisation0001::CCTSYIntegrationTestPersonalisation0001(CEtelSessionMgr& aEtelSessionMgr)
|
|
44 |
: CCTSYIntegrationTestPersonalisationBase(aEtelSessionMgr)
|
|
45 |
/**
|
|
46 |
* Constructor.
|
|
47 |
*/
|
|
48 |
{
|
|
49 |
SetTestStepName(CCTSYIntegrationTestPersonalisation0001::GetTestStepName());
|
|
50 |
}
|
|
51 |
|
|
52 |
CCTSYIntegrationTestPersonalisation0001::~CCTSYIntegrationTestPersonalisation0001()
|
|
53 |
/**
|
|
54 |
* Destructor.
|
|
55 |
*/
|
|
56 |
{
|
|
57 |
}
|
|
58 |
|
|
59 |
TVerdict CCTSYIntegrationTestPersonalisation0001::doTestStepL()
|
|
60 |
/**
|
|
61 |
* @SYMTestCaseID BA-CTSY-INT-PERS-0001
|
|
62 |
* @SYMFssID BA/CTSY/PERS-0001
|
|
63 |
* @SYMTestCaseDesc Get personalisation caps
|
|
64 |
* @SYMTestPriority High
|
|
65 |
* @SYMTestActions
|
|
66 |
* @SYMTestExpectedResults Pass - Caps returned correct.
|
|
67 |
* @SYMTestType CIT
|
|
68 |
* @SYMTestCaseDependencies live/automatic
|
|
69 |
*
|
|
70 |
* Reason for test: Verify caps returned are correct.
|
|
71 |
*
|
|
72 |
* @return - TVerdict code
|
|
73 |
*/
|
|
74 |
{
|
|
75 |
|
|
76 |
//
|
|
77 |
// SET UP
|
|
78 |
//
|
|
79 |
|
|
80 |
|
|
81 |
|
|
82 |
//
|
|
83 |
// SET UP END
|
|
84 |
//
|
|
85 |
|
|
86 |
StartTest();
|
|
87 |
|
|
88 |
//
|
|
89 |
// TEST START
|
|
90 |
//
|
|
91 |
|
|
92 |
|
|
93 |
// Check RMobilePhone::GetPersonalisationCaps returns caps in set of RMobilePhone::KCapsPersonalisedNetwork |
|
|
94 |
|
|
95 |
// RMobilePhone::KCapsPersonalisedNetworkSub |
|
|
96 |
|
|
97 |
// RMobilePhone::KCapsPersonalisedServiceProvider |
|
|
98 |
|
|
99 |
// RMobilePhone::KCapsPersonalisedCorporate |
|
|
100 |
|
|
101 |
// RMobilePhone::KCapsPersonalisedUSim
|
|
102 |
|
|
103 |
|
|
104 |
//
|
|
105 |
// TEST END
|
|
106 |
//
|
|
107 |
|
|
108 |
StartCleanup();
|
|
109 |
|
|
110 |
// Put any required test clean up here, then remove this comment
|
|
111 |
|
|
112 |
return TestStepResult();
|
|
113 |
}
|
|
114 |
|
|
115 |
TPtrC CCTSYIntegrationTestPersonalisation0001::GetTestStepName()
|
|
116 |
/**
|
|
117 |
* @return The test step name.
|
|
118 |
*/
|
|
119 |
{
|
|
120 |
return _L("CCTSYIntegrationTestPersonalisation0001");
|
|
121 |
}
|
|
122 |
|
|
123 |
|
|
124 |
|