equal
deleted
inserted
replaced
|
1 // Copyright (c) 2005-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 // |
|
15 |
|
16 #ifndef __TE_ECHO_TESTSTEP_BASE__ |
|
17 #define __TE_ECHO_TESTSTEP_BASE__ |
|
18 |
|
19 #include <test/testexecutestepbase.h> |
|
20 #include "Te_EchoMacros.h" |
|
21 |
|
22 #include <etelmm.h> |
|
23 #include <etelmmcs.h> |
|
24 |
|
25 _LIT(KEchoTestStepName,"EchoTest"); |
|
26 const TInt KRemoteNum=12; |
|
27 |
|
28 class CEchoTestStep : public CTestStep |
|
29 { |
|
30 public: |
|
31 CEchoTestStep(); |
|
32 virtual TVerdict doTestStepPreambleL(); |
|
33 virtual TVerdict doTestStepPostambleL(); |
|
34 virtual TVerdict doTestStepL(); |
|
35 |
|
36 private: |
|
37 void AnswerIncomingCallTestL(); |
|
38 void DialRemoteModemTestL(); |
|
39 |
|
40 private: |
|
41 TRequestStatus iStatus; |
|
42 RTelServer iTelServer; |
|
43 RMobilePhone iPhone; |
|
44 RPhone::TCaps iPhoneCaps; |
|
45 TBuf8<KRemoteNum> iRemoteNumber; |
|
46 }; |
|
47 |
|
48 #endif // __TE_ECHO_TESTSTEP_BASE__ |