|
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 Privacy |
|
15 // functional unit of the Common TSY. |
|
16 // |
|
17 // |
|
18 |
|
19 #ifndef CCTSYPRIVACYFU_H |
|
20 #define CCTSYPRIVACYFU_H |
|
21 |
|
22 #include <test/tefunit.h> |
|
23 |
|
24 #include <etelmm.h> |
|
25 |
|
26 #include "cctsycomponenttestbase.h" |
|
27 |
|
28 class CCTsyPrivacyFU : public CCtsyComponentTestBase |
|
29 { |
|
30 public: |
|
31 // Create a suite of all the tests |
|
32 static CTestSuite* CreateSuiteL(const TDesC& aName); |
|
33 |
|
34 public: |
|
35 // Individual test steps |
|
36 |
|
37 void TestSetPrivacy0001L(); |
|
38 void TestSetPrivacy0006L(); |
|
39 void TestSetPrivacy0011L(); |
|
40 void TestNotifyPrivacyConfirmation0001L(); |
|
41 void TestNotifyPrivacyConfirmation0002L(); |
|
42 void TestNotifyPrivacyConfirmation0004L(); |
|
43 void TestNotifyPrivacyConfirmation0006L(); |
|
44 void TestNotifyPrivacyConfirmation0007L(); |
|
45 void TestNotifyPrivacyConfirmation0009L(); |
|
46 void TestNotifyPrivacyConfirmation00011L(); |
|
47 void TestNotifyPrivacyConfirmation00012L(); |
|
48 void TestNotifyPrivacyConfirmation00014L(); |
|
49 void TestGetDefaultPrivacy0001L(); |
|
50 void TestSetDefaultPrivacy0001L(); |
|
51 void TestNotifyDefaultPrivacyChange0001L(); |
|
52 |
|
53 |
|
54 private: |
|
55 void DoSetPrivacyL(const TDesC& aLineName,RMobilePhone::TMobilePhonePrivacy aPrivacySetting); |
|
56 void DoNotifyPrivacyConfirmationL(const TDesC& aLineName); |
|
57 void DoCancelNotifyPrivacyConfirmationL(const TDesC& aLineName); |
|
58 void DoMultiNotifyPrivacyConfirmationL(const TDesC& aLineName); |
|
59 |
|
60 }; // class CCTsyPrivacyFU |
|
61 |
|
62 #endif // CCTSYPRIVACYFU_H |
|
63 |