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 |
// The TEFUnit header file which tests the CallEmergency
|
|
15 |
// functional unit of the Common TSY.
|
|
16 |
//
|
|
17 |
//
|
|
18 |
|
|
19 |
#ifndef CCTSYCALLEMERGENCYFU_H
|
|
20 |
#define CCTSYCALLEMERGENCYFU_H
|
|
21 |
|
|
22 |
#include <test/tefunit.h>
|
|
23 |
|
|
24 |
#include <etelmm.h>
|
|
25 |
#include <etelmmcs.h>
|
|
26 |
|
|
27 |
#include "cctsycomponenttestbase.h"
|
|
28 |
|
|
29 |
const TUid KThisProcessUID = {0x101F777C};
|
|
30 |
//UID of the test suite process, used to publish the properties that control the SSM Stub
|
|
31 |
|
|
32 |
class CCTsyCallEmergencyFU : public CCtsyComponentTestBase
|
|
33 |
{
|
|
34 |
public:
|
|
35 |
// Create a suite of all the tests
|
|
36 |
static CTestSuite* CreateSuiteL(const TDesC& aName);
|
|
37 |
|
|
38 |
public:
|
|
39 |
// Individual test steps
|
|
40 |
|
|
41 |
void TestDialEmergencyCall0001L();
|
|
42 |
void TestDialEmergencyCall0002L();
|
|
43 |
void TestDialEmergencyCall0003L();
|
|
44 |
void TestDialEmergencyCall0004L();
|
|
45 |
void TestDialEmergencyCall0005L();
|
|
46 |
void TestDialEmergencyCall0001bL();
|
|
47 |
void TestDialEmergencyCall0001cL();
|
|
48 |
|
|
49 |
// test for differen answer from SSMPlugin
|
|
50 |
void TestDialEmergencyCall0001dL();
|
|
51 |
void TestDialEmergencyCall0001eL();
|
|
52 |
|
|
53 |
//test for dialling an emergency call
|
|
54 |
//when the modem boot sequence has not run
|
|
55 |
void TestDialEmergencyCall0001fL();
|
|
56 |
|
|
57 |
|
|
58 |
private:
|
|
59 |
|
|
60 |
void FillInEmergencyCallInfo(RMobileCall::TMobileCallInfoV1 &aInfo,
|
|
61 |
const TInt aCallId,
|
|
62 |
const TName& aCallName,
|
|
63 |
const RMobilePhone::TMobileService aService);
|
|
64 |
|
|
65 |
}; // class CCTsyCallEmergencyFU
|
|
66 |
|
|
67 |
#endif // CCTSYCALLEMERGENCYFU_H
|
|
68 |
|