os/ossrv/lowlevellibsandfws/apputils/tsrc/t_strings/StringPoolTransitionValidation.inl
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.
14 // The implementation of the transition validation classes upon the RStringPool class methods.
18 // ______________________________________________________________________________
20 inline TStringPool_True_TransitionValidator::TStringPool_True_TransitionValidator(CUnitTestContext& aUTContext)
21 :TTransitionValidator(aUTContext)
26 inline TBool TStringPool_True_TransitionValidator::ValidatePreConditions()
31 inline TBool TStringPool_True_TransitionValidator::ValidatePostConditions(TTestBedAsyncState /* aAsyncState */)
36 // ______________________________________________________________________________
38 inline TStringPool_False_TransitionValidator::TStringPool_False_TransitionValidator(CUnitTestContext& aUTContext)
39 :TTransitionValidator(aUTContext)
44 inline TBool TStringPool_False_TransitionValidator::ValidatePreConditions()
49 inline TBool TStringPool_False_TransitionValidator::ValidatePostConditions(TTestBedAsyncState /* aAsyncState */)
51 return (static_cast<CStringPool_UnitTestContext&>(iUTContext).iResult == EFalse);