email/imap4mtm/imapsession/test/inc/ctestimapdelete.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 // Copyright (c) 2006-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 CTESTIMAPDELETE_H
       
    17 #define CTESTIMAPDELETE_H
       
    18 
       
    19 #include "cfakeinputstream.h"
       
    20 #include "cfakeoutputstream.h"
       
    21 #include <test/tefunit.h>
       
    22 
       
    23 // Forward Declarations
       
    24 class CFakeInputStream;
       
    25 class CFakeOutputStream;
       
    26 class CActiveWaiter;
       
    27 class CImapSession;
       
    28 
       
    29 /**
       
    30 This test fixture tests CImapDelete.
       
    31 @internalTechnology
       
    32 @prototype
       
    33 */
       
    34 class CTestImapDelete : public CActiveTestFixture
       
    35 // Note that all test suites must begin with "CTest"
       
    36 // WARNING: Despite being a C class, CActiveTestFixture is NOT derrived from CBase
       
    37 // ... so don't expect your data members to be zero'ed
       
    38 	{
       
    39 public:
       
    40 	// Constructor & Destructor (explicitly virtual because CTestFixture is NOT derrived from CBase)
       
    41 	CTestImapDelete();
       
    42 	virtual ~CTestImapDelete();
       
    43 	
       
    44 	// SetUp and TearDown code (optional)
       
    45 	virtual void SetupL();
       
    46 	virtual void TearDownL();
       
    47 
       
    48 	// Tests
       
    49 	void TestDeleteL();
       
    50 				
       
    51 	static CTestSuite* CreateSuiteL(const TDesC& aName);
       
    52 	
       
    53 private:
       
    54 	CFakeInputStream* iInputStream;
       
    55 	CFakeOutputStream* iOutputStream;
       
    56 	CActiveWaiter* iActiveWaiter;
       
    57 	CImapSession* iImapSession;
       
    58 	};
       
    59 	
       
    60 #endif CTESTIMAPDELETE_H