datacommsserver/esockserver/test/TE_EsockTestSteps/src/cleanallStep.cpp
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     1 // Copyright (c) 2005-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 /**
       
    17  @file cleanallStep.cpp
       
    18 */
       
    19 
       
    20 #include "SocketServer.TestSteps.h"
       
    21 
       
    22 #include <ecom/ecom.h>
       
    23 
       
    24 CCleanAllStep::CCleanAllStep(CCEsockTestBase*& aEsockTest)
       
    25 :   CTe_EsockStepBase(aEsockTest)
       
    26 	{
       
    27 	SetTestStepName(KCleanAllStep);
       
    28 	}
       
    29 
       
    30 TVerdict CCleanAllStep::doTestStepL()
       
    31 	{
       
    32     iEsockTest->CleanAll();
       
    33     REComSession::FinalClose();
       
    34 	return EPass;
       
    35 	}
       
    36 
       
    37 TInt CCleanAllStep::ConfigureFromIni()
       
    38     {
       
    39 	//dummy
       
    40     return KErrNotFound;
       
    41     }
       
    42 
       
    43 TVerdict CCleanAllStep::doSingleTestStep()
       
    44 	{
       
    45 	//dummy
       
    46 	return EFail;
       
    47 	}
       
    48 
       
    49