examples/Base/IPC/AdvancedClientServerExample/test/te_ThreadClientServerTest/src/Te_ThreadClientServerTestSuiteStepBase.cpp

Go to the documentation of this file.
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_ThreadClientServerTestSuiteStepBase.h"
00023 #include "Te_ThreadClientServerTestSuiteDefs.h"
00024 
00025 // Device driver constants
00032 TVerdict CTe_ThreadClientServerTestSuiteStepBase::doTestStepPreambleL()
00033         {
00034         if( !CActiveScheduler::Current() )
00035                 {
00036                 INFO_PRINTF1(_L("Install Active Scheduler in Test Step Thread"));
00037                 CActiveScheduler::Install( iParent.Scheduler() );
00038                 }
00039         // process some common pre setting to test steps then set SetTestStepResult to EFail or Epass.
00040         SetTestStepResult(EPass);
00041         return TestStepResult();
00042         }
00049 TVerdict CTe_ThreadClientServerTestSuiteStepBase::doTestStepPostambleL()
00050         {
00051         return TestStepResult();
00052         }
00056 CTe_ThreadClientServerTestSuiteStepBase::~CTe_ThreadClientServerTestSuiteStepBase()
00057         {
00058         }
00062 CTe_ThreadClientServerTestSuiteStepBase::CTe_ThreadClientServerTestSuiteStepBase(CTe_ThreadClientServerTestSuite& aParent)
00063 :iParent(aParent)
00064         {
00065         }

Generated by  doxygen 1.6.2