diff -r 000000000000 -r 8e480a14352b messagingfw/msgtestfw/TestActions/Base/inc/CMtfTestActionCheckChildrenCountWithFlagComplete.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/messagingfw/msgtestfw/TestActions/Base/inc/CMtfTestActionCheckChildrenCountWithFlagComplete.h Mon Jan 18 20:36:02 2010 +0200 @@ -0,0 +1,76 @@ +/** +* Copyright (c) 2003-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: +* +*/ + + + +/** + @file +*/ + + +#ifndef __CMTF_TEST_ACTION_CHECK_CHILDREN_COUNT_WITH_FLAG_COMPLETE_H__ +#define __CMTF_TEST_ACTION_CHECK_CHILDREN_COUNT_WITH_FLAG_COMPLETE_H__ + + +#include "CMtfTestActionCheckChildrenCountWithFlagBase.h" + +////////////////////////////////////////////////////////////////////////////// +// +// __ACTION_INFO_BEGIN__ +// +// [Action Name] +// CheckChildrenCountWithFlagComplete +// +// [Action Parameters] +// Session : Reference to the session. +// ParentId : Value of the parent id. +// Count : Value of expected count of children with "Complete" flag set. +// +// [Action Description] +// Checks if count of children with "Complete" flag set is as expected. +// +// [APIs Used] +// CMsvEntry::SetEntryL +// CMsvEntry::ChildrenL +// CMsvEntry::SetSortTypeL +// TMsvSelectionOrdering::SetShowInvisibleEntries +// +// __ACTION_INFO_END__ +// +////////////////////////////////////////////////////////////////////////////// + +_LIT(KTestActionCheckChildrenCountWithFlagComplete,"CheckChildrenCountWithFlagComplete"); +_LIT(KFlagNameComplete,"Complete"); + + +class CMtfTestActionCheckChildrenCountWithFlagComplete : public CMtfTestActionCheckChildrenCountWithFlagBase + { +public: + static CMtfTestAction* NewL(CMtfTestCase& aTestCase,CMtfTestActionParameters* ActionParameters); + virtual ~CMtfTestActionCheckChildrenCountWithFlagComplete(); + +public: + virtual TBool FlagIsSet(TMsvEntry& entry); + virtual const TDesC* FlagName(); + +private: + CMtfTestActionCheckChildrenCountWithFlagComplete(CMtfTestCase& aTestCase); + + }; + + +#endif