|
1 // Copyright (c) 2008-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 HWRMFMTXSETFREQ_CSTEP_H_ |
|
17 #define HWRMFMTXSETFREQ_CSTEP_H_ |
|
18 |
|
19 //Include the suite header |
|
20 #include "CSuite.h" |
|
21 |
|
22 #include "HWRMServer.h" |
|
23 #include "HWRMConfiguration.h" |
|
24 |
|
25 |
|
26 class CHWRMFmTxSetFreqStep: public CCapabilityTestStep |
|
27 { |
|
28 |
|
29 public: |
|
30 |
|
31 //Get the version of the server to be called |
|
32 TVersion Version() |
|
33 { |
|
34 return TVersion(KServerVersionMajor , KServerVersionMinor, KServerVersionBuild); |
|
35 } |
|
36 |
|
37 |
|
38 //Constructor called from the respective Suite.cpp from their "AddTestStep" function |
|
39 CHWRMFmTxSetFreqStep() ; |
|
40 |
|
41 //Always clean your mess |
|
42 ~CHWRMFmTxSetFreqStep() |
|
43 { |
|
44 tChildThread.Close(); |
|
45 } |
|
46 |
|
47 //This is the Function called from "doTestStepL" by the test Suite,and it creates an |
|
48 //child thread which internally calls the corresponding Exec_SendReceive_SERVERNAME fn. |
|
49 TVerdict MainThread(); |
|
50 |
|
51 //Here's where the connection and testing the message takes place |
|
52 TInt Exec_SendReceive(); |
|
53 |
|
54 }; |
|
55 |
|
56 #endif /*HWRMFMTXSETFREQ_CSTEP_H_*/ |