|
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 Fax |
|
15 // functional unit of the Common TSY. |
|
16 // |
|
17 // |
|
18 |
|
19 #ifndef CCTSYFAXFU_H |
|
20 #define CCTSYFAXFU_H |
|
21 |
|
22 #include <test/tefunit.h> |
|
23 |
|
24 #include <etelmm.h> |
|
25 #include <etelmmcs.h> |
|
26 |
|
27 #include "cctsycomponenttestbase.h" |
|
28 |
|
29 class CCTsyFaxFU : public CCtsyComponentTestBase |
|
30 { |
|
31 public: |
|
32 // Create a suite of all the tests |
|
33 static CTestSuite* CreateSuiteL(const TDesC& aName); |
|
34 |
|
35 public: |
|
36 // Individual test steps |
|
37 |
|
38 void TestWaitForEndOfPage0001L(); |
|
39 void TestTerminateFaxSession0001L(); |
|
40 void TestGetFaxSettings0001L(); |
|
41 void TestSetFaxSettings0001L(); |
|
42 void TestAdoptFaxSharedHeaderFile0001L(); |
|
43 void TestRead0001L(); |
|
44 void TestWrite0001L(); |
|
45 |
|
46 protected: |
|
47 ~CCTsyFaxFU(); |
|
48 |
|
49 private: |
|
50 void OpenLineVoiceLC(RLine& aLine); |
|
51 void OpenCallVoiceLC(RLine& aLine, RCall& aCall); |
|
52 void OpenLineDataLC(RLine& aLine); |
|
53 void OpenCallDataLC(RLine& aLine, RCall& aCall); |
|
54 void OpenLineFaxLC(RLine& aLine); |
|
55 void OpenCallFaxLC(RLine& aLine, RCall& aCall); |
|
56 void OpenFaxL(); |
|
57 |
|
58 }; // class CCTsyFaxFU |
|
59 |
|
60 #endif // CCTSYFAXFU_H |
|
61 |