websrv_pub/web_service_messaging_api/tsrc/bc/newsoapclasses/src/testmsenmessage.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 15 Jul 2010 19:53:58 +0300
branchRCL_3
changeset 34 f68f07157250
parent 0 62f9d29f7211
permissions -rw-r--r--
Revision: 201025 Kit: 2010127

/*
* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:          test class implementation for MSenMessage.h.
*
*/












// INCLUDE FILES
#include "testmsenmessage.h"
#include <e32base.h>

 	CTestMSenMessage* CTestMSenMessage::NewL()
 	{
 		CTestMSenMessage* pTestMSenMessage = new (ELeave) CTestMSenMessage();
 		return pTestMSenMessage;
 	}
 	CTestMSenMessage* CTestMSenMessage::NewLC()
 	{
 		CTestMSenMessage* pTestMSenMessage = new (ELeave) CTestMSenMessage();
 		CleanupStack::PushL(pTestMSenMessage);
 		return pTestMSenMessage;
 	}
 	CTestMSenMessage::CTestMSenMessage()
 	{
 		
 	}
  	MSenMessage::TClass CTestMSenMessage::Type() 
  	{
  		return EMessageBase;
  	}
  	MSenMessage::TDirection CTestMSenMessage::Direction() 
  	{
  		return EOutbound;
  	}
	TInt CTestMSenMessage::SetContext(MSenMessageContext* apNotOwnedContext) 
	{
		return KErrNone;
	}
    MSenMessageContext* CTestMSenMessage::Context() 
    {
    	return NULL;
    }
    TInt CTestMSenMessage::SetProperties(MSenProperties* apOwnedProperties)
    {
    	return KErrNone;
    }
    MSenProperties* CTestMSenMessage::Properties() 
    {
    	return NULL;
    }
    TBool CTestMSenMessage::IsSafeToCast(TClass aType)
    {
    	return ETrue;
    }
    TInt CTestMSenMessage::TxnId() 
    {
    	return KErrNone;
    } 
    MSenMessage* CTestMSenMessage::CloneL() 
    {
    	return NULL;
    }