lowlevellibsandfws/pluginfw/Test_Bed/inc/Transition.inl
changeset 0 e4d67989cc36
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lowlevellibsandfws/pluginfw/Test_Bed/inc/Transition.inl	Tue Feb 02 02:01:42 2010 +0200
@@ -0,0 +1,66 @@
+// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+inline CUnitTestContext::CUnitTestContext(CDataLogger&			aDataLogger, 
+										  MStateAccessor&		aAccessor,
+										  MTransitionObserver&	aObserver)
+: CBase(), iDataLogger(aDataLogger), iObserver(aObserver), iStateAccessor(aAccessor)
+	{
+	// Do nothing here
+	}
+
+inline CDataLogger& CUnitTestContext::DataLogger() const
+	{
+	return iDataLogger;
+	}
+
+inline MTransitionObserver& CUnitTestContext::TransitionObserver() const
+	{
+	return iObserver;
+	}
+
+inline MStateAccessor& CUnitTestContext::StateAccessor() const
+	{
+	return iStateAccessor;
+	}
+
+inline TTransitionValidator::TTransitionValidator(CUnitTestContext& aUTContext)
+: iUTContext(aUTContext)
+	{
+	// Do nothing here
+	}
+
+inline TTransitionValidator::~TTransitionValidator()
+	{
+	// Do nothing here
+	}
+
+inline TBool TTransitionValidator::ValidatePreConditions()
+	{
+	return ETrue;
+	}
+
+inline TBool TTransitionValidator::ValidatePostConditions(TTestBedAsyncState /*aAsyncState*/)
+	{
+	return ETrue;
+	}
+
+inline TTransitionInfo::TTransitionInfo(const TDesC& aTransitionId, 
+										CDataLogger& aDataLogger)
+: iTransitionId(aTransitionId),	iIteration(0),	iDataLogger(aDataLogger)
+	{
+	// Do nothing here
+	}
+