lowlevellibsandfws/pluginfw/Framework/RegistryDataTest/RegistryDataTransitionValidation.h
// 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:
// The definition of the validation classes for the CRegistryData transitions
//
//
#ifndef __REGISTRYDATATRANSITIONVALIDATION_H__
#define __REGISTRYDATATRANSITIONVALIDATION_H__
#include "RegistryDataTransitions.h"
// ______________________________________________________________________________
//
/**
@internalComponent
Comments : Provide all the CreateAndDestroy Unit Test's specific
validatation for the state of a transition before and after its execution.
on the CRegistryData test class for a transition.
*/
class TRegistryData_Ctor_TransitionValidator : public TTransitionValidator
{
public:
/**
@fn TRegistryData_Ctor_TransitionValidator(CUnitTestContext& aUTContext)
Intended Usage : Standard constructor.
@leave KErrNoMemory
@since 7.0
@param aUTContext The context within which this transition is executing
*/
inline TRegistryData_Ctor_TransitionValidator(CUnitTestContext& aUTContext);
/**
@fn ValidatePreConditions()
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
Error Condition : Invalid pre-conditions
@since 7.0
@return TBool ETrue if the pre-conditions were valid, EFalse otherwise.
@pre TRegistryData_Default_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePreConditions();
/**
@fn ValidatePostConditions(TTestBedAsyncState aAsyncState)
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
When overriding, if the transition calls an asynchronous function
ValidatePostConditions will be called twice. Firstly, after the
asynchronous function has been called and, secondly, after the
asynchronous request has completed. The parameter aAsyncState can
be used to distinguish between these two cases.
Error Condition : Invalid post-conditions.
@since 7.0
@param aAsyncState EAsyncCalled if the async function has been just been called,
EAsyncCompleted if the function has completed.
@return TBool ETrue if the post-conditions were valid, EFalse otherwise.
@pre TRegistryData_Default_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePostConditions(TTestBedAsyncState aAsyncState);
}; // TRegistryData_Ctor_TransitionValidator
// ______________________________________________________________________________
//
/**
@internalComponent
Comments : Provide all the CreateAndDestroy Unit Test's specific
validatation for the state of a transition before and after its execution.
on the CRegistryData test class for a transition.
*/
class TRegistryData_Dtor_TransitionValidator : public TTransitionValidator
{
public:
/**
@fn TRegistryData_Dtor_TransitionValidator(CUnitTestContext& aUTContext)
Intended Usage : Default constructor
@leave KErrNoMemory
@since 7.0
@param aUTContext The context within which this transition is executing
*/
inline TRegistryData_Dtor_TransitionValidator(CUnitTestContext& aUTContext);
/**
@fn ValidatePreConditions()
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
Error Condition : Invalid pre-conditions
@since 7.0
@return TBool ETrue if the pre-conditions were valid, EFalse otherwise.
@pre TRegistryData_Default_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePreConditions();
/**
@fn ValidatePostConditions(TTestBedAsyncState aAsyncState)
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
When overriding, if the transition calls an asynchronous function
ValidatePostConditions will be called twice. Firstly, after the
asynchronous function has been called and, secondly, after the
asynchronous request has completed. The parameter aAsyncState can
be used to distinguish between these two cases.
Error Condition : Invalid post-conditions.
@since 7.0
@param aAsyncState EAsyncCalled if the async function has been just been called,
EAsyncCompleted if the function has completed.
@return TBool ETrue if the post-conditions were valid, EFalse otherwise.
@pre TRegistryData_Default_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePostConditions(TTestBedAsyncState aAsyncState);
}; // TRegistryData_Dtor_TransitionValidator
// ______________________________________________________________________________
//
/**
@internalComponent
Comments : Provide all the AddDllDataLUnit Test's specific
validatation for the state of a transition before and after its execution.
on the CRegistryData test class for a transition.
*/
class TRegistryData_AddDllDataL_TransitionValidator : public TTransitionValidator
{
public:
/**
@fn TRegistryData_AddDllDataL_TransitionValidator(CUnitTestContext& aUTContext)
Intended Usage :
@leave KErrNoMemory
@since 7.0
@param aUTContext The context within which this transition is executing
*/
inline TRegistryData_AddDllDataL_TransitionValidator(CUnitTestContext& aUTContext);
/**
@fn ValidatePreConditions()
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
Error Condition : Invalid pre-conditions
@since 7.0
@return TBool ETrue if the pre-conditions were valid, EFalse otherwise.
@pre TRegistryData_AddDllDataL_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePreConditions();
/**
@fn ValidatePostConditions(TTestBedAsyncState aAsyncState)
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
When overriding, if the transition calls an asynchronous function
ValidatePostConditions will be called twice. Firstly, after the
asynchronous function has been called and, secondly, after the
asynchronous request has completed. The parameter aAsyncState can
be used to distinguish between these two cases.
Error Condition : Invalid post-conditions.
@since 7.0
@param aAsyncState EAsyncCalled if the async function has been just been called,
EAsyncCompleted if the function has completed.
@return TBool ETrue if the post-conditions were valid, EFalse otherwise.
@pre TRegistryData_AddDllDataL_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePostConditions(TTestBedAsyncState aAsyncState);
}; // TRegistryData_AddDllDataL_TransitionValidator
// ______________________________________________________________________________
//
/**
@internalComponent
Comments : Provide all the AddDllDataLUnit Test's specific
validatation for the state of a transition before and after its execution.
on the CRegistryData test class for a transition.
*/
class TRegistryData_ListImplementations_TransitionValidator : public TTransitionValidator
{
public:
/**
@fn TRegistryData_ListImplementations_TransitionValidator(CUnitTestContext& aUTContext)
Intended Usage :
@leave KErrNoMemory
@since 7.0
@param aUTContext The context within which this transition is executing
*/
inline TRegistryData_ListImplementations_TransitionValidator(CUnitTestContext& aUTContext);
/**
@fn ValidatePreConditions()
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
Error Condition : Invalid pre-conditions
@since 7.0
@return TBool ETrue if the pre-conditions were valid, EFalse otherwise.
@pre TRegistryData_ListImplementations_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePreConditions();
/**
@fn ValidatePostConditions(TTestBedAsyncState aAsyncState)
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
When overriding, if the transition calls an asynchronous function
ValidatePostConditions will be called twice. Firstly, after the
asynchronous function has been called and, secondly, after the
asynchronous request has completed. The parameter aAsyncState can
be used to distinguish between these two cases.
Error Condition : Invalid post-conditions.
@since 7.0
@param aAsyncState EAsyncCalled if the async function has been just been called,
EAsyncCompleted if the function has completed.
@return TBool ETrue if the post-conditions were valid, EFalse otherwise.
@pre TRegistryData_ListImplementations_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePostConditions(TTestBedAsyncState aAsyncState);
}; // TRegistryData_ListImplementations_TransitionValidator
// ______________________________________________________________________________
//
/**
@internalComponent
Comments : Provide all the GetImplementationInformationUnit Test's specific
validatation for the state of a transition before and after its execution.
on the CRegistryData test class for a transition.
*/
class TRegistryData_GetImplementationInformation_TransitionValidator : public TTransitionValidator
{
public:
/**
@fn TRegistryData_GetImplementationInformation_TransitionValidator(CUnitTestContext& aUTContext)
Intended Usage :
@leave KErrNoMemory
@since 7.0
@param aUTContext The context within which this transition is executing
*/
inline TRegistryData_GetImplementationInformation_TransitionValidator(CUnitTestContext& aUTContext);
/**
@fn ValidatePreConditions()
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
Error Condition : Invalid pre-conditions
@since 7.0
@return TBool ETrue if the pre-conditions were valid, EFalse otherwise.
@pre TRegistryData_GetImplementationInformation_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePreConditions();
/**
@fn ValidatePostConditions(TTestBedAsyncState aAsyncState)
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
When overriding, if the transition calls an asynchronous function
ValidatePostConditions will be called twice. Firstly, after the
asynchronous function has been called and, secondly, after the
asynchronous request has completed. The parameter aAsyncState can
be used to distinguish between these two cases.
Error Condition : Invalid post-conditions.
@since 7.0
@param aAsyncState EAsyncCalled if the async function has been just been called,
EAsyncCompleted if the function has completed.
@return TBool ETrue if the post-conditions were valid, EFalse otherwise.
@pre TRegistryData_GetImplementationInformation_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePostConditions(TTestBedAsyncState aAsyncState);
}; // TRegistryData_GetImplementationInformation_TransitionValidator
// ______________________________________________________________________________
//
/**
@internalComponent
Comments : Provide all the IsRegisteredWithDateUnit Test's specific
validatation for the state of a transition before and after its execution.
on the CRegistryData test class for a transition.
*/
class TRegistryData_IsRegisteredWithDate_TransitionValidator : public TTransitionValidator
{
public:
/**
@fn TRegistryData_IsRegisteredWithDate_TransitionValidator(CUnitTestContext& aUTContext)
Intended Usage :
@leave KErrNoMemory
@since 7.0
@param aUTContext The context within which this transition is executing
*/
inline TRegistryData_IsRegisteredWithDate_TransitionValidator(CUnitTestContext& aUTContext);
/**
@fn ValidatePreConditions()
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
Error Condition : Invalid pre-conditions
@since 7.0
@return TBool ETrue if the pre-conditions were valid, EFalse otherwise.
@pre TRegistryData_IsRegisteredWithDate_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePreConditions();
/**
@fn ValidatePostConditions(TTestBedAsyncState aAsyncState)
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
When overriding, if the transition calls an asynchronous function
ValidatePostConditions will be called twice. Firstly, after the
asynchronous function has been called and, secondly, after the
asynchronous request has completed. The parameter aAsyncState can
be used to distinguish between these two cases.
Error Condition : Invalid post-conditions.
@since 7.0
@param aAsyncState EAsyncCalled if the async function has been just been called,
EAsyncCompleted if the function has completed.
@return TBool ETrue if the post-conditions were valid, EFalse otherwise.
@pre TRegistryData_IsRegisteredWithDate_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePostConditions(TTestBedAsyncState aAsyncState);
}; // TRegistryData_IsRegisteredWithDate_TransitionValidator
// ______________________________________________________________________________
//
/**
@internalComponent
Comments : Provide all the PersistNowUnit Test's specific
validatation for the state of a transition before and after its execution.
on the CRegistryData test class for a transition.
*/
class TRegistryData_PersistNow_TransitionValidator : public TTransitionValidator
{
public:
/**
@fn TRegistryData_PersistNow_TransitionValidator(CUnitTestContext& aUTContext)
Intended Usage :
@leave KErrNoMemory
@since 7.0
@param aUTContext The context within which this transition is executing
*/
inline TRegistryData_PersistNow_TransitionValidator(CUnitTestContext& aUTContext);
/**
@fn ValidatePreConditions()
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
Error Condition : Invalid pre-conditions
@since 7.0
@return TBool ETrue if the pre-conditions were valid, EFalse otherwise.
@pre TRegistryData_PersistNow_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePreConditions();
/**
@fn ValidatePostConditions(TTestBedAsyncState aAsyncState)
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
When overriding, if the transition calls an asynchronous function
ValidatePostConditions will be called twice. Firstly, after the
asynchronous function has been called and, secondly, after the
asynchronous request has completed. The parameter aAsyncState can
be used to distinguish between these two cases.
Error Condition : Invalid post-conditions.
@since 7.0
@param aAsyncState EAsyncCalled if the async function has been just been called,
EAsyncCompleted if the function has completed.
@return TBool ETrue if the post-conditions were valid, EFalse otherwise.
@pre TRegistryData_PersistNow_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePostConditions(TTestBedAsyncState aAsyncState);
}; // TRegistryData_PersistNow_TransitionValidator
// ______________________________________________________________________________
//
/**
@internalComponent
Comments : Provide all the TemporaryUninstallUnit Test's specific
validatation for the state of a transition before and after its execution.
on the CRegistryData test class for a transition.
*/
class TRegistryData_TemporaryUninstall_TransitionValidator : public TTransitionValidator
{
public:
/**
@fn TRegistryData_TemporaryUninstall_TransitionValidator(CUnitTestContext& aUTContext)
Intended Usage :
@leave KErrNoMemory
@since 7.0
@param aUTContext The context within which this transition is executing
*/
inline TRegistryData_TemporaryUninstall_TransitionValidator(CUnitTestContext& aUTContext);
/**
@fn ValidatePreConditions()
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
Error Condition : Invalid pre-conditions
@since 7.0
@return TBool ETrue if the pre-conditions were valid, EFalse otherwise.
@pre TRegistryData_TemporaryUninstall_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePreConditions();
/**
@fn ValidatePostConditions(TTestBedAsyncState aAsyncState)
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
When overriding, if the transition calls an asynchronous function
ValidatePostConditions will be called twice. Firstly, after the
asynchronous function has been called and, secondly, after the
asynchronous request has completed. The parameter aAsyncState can
be used to distinguish between these two cases.
Error Condition : Invalid post-conditions.
@since 7.0
@param aAsyncState EAsyncCalled if the async function has been just been called,
EAsyncCompleted if the function has completed.
@return TBool ETrue if the post-conditions were valid, EFalse otherwise.
@pre TRegistryData_TemporaryUninstall_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePostConditions(TTestBedAsyncState aAsyncState);
}; // TRegistryData_TemporaryUninstall_TransitionValidator
// ______________________________________________________________________________
//
/**
@internalComponent
Comments : Provide all the UndoTemporaryUninstallUnit Test's specific
validatation for the state of a transition before and after its execution.
on the CRegistryData test class for a transition.
*/
class TRegistryData_UndoTemporaryUninstall_TransitionValidator : public TTransitionValidator
{
public:
/**
@fn TRegistryData_UndoTemporaryUninstall_TransitionValidator(CUnitTestContext& aUTContext)
Intended Usage :
@leave KErrNoMemory
@since 7.0
@param aUTContext The context within which this transition is executing
*/
inline TRegistryData_UndoTemporaryUninstall_TransitionValidator(CUnitTestContext& aUTContext);
/**
@fn ValidatePreConditions()
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
Error Condition : Invalid pre-conditions
@since 7.0
@return TBool ETrue if the pre-conditions were valid, EFalse otherwise.
@pre TRegistryData_UndoTemporaryUninstall_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePreConditions();
/**
@fn ValidatePostConditions(TTestBedAsyncState aAsyncState)
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
When overriding, if the transition calls an asynchronous function
ValidatePostConditions will be called twice. Firstly, after the
asynchronous function has been called and, secondly, after the
asynchronous request has completed. The parameter aAsyncState can
be used to distinguish between these two cases.
Error Condition : Invalid post-conditions.
@since 7.0
@param aAsyncState EAsyncCalled if the async function has been just been called,
EAsyncCompleted if the function has completed.
@return TBool ETrue if the post-conditions were valid, EFalse otherwise.
@pre TRegistryData_UndoTemporaryUninstall_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePostConditions(TTestBedAsyncState aAsyncState);
}; // TRegistryData_UndoTemporaryUninstall_TransitionValidator
// ______________________________________________________________________________
//
/**
@internalComponent
Comments : Provide all the UpdateDllDataUnit Test's specific
validatation for the state of a transition before and after its execution.
on the CRegistryData test class for a transition.
*/
class TRegistryData_UpdateDllData_TransitionValidator : public TTransitionValidator
{
public:
/**
@fn TRegistryData_UpdateDllData_TransitionValidator(CUnitTestContext& aUTContext)
Intended Usage :
@leave KErrNoMemory
@since 7.0
@param aUTContext The context within which this transition is executing
*/
inline TRegistryData_UpdateDllData_TransitionValidator(CUnitTestContext& aUTContext);
/**
@fn ValidatePreConditions()
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
Error Condition : Invalid pre-conditions
@since 7.0
@return TBool ETrue if the pre-conditions were valid, EFalse otherwise.
@pre TRegistryData_UpdateDllData_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePreConditions();
/**
@fn ValidatePostConditions(TTestBedAsyncState aAsyncState)
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
When overriding, if the transition calls an asynchronous function
ValidatePostConditions will be called twice. Firstly, after the
asynchronous function has been called and, secondly, after the
asynchronous request has completed. The parameter aAsyncState can
be used to distinguish between these two cases.
Error Condition : Invalid post-conditions.
@since 7.0
@param aAsyncState EAsyncCalled if the async function has been just been called,
EAsyncCompleted if the function has completed.
@return TBool ETrue if the post-conditions were valid, EFalse otherwise.
@pre TRegistryData_UpdateDllData_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePostConditions(TTestBedAsyncState aAsyncState);
}; // TRegistryData_UpdateDllData_TransitionValidator
// ______________________________________________________________________________
//
/**
@internalComponent
Comments : Provide all the BuildIndexesUnit Test's specific
validatation for the state of a transition before and after its execution.
on the CRegistryData test class for a transition.
*/
class TRegistryData_BuildIndexes_TransitionValidator : public TTransitionValidator
{
public:
/**
@fn TRegistryData_BuildIndexes_TransitionValidator(CUnitTestContext& aUTContext)
Intended Usage :
@leave KErrNoMemory
@since 7.0
@param aUTContext The context within which this transition is executing
*/
inline TRegistryData_BuildIndexes_TransitionValidator(CUnitTestContext& aUTContext);
/**
@fn ValidatePreConditions()
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
Error Condition : Invalid pre-conditions
@since 7.0
@return TBool ETrue if the pre-conditions were valid, EFalse otherwise.
@pre TRegistryData_BuildIndexes_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePreConditions();
/**
@fn ValidatePostConditions(TTestBedAsyncState aAsyncState)
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
When overriding, if the transition calls an asynchronous function
ValidatePostConditions will be called twice. Firstly, after the
asynchronous function has been called and, secondly, after the
asynchronous request has completed. The parameter aAsyncState can
be used to distinguish between these two cases.
Error Condition : Invalid post-conditions.
@since 7.0
@param aAsyncState EAsyncCalled if the async function has been just been called,
EAsyncCompleted if the function has completed.
@return TBool ETrue if the post-conditions were valid, EFalse otherwise.
@pre TRegistryData_BuildIndexes_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePostConditions(TTestBedAsyncState aAsyncState);
}; // TRegistryData_BuildIndexes_TransitionValidator
// ______________________________________________________________________________
//
/**
@internalComponent
Comments : Provide all the IndexedFindUnit Test's specific
validatation for the state of a transition before and after its execution.
on the CRegistryData test class for a transition.
*/
class TRegistryData_IndexedFind_TransitionValidator : public TTransitionValidator
{
public:
/**
@fn TRegistryData_IndexedFind_TransitionValidator(CUnitTestContext& aUTContext)
Intended Usage :
@leave KErrNoMemory
@since 7.0
@param aUTContext The context within which this transition is executing
*/
inline TRegistryData_IndexedFind_TransitionValidator(CUnitTestContext& aUTContext);
/**
@fn ValidatePreConditions()
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
Error Condition : Invalid pre-conditions
@since 7.0
@return TBool ETrue if the pre-conditions were valid, EFalse otherwise.
@pre TRegistryData_IndexedFind_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePreConditions();
/**
@fn ValidatePostConditions(TTestBedAsyncState aAsyncState)
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
When overriding, if the transition calls an asynchronous function
ValidatePostConditions will be called twice. Firstly, after the
asynchronous function has been called and, secondly, after the
asynchronous request has completed. The parameter aAsyncState can
be used to distinguish between these two cases.
Error Condition : Invalid post-conditions.
@since 7.0
@param aAsyncState EAsyncCalled if the async function has been just been called,
EAsyncCompleted if the function has completed.
@return TBool ETrue if the post-conditions were valid, EFalse otherwise.
@pre TRegistryData_IndexedFind_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePostConditions(TTestBedAsyncState aAsyncState);
}; // TRegistryData_IndexedFind_TransitionValidator
// ______________________________________________________________________________
//
/**
@internalComponent
Comments : Provide all the RestoreUnit Test's specific
validatation for the state of a transition before and after its execution.
on the CRegistryData test class for a transition.
*/
class TRegistryData_Restore_TransitionValidator : public TTransitionValidator
{
public:
/**
@fn TRegistryData_Restore_TransitionValidator(CUnitTestContext& aUTContext)
Intended Usage :
@leave KErrNoMemory
@since 7.0
@param aUTContext The context within which this transition is executing
*/
inline TRegistryData_Restore_TransitionValidator(CUnitTestContext& aUTContext);
/**
@fn ValidatePreConditions()
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
Error Condition : Invalid pre-conditions
@since 7.0
@return TBool ETrue if the pre-conditions were valid, EFalse otherwise.
@pre TRegistryData_Restore_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePreConditions();
/**
@fn ValidatePostConditions(TTestBedAsyncState aAsyncState)
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
When overriding, if the transition calls an asynchronous function
ValidatePostConditions will be called twice. Firstly, after the
asynchronous function has been called and, secondly, after the
asynchronous request has completed. The parameter aAsyncState can
be used to distinguish between these two cases.
Error Condition : Invalid post-conditions.
@since 7.0
@param aAsyncState EAsyncCalled if the async function has been just been called,
EAsyncCompleted if the function has completed.
@return TBool ETrue if the post-conditions were valid, EFalse otherwise.
@pre TRegistryData_Restore_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePostConditions(TTestBedAsyncState aAsyncState);
}; // TRegistryData_Restore_TransitionValidator
// ______________________________________________________________________________
//
/**
@internalComponent
Comments : Provide all the StoreUnit Test's specific
validatation for the state of a transition before and after its execution.
on the CRegistryData test class for a transition.
*/
class TRegistryData_Store_TransitionValidator : public TTransitionValidator
{
public:
/**
@fn TRegistryData_Store_TransitionValidator(CUnitTestContext& aUTContext)
Intended Usage :
@leave KErrNoMemory
@since 7.0
@param aUTContext The context within which this transition is executing
*/
inline TRegistryData_Store_TransitionValidator(CUnitTestContext& aUTContext);
/**
@fn ValidatePreConditions()
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
Error Condition : Invalid pre-conditions
@since 7.0
@return TBool ETrue if the pre-conditions were valid, EFalse otherwise.
@pre TRegistryData_Store_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePreConditions();
/**
@fn ValidatePostConditions(TTestBedAsyncState aAsyncState)
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
When overriding, if the transition calls an asynchronous function
ValidatePostConditions will be called twice. Firstly, after the
asynchronous function has been called and, secondly, after the
asynchronous request has completed. The parameter aAsyncState can
be used to distinguish between these two cases.
Error Condition : Invalid post-conditions.
@since 7.0
@param aAsyncState EAsyncCalled if the async function has been just been called,
EAsyncCompleted if the function has completed.
@return TBool ETrue if the post-conditions were valid, EFalse otherwise.
@pre TRegistryData_Store_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePostConditions(TTestBedAsyncState aAsyncState);
}; // TRegistryData_Store_TransitionValidator
// ______________________________________________________________________________
//
/**
@internalComponent
Comments : Provide all the MatchOnUidUnit Test's specific
validatation for the state of a transition before and after its execution.
on the CRegistryData test class for a transition.
*/
class TRegistryData_MatchOnUid_TransitionValidator : public TTransitionValidator
{
public:
/**
@fn TRegistryData_MatchOnUid_TransitionValidator(CUnitTestContext& aUTContext)
Intended Usage :
@leave KErrNoMemory
@since 7.0
@param aUTContext The context within which this transition is executing
*/
inline TRegistryData_MatchOnUid_TransitionValidator(CUnitTestContext& aUTContext);
/**
@fn ValidatePreConditions()
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
Error Condition : Invalid pre-conditions
@since 7.0
@return TBool ETrue if the pre-conditions were valid, EFalse otherwise.
@pre TRegistryData_MatchOnUid_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePreConditions();
/**
@fn ValidatePostConditions(TTestBedAsyncState aAsyncState)
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
When overriding, if the transition calls an asynchronous function
ValidatePostConditions will be called twice. Firstly, after the
asynchronous function has been called and, secondly, after the
asynchronous request has completed. The parameter aAsyncState can
be used to distinguish between these two cases.
Error Condition : Invalid post-conditions.
@since 7.0
@param aAsyncState EAsyncCalled if the async function has been just been called,
EAsyncCompleted if the function has completed.
@return TBool ETrue if the post-conditions were valid, EFalse otherwise.
@pre TRegistryData_MatchOnUid_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePostConditions(TTestBedAsyncState aAsyncState);
}; // TRegistryData_MatchOnUid_TransitionValidator
// ______________________________________________________________________________
//
/**
@internalComponent
Comments : Provide all the ConstructPolicyIndexLUnit Test's specific
validatation for the state of a transition before and after its execution.
on the CRegistryData test class for a transition.
*/
class TRegistryData_ConstructPolicyIndexL_TransitionValidator : public TTransitionValidator
{
public:
/**
@fn TRegistryData_ConstructPolicyIndexL_TransitionValidator(CUnitTestContext& aUTContext)
Intended Usage :
@leave KErrNoMemory
@since 7.0
@param aUTContext The context within which this transition is executing
*/
inline TRegistryData_ConstructPolicyIndexL_TransitionValidator(CUnitTestContext& aUTContext);
/**
@fn ValidatePreConditions()
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
Error Condition : Invalid pre-conditions
@since 7.0
@return TBool ETrue if the pre-conditions were valid, EFalse otherwise.
@pre TRegistryData_ConstructPolicyIndexL_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePreConditions();
/**
@fn ValidatePostConditions(TTestBedAsyncState aAsyncState)
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
When overriding, if the transition calls an asynchronous function
ValidatePostConditions will be called twice. Firstly, after the
asynchronous function has been called and, secondly, after the
asynchronous request has completed. The parameter aAsyncState can
be used to distinguish between these two cases.
Error Condition : Invalid post-conditions.
@since 7.0
@param aAsyncState EAsyncCalled if the async function has been just been called,
EAsyncCompleted if the function has completed.
@return TBool ETrue if the post-conditions were valid, EFalse otherwise.
@pre TRegistryData_ConstructPolicyIndexL_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePostConditions(TTestBedAsyncState aAsyncState);
}; // TRegistryData_ConstructPolicyIndexL_TransitionValidator
// ______________________________________________________________________________
//
/**
@internalComponent
Comments : Provide all the SetPolicyObserverUnit Test's specific
validatation for the state of a transition before and after its execution.
on the CRegistryData test class for a transition.
*/
class TRegistryData_SetPolicyObserver_TransitionValidator : public TTransitionValidator
{
public:
/**
@fn TRegistryData_SetPolicyObserver_TransitionValidator(CUnitTestContext& aUTContext)
Intended Usage :
@leave KErrNoMemory
@since 7.0
@param aUTContext The context within which this transition is executing
*/
inline TRegistryData_SetPolicyObserver_TransitionValidator(CUnitTestContext& aUTContext);
/**
@fn ValidatePreConditions()
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
Error Condition : Invalid pre-conditions
@since 7.0
@return TBool ETrue if the pre-conditions were valid, EFalse otherwise.
@pre TRegistryData_SetPolicyObserver_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePreConditions();
/**
@fn ValidatePostConditions(TTestBedAsyncState aAsyncState)
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
When overriding, if the transition calls an asynchronous function
ValidatePostConditions will be called twice. Firstly, after the
asynchronous function has been called and, secondly, after the
asynchronous request has completed. The parameter aAsyncState can
be used to distinguish between these two cases.
Error Condition : Invalid post-conditions.
@since 7.0
@param aAsyncState EAsyncCalled if the async function has been just been called,
EAsyncCompleted if the function has completed.
@return TBool ETrue if the post-conditions were valid, EFalse otherwise.
@pre TRegistryData_SetPolicyObserver_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePostConditions(TTestBedAsyncState aAsyncState);
}; // TRegistryData_SetPolicyObserver_TransitionValidator
// ______________________________________________________________________________
//
/**
@internalComponent
Comments : Provide all the GetSecondImplInfoUnit Test's specific
validatation for the state of a transition before and after its execution.
on the CRegistryData test class for a transition.
*/
class TRegistryData_GetSecondImplInfo_TransitionValidator : public TTransitionValidator
{
public:
/**
@fn TRegistryData_GetSecondImplInfo_TransitionValidator(CUnitTestContext& aUTContext)
Intended Usage :
@leave KErrNoMemory
@since 7.0
@param aUTContext The context within which this transition is executing
*/
inline TRegistryData_GetSecondImplInfo_TransitionValidator(CUnitTestContext& aUTContext);
/**
@fn ValidatePreConditions()
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
Error Condition : Invalid pre-conditions
@since 7.0
@return TBool ETrue if the pre-conditions were valid, EFalse otherwise.
@pre TRegistryData_GetSecondImplInfo_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePreConditions();
/**
@fn ValidatePostConditions(TTestBedAsyncState aAsyncState)
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
When overriding, if the transition calls an asynchronous function
ValidatePostConditions will be called twice. Firstly, after the
asynchronous function has been called and, secondly, after the
asynchronous request has completed. The parameter aAsyncState can
be used to distinguish between these two cases.
Error Condition : Invalid post-conditions.
@since 7.0
@param aAsyncState EAsyncCalled if the async function has been just been called,
EAsyncCompleted if the function has completed.
@return TBool ETrue if the post-conditions were valid, EFalse otherwise.
@pre TRegistryData_GetSecondImplInfo_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePostConditions(TTestBedAsyncState aAsyncState);
}; // TRegistryData_GetSecondImplInfo_TransitionValidator
// ______________________________________________________________________________
//
/**
@internalComponent
Comments : Provide all the DiscoveriesBeginningUnit Test's specific
validatation for the state of a transition before and after its execution.
on the CRegistryData test class for a transition.
*/
class TRegistryData_DiscoveriesBeginning_TransitionValidator : public TTransitionValidator
{
public:
/**
@fn TRegistryData_DiscoveriesBeginning_TransitionValidator(CUnitTestContext& aUTContext)
Intended Usage :
@leave KErrNoMemory
@since 7.0
@param aUTContext The context within which this transition is executing
*/
inline TRegistryData_DiscoveriesBeginning_TransitionValidator(CUnitTestContext& aUTContext);
/**
@fn ValidatePreConditions()
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
Error Condition : Invalid pre-conditions
@since 7.0
@return TBool ETrue if the pre-conditions were valid, EFalse otherwise.
@pre TRegistryData_DiscoveriesBeginning_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePreConditions();
/**
@fn ValidatePostConditions(TTestBedAsyncState aAsyncState)
Intended Usage : Implemented by the developer to check the
end state of the transition behaviour.
When overriding, if the transition calls an asynchronous function
ValidatePostConditions will be called twice. Firstly, after the
asynchronous function has been called and, secondly, after the
asynchronous request has completed. The parameter aAsyncState can
be used to distinguish between these two cases.
Error Condition : Invalid post-conditions.
@since 7.0
@param aAsyncState EAsyncCalled if the async function has been just been called,
EAsyncCompleted if the function has completed.
@return TBool ETrue if the post-conditions were valid, EFalse otherwise.
@pre TRegistryData_DiscoveriesBeginning_TransitionValidator is fully constructed.
@post No change to the iUTContext class.
*/
virtual inline TBool ValidatePostConditions(TTestBedAsyncState aAsyncState);
}; // TRegistryData_DiscoveriesBeginning_TransitionValidator
#include "RegistryDataTransitionValidation.inl"
#endif // __REGISTRYDATATRANSITIONVALIDATION_H__