networkingtestandutils/networkingintegrationtest/Te_Http/src/TeInit.cpp
changeset 51 78fceed50f62
parent 0 af10295192d8
child 58 8d540f55e491
child 71 a800ea6cb454
equal deleted inserted replaced
42:88121cf79045 51:78fceed50f62
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2002-2010 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".
    45 
    45 
    46 TVerdict CTestStepInit::doTestStepL()
    46 TVerdict CTestStepInit::doTestStepL()
    47 	{
    47 	{
    48 
    48 
    49 	TInt err;
    49 	TInt err;
    50 
    50 #ifndef SIROCCO_CODE_MIGRATION 
    51 	INFO_PRINTF1(_L("Load PDD"));	
    51 	INFO_PRINTF1(_L("Load PDD"));	
    52 	err = User::LoadPhysicalDevice(PDD_NAME);
    52 	err = User::LoadPhysicalDevice(PDD_NAME);
    53 	if (err != KErrNone && err != KErrAlreadyExists)
    53 	if (err != KErrNone && err != KErrAlreadyExists)
    54 		{
    54 		{
    55 		INFO_PRINTF2(_L("Could not load PDD! Leaving with error %d"), err);
    55 		INFO_PRINTF2(_L("Could not load PDD! Leaving with error %d"), err);
    56 		SetTestStepResult(EFail);
    56 		SetTestStepResult(EFail);
    57 		User::Leave(err);
    57 		User::Leave(err);
    58 		}
    58 		}
    59 
    59 #endif
    60 	INFO_PRINTF1(_L("Load LDD"));	
    60 	INFO_PRINTF1(_L("Load LDD"));	
    61 	err = User::LoadLogicalDevice(LDD_NAME);
    61 	err = User::LoadLogicalDevice(LDD_NAME);
    62 	if (err != KErrNone && err != KErrAlreadyExists)
    62 	if (err != KErrNone && err != KErrAlreadyExists)
    63 		{
    63 		{
    64 		INFO_PRINTF2(_L("Could not load LDD! Leaving with error %d"), err);
    64 		INFO_PRINTF2(_L("Could not load LDD! Leaving with error %d"), err);