|
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 CallOwnership |
|
15 // functional unit of the Common TSY. |
|
16 // |
|
17 // |
|
18 |
|
19 #ifndef CCTSYCALLOWNERSHIPFU_H |
|
20 #define CCTSYCALLOWNERSHIPFU_H |
|
21 |
|
22 #include <test/tefunit.h> |
|
23 |
|
24 #include <etelmm.h> |
|
25 #include <etelmmcs.h> |
|
26 |
|
27 #include "cctsycomponenttestbase.h" |
|
28 |
|
29 class CCTsyCallOwnershipFU : 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 TestLoanDataPort0001L(); |
|
39 void TestLoanDataPort0006L(); |
|
40 void TestLoanDataPort0007L(); |
|
41 void TestLoanDataPort0008L(); |
|
42 void TestLoanDataPort00011L(); |
|
43 void TestRecoverDataPort0001L(); |
|
44 void TestRecoverDataPort0006L(); |
|
45 void TestRecoverDataPort00011L(); |
|
46 void TestAcquireOwnership0001L(); |
|
47 void TestAcquireOwnership0006L(); |
|
48 void TestAcquireOwnership0007L(); |
|
49 void TestAcquireOwnership0009L(); |
|
50 void TestAcquireOwnership00011L(); |
|
51 void TestTransferOwnership0001L(); |
|
52 void TestTransferOwnership0006L(); |
|
53 void TestTransferOwnership00011L(); |
|
54 |
|
55 |
|
56 private: |
|
57 |
|
58 void TestLoanDataPortNotSupportedL(const TDesC &aName, const TInt aCallId); |
|
59 void TestRecoverDataPortNotSupportedL(const TDesC &aName); |
|
60 void TestAcquireOwnershipNotSupportedL(const TDesC &aName); |
|
61 void TestTransferOwnershipNotSupportedL(const TDesC &aName); |
|
62 |
|
63 }; // class CCTsyCallOwnershipFU |
|
64 |
|
65 #endif // CCTSYCALLOWNERSHIPFU_H |
|
66 |