Update contrib.
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 inline CUnitTestContext::CUnitTestContext(CDataLogger& aDataLogger,
17 MStateAccessor& aAccessor,
18 MTransitionObserver& aObserver)
19 : CBase(), iDataLogger(aDataLogger), iObserver(aObserver), iStateAccessor(aAccessor)
24 inline CDataLogger& CUnitTestContext::DataLogger() const
29 inline MTransitionObserver& CUnitTestContext::TransitionObserver() const
34 inline MStateAccessor& CUnitTestContext::StateAccessor() const
36 return iStateAccessor;
39 inline TTransitionValidator::TTransitionValidator(CUnitTestContext& aUTContext)
40 : iUTContext(aUTContext)
45 inline TTransitionValidator::~TTransitionValidator()
50 inline TBool TTransitionValidator::ValidatePreConditions()
55 inline TBool TTransitionValidator::ValidatePostConditions(TTestBedAsyncState /*aAsyncState*/)
60 inline TTransitionInfo::TTransitionInfo(const TDesC& aTransitionId,
61 CDataLogger& aDataLogger)
62 : iTransitionId(aTransitionId), iIteration(0), iDataLogger(aDataLogger)