email/pop3andsmtpmtm/clientmtms/test/inc/ctestsmtpmobilitysettings.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     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 //
       
    15 
       
    16 #ifndef __CTESTSMTPMOBILITYSETTINGS_H__
       
    17 #define __CTESTSMTPMOBILITYSETTINGS_H__
       
    18 
       
    19 #include <test/tefunit.h>
       
    20 
       
    21 class CImSmtpMobilitySettings;
       
    22 
       
    23 /**
       
    24 @internalTechnology
       
    25 @prototype
       
    26 */
       
    27 class CTestSmtpMobilitySettings : public CActiveTestFixture
       
    28 	{
       
    29 public:
       
    30 	CTestSmtpMobilitySettings();
       
    31 	~CTestSmtpMobilitySettings();
       
    32 	
       
    33 	virtual void SetupL();
       
    34 
       
    35 	void SetValuesL(CImSmtpMobilitySettings& aSettings);
       
    36 	void CheckSettingsEmpty(const CImSmtpMobilitySettings& aSettings);
       
    37 	void CheckSettingsSet(const CImSmtpMobilitySettings& aSettings);
       
    38 
       
    39 	void TestCreateEmptyL();
       
    40 	void TestSetValuesL();
       
    41 	void TestResetL();
       
    42 	void TestCopyL();
       
    43 	void TestSmtpSettingsL();
       
    44 
       
    45 	static CTestSuite* CreateSuiteL(const TDesC& aName);
       
    46 	
       
    47 private:
       
    48 	CImSmtpMobilitySettings* iSettings;
       
    49 	};
       
    50 
       
    51 #endif __CTESTSMTPMOBILITYSETTINGS_H__