equal
deleted
inserted
replaced
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2008-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". |
35 |
35 |
36 TVerdict CStartupCommsStep::doTestStepL() |
36 TVerdict CStartupCommsStep::doTestStepL() |
37 { |
37 { |
38 SetTestStepResult(EFail); |
38 SetTestStepResult(EFail); |
39 |
39 |
|
40 #ifndef SIROCCO_CODE_MIGRATION |
40 TInt ret = User::LoadPhysicalDevice(PDD_NAME); |
41 TInt ret = User::LoadPhysicalDevice(PDD_NAME); |
41 User::LeaveIfError(ret == KErrAlreadyExists?KErrNone:ret); |
42 User::LeaveIfError(ret == KErrAlreadyExists?KErrNone:ret); |
42 |
43 |
43 #ifndef __WINS__ |
44 #ifndef __WINS__ |
44 ret = User::LoadPhysicalDevice(PDD2_NAME); |
45 ret = User::LoadPhysicalDevice(PDD2_NAME); |
48 |
49 |
49 ret = User::LoadLogicalDevice(LDD_NAME); |
50 ret = User::LoadLogicalDevice(LDD_NAME); |
50 User::LeaveIfError(ret == KErrAlreadyExists?KErrNone:ret); |
51 User::LeaveIfError(ret == KErrAlreadyExists?KErrNone:ret); |
51 ret = StartC32(); |
52 ret = StartC32(); |
52 User::LeaveIfError(ret == KErrAlreadyExists?KErrNone:ret); |
53 User::LeaveIfError(ret == KErrAlreadyExists?KErrNone:ret); |
|
54 #endif //SIROCCO_CODE_MIGRATION |
53 SetTestStepResult(EPass); |
55 SetTestStepResult(EPass); |
54 |
|
55 return TestStepResult(); |
56 return TestStepResult(); |
56 } |
57 } |