applayerprotocols/httptransportfw/Test/t_utils/t_utils.cpp
branchRCL_3
changeset 40 a0da872af3fa
parent 39 c0c2f28ace9c
equal deleted inserted replaced
39:c0c2f28ace9c 40:a0da872af3fa
     1 // Copyright (c) 2001-2010 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2001-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".
    38 
    38 
    39 #define LDD_NAME		_L("ECOMM")
    39 #define LDD_NAME		_L("ECOMM")
    40 
    40 
    41 void RHttpTestUtils::InitCommsL()
    41 void RHttpTestUtils::InitCommsL()
    42 	{
    42 	{
    43 #ifndef SIROCCO_CODE_MIGRATION
       
    44 	TInt ret = User::LoadPhysicalDevice(PDD_NAME);
    43 	TInt ret = User::LoadPhysicalDevice(PDD_NAME);
    45 	User::LeaveIfError(ret);
    44 	User::LeaveIfError(ret);
    46 
    45 
    47 #ifndef __WINS__
    46 #ifndef __WINS__
    48 	User::LoadPhysicalDevice(PDD2_NAME);
    47 	User::LoadPhysicalDevice(PDD2_NAME);
    53 	ret = User::LoadLogicalDevice(LDD_NAME);
    52 	ret = User::LoadLogicalDevice(LDD_NAME);
    54 	User::LeaveIfError(ret);
    53 	User::LeaveIfError(ret);
    55 
    54 
    56 	ret = StartC32();
    55 	ret = StartC32();
    57 	User::LeaveIfError(ret);
    56 	User::LeaveIfError(ret);
    58 #endif //SIROCCO_CODE_MIGRATION
       
    59 	}
    57 	}
    60 
    58