applayerprotocols/httptransportfw/Test/Integration/src/testhttpbasestep.cpp
branchRCL_3
changeset 40 a0da872af3fa
parent 39 c0c2f28ace9c
equal deleted inserted replaced
39:c0c2f28ace9c 40:a0da872af3fa
     1 // Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    39 
    39 
    40 
    40 
    41 // Loads the physical device drivers
    41 // Loads the physical device drivers
    42 void CTestHttpBaseStep::InitCommsL()
    42 void CTestHttpBaseStep::InitCommsL()
    43 	{
    43 	{
    44 #ifndef SIROCCO_CODE_MIGRATION
       
    45 	TInt ret = User::LoadPhysicalDevice(PDD_NAME);
    44 	TInt ret = User::LoadPhysicalDevice(PDD_NAME);
    46 	User::LeaveIfError(ret == KErrAlreadyExists?KErrNone:ret);
    45 	User::LeaveIfError(ret == KErrAlreadyExists?KErrNone:ret);
    47 
    46 
    48 #ifndef __WINS__
    47 #ifndef __WINS__
    49 	ret = User::LoadPhysicalDevice(PDD2_NAME);
    48 	ret = User::LoadPhysicalDevice(PDD2_NAME);
    53 
    52 
    54 	ret = User::LoadLogicalDevice(LDD_NAME);
    53 	ret = User::LoadLogicalDevice(LDD_NAME);
    55 	User::LeaveIfError(ret == KErrAlreadyExists?KErrNone:ret);
    54 	User::LeaveIfError(ret == KErrAlreadyExists?KErrNone:ret);
    56 	ret = StartC32();
    55 	ret = StartC32();
    57 	User::LeaveIfError(ret == KErrAlreadyExists?KErrNone:ret);
    56 	User::LeaveIfError(ret == KErrAlreadyExists?KErrNone:ret);
    58 #endif //SIROCCO_CODE_MIGRATION
       
    59 	}
    57 	}
    60 	
    58 	
    61 
    59 
    62 /**
    60 /**
    63 Constructor: Sets the test step name.
    61 Constructor: Sets the test step name.