commsprocess/commsrootserverconfig/te_cap_rootserver/te_rootserverplatsecConnectStepBase.cpp
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     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 // RootServer Platform Security Test Suite Test Step Base Class
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file 
       
    20 */
       
    21 
       
    22 #include "te_rootserverplatsecConnectStepBase.h"
       
    23 #include "te_rootserverplatsecConnectSuiteDefs.h"
       
    24 
       
    25 
       
    26 /**
       
    27  @return - TVerdict
       
    28  Implementation of CTestStep base class virtual
       
    29  It is used for doing all initialisation common to derived classes in here.
       
    30  Make it being able to leave if there are any errors here as there's no point in
       
    31  trying to run a test step if anything fails.
       
    32  The leave will be picked up by the framework.
       
    33 */
       
    34 TVerdict Cte_rootserverplatsecConnectStepBase::doTestStepPreambleL()
       
    35 	{
       
    36 	SetTestStepResult(EPass);
       
    37 	return TestStepResult();
       
    38 	}
       
    39 
       
    40 /**
       
    41  @return - TVerdict
       
    42  Implementation of CTestStep base class virtual
       
    43  It is used for doing all after test treatment common to derived classes in here.
       
    44  Make it being able to leave
       
    45  The leave will be picked up by the framework.
       
    46 */
       
    47 TVerdict Cte_rootserverplatsecConnectStepBase::doTestStepPostambleL()
       
    48 	{
       
    49 	SetTestStepResult(EPass);
       
    50 	return TestStepResult();
       
    51 	}
       
    52 
       
    53 Cte_rootserverplatsecConnectStepBase::~Cte_rootserverplatsecConnectStepBase()
       
    54 	{
       
    55 	}
       
    56 
       
    57 Cte_rootserverplatsecConnectStepBase::Cte_rootserverplatsecConnectStepBase()
       
    58 	{
       
    59 	}
       
    60 
       
    61 
       
    62 CSessionConnectionHelper::CSessionConnectionHelper()
       
    63 	{
       
    64 	}
       
    65 
       
    66 CSessionConnectionHelper::~CSessionConnectionHelper()
       
    67 	{
       
    68 	}
       
    69 	
       
    70 /**
       
    71  @return - TInt
       
    72  Public method to provide access to protected RSessionBase::CreateSession() method
       
    73 */
       
    74 TInt CSessionConnectionHelper::OpenSession (const TDesC& aServer, const TVersion& aVersion)
       
    75 	{
       
    76 	return CreateSession (aServer, aVersion);
       
    77 	}
       
    78