buildverification/autosmoketest/messaging/Src/TestMessSession.cpp
branchGCC_SURGE
changeset 17 03d9ade4748d
parent 14 5d7fec11a5ce
parent 15 5b5908ec640f
equal deleted inserted replaced
14:5d7fec11a5ce 17:03d9ade4748d
     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 #include "TestMessSession.h"
       
    17 
       
    18 CTestMessSession::CTestMessSession(CTestMessSharedData* aSharedData)
       
    19 :	CTestSession()
       
    20 ,	iSharedData(aSharedData)
       
    21 	{
       
    22 	}
       
    23 
       
    24 
       
    25 void CTestMessSession::ServiceL(const RMessage2& aMessage)
       
    26 	{
       
    27 	CTestSession::ServiceL(aMessage);
       
    28 	switch(aMessage.Function())
       
    29 		{
       
    30 		case EOpenTestStep :
       
    31 			{
       
    32 			}
       
    33 			break;
       
    34 		case ERunTestStep :
       
    35 			{
       
    36 			iSharedData->DoProcessL();
       
    37 			}
       
    38 			break;
       
    39 		case EAbortTestStep :
       
    40 			{
       
    41 			}
       
    42 			break;
       
    43 		case ECloseTestStep :
       
    44 			{
       
    45 			}
       
    46 			break;
       
    47 		default:
       
    48 			break;
       
    49 		}
       
    50 	}