|
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 // |
|
15 |
|
16 #ifndef CTESTPOPS5TEST_H |
|
17 #define CTESTPOPS5TEST_H |
|
18 |
|
19 |
|
20 #include <test/tefunit.h> |
|
21 #include "emailtestutils.h" |
|
22 #include <cemailaccounts.h> |
|
23 #include "cactivewaiter.h" |
|
24 |
|
25 |
|
26 class CTestPOPs5Test : public CActiveTestFixture |
|
27 // WARNING: Despite being a C class, CActiveTestFixture is NOT derrived from CBase |
|
28 // ... so don't expect your data members to be zero'ed |
|
29 { |
|
30 |
|
31 public: |
|
32 CTestPOPs5Test(); |
|
33 virtual ~CTestPOPs5Test(); |
|
34 void SetupL(); |
|
35 void TearDownL(); |
|
36 void TestRunPops5CopyToLocalLTestsL(); |
|
37 static CTestSuite* CreateSuiteL(const TDesC& aName); |
|
38 void ConnectToRemoteServerL(); |
|
39 void DisconnectL(); |
|
40 private: |
|
41 CEmailTestUtils* iTestUtils; |
|
42 CImPop3Settings* isettings ; |
|
43 TMsvId ipop3Service; |
|
44 CBaseServerMtm* iPopServerMtm; |
|
45 CActiveWaiter* iActiveWaiter; |
|
46 CMsvEntrySelection* iSel; |
|
47 TPop3Cmds iCommand; |
|
48 TPopAccount iPopAccount; |
|
49 CMsvEntrySelection* iSelection; |
|
50 |
|
51 }; |
|
52 |
|
53 #endif // CTestPOPs5Test.h |