00001 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). 00002 // All rights reserved. 00003 // This component and the accompanying materials are made available 00004 // under the terms of "Eclipse Public License v1.0" 00005 // which accompanies this distribution, and is available 00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html". 00007 // 00008 // Initial Contributors: 00009 // Nokia Corporation - initial contribution. 00010 // 00011 // Contributors: 00012 // 00013 // Description: 00014 // 00015 00016 00017 00022 #include "Te_ProcessClientServerTestSuiteStepBase.h" 00023 #include "Te_ProcessClientServerTestSuiteDefs.h" 00024 00025 // Device driver constants 00026 00033 TVerdict CTe_ProcessClientServerTestSuiteStepBase::doTestStepPreambleL() 00034 { 00035 if( !CActiveScheduler::Current() ) 00036 { 00037 INFO_PRINTF1(_L("Install Active Scheduler in Test Step Thread")); 00038 CActiveScheduler::Install( iParent.Scheduler() ); 00039 } 00040 // process some common pre setting to test steps then set SetTestStepResult to EFail or EPass. 00041 SetTestStepResult(EPass); 00042 return TestStepResult(); 00043 } 00050 TVerdict CTe_ProcessClientServerTestSuiteStepBase::doTestStepPostambleL() 00051 { 00052 return TestStepResult(); 00053 } 00057 CTe_ProcessClientServerTestSuiteStepBase::~CTe_ProcessClientServerTestSuiteStepBase() 00058 { 00059 } 00063 CTe_ProcessClientServerTestSuiteStepBase::CTe_ProcessClientServerTestSuiteStepBase(CTe_ProcessClientServerTestSuite& aParent) 00064 :iParent(aParent) 00065 { 00066 }