|
1 // Copyright (c) 2004-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 |
|
17 |
|
18 #ifndef __CMTFTESTACTIONGETIMAPACCOUNTSETTINGS_H__ |
|
19 #define __CMTFTESTACTIONGETIMAPACCOUNTSETTINGS_H__ |
|
20 |
|
21 #include "CMtfSynchronousTestAction.h" |
|
22 |
|
23 class CEmailAccounts; |
|
24 class TImapAccount; |
|
25 class CImImap4Settings; |
|
26 class CImSmtpSettings; |
|
27 class CImIAPPreferences; |
|
28 |
|
29 _LIT( KTestActionGetImapAccountSettings,"GetImapAccountSettings"); |
|
30 |
|
31 class CMtfTestActionGetImapAccountSettings : public CMtfSynchronousTestAction |
|
32 { |
|
33 public: |
|
34 static CMtfTestAction* NewL( CMtfTestCase& aTestCase,CMtfTestActionParameters* aActionParameters ); |
|
35 virtual void ExecuteActionL(); |
|
36 ~CMtfTestActionGetImapAccountSettings(); |
|
37 |
|
38 private: |
|
39 CMtfTestActionGetImapAccountSettings(CMtfTestCase& aTestCase); |
|
40 |
|
41 void LoadSettingsL(CEmailAccounts& aAccounts, const TImapAccount& aAccount, CImImap4Settings& aImapSettings, CImIAPPreferences& aImapIapSettings, CImSmtpSettings& aSmtpSettings, CImIAPPreferences& aSmtpIapSettings); |
|
42 }; |
|
43 |
|
44 |
|
45 #endif // __CMTFTESTACTIONGETIMAPACCOUNTSETTINGS_H__ |