|
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 // functional unit of the SAT. |
|
15 // |
|
16 |
|
17 |
|
18 |
|
19 /** |
|
20 @file The TEFUnit header file which tests the GetChannelStatus |
|
21 */ |
|
22 |
|
23 #ifndef CCSATGETCHANNELSTATUSFU_H |
|
24 #define CCSATGETCHANNELSTATUSFU_H |
|
25 |
|
26 #include <test/tefunit.h> |
|
27 |
|
28 #include <etelmm.h> |
|
29 #include <etelmmcs.h> |
|
30 |
|
31 #include "ccsatcomponenttestbase.h" |
|
32 |
|
33 |
|
34 class CCSatGetChannelStatusFU : public CCSatComponentTestBase |
|
35 { |
|
36 public: |
|
37 // Create a suite of all the tests |
|
38 static CTestSuite* CreateSuiteL(const TDesC& aName); |
|
39 |
|
40 public: |
|
41 // Individual test steps |
|
42 |
|
43 void TestNotifyGetChannelStatusPCmd0001L(); |
|
44 void TestNotifyGetChannelStatusPCmd0002L(); |
|
45 void TestNotifyGetChannelStatusPCmd0004L(); |
|
46 |
|
47 static void PrepareTlv(TTlv& aTlv); |
|
48 |
|
49 private: |
|
50 |
|
51 void CompleteDispatchL(TPtrC8 aTlvDsc, TInt aRes = KErrNone); |
|
52 void PrepareDispatchL(); |
|
53 void DoTestTerminalResponseL(); |
|
54 |
|
55 }; // class CCSatGetChannelStatusFU |
|
56 |
|
57 #endif // CCSATGETCHANNELSTATUSFU_H |
|
58 |