messagingfw/msgtestfw/TestActions/Base/inc/CMtfTestActionCheckChildrenCountWithFlagComplete.h
changeset 62 db3f5fa34ec7
parent 0 8e480a14352b
equal deleted inserted replaced
60:9f5ae1728557 62:db3f5fa34ec7
       
     1 /**
       
     2 * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 /**
       
    21  @file
       
    22 */
       
    23 
       
    24 
       
    25 #ifndef __CMTF_TEST_ACTION_CHECK_CHILDREN_COUNT_WITH_FLAG_COMPLETE_H__
       
    26 #define __CMTF_TEST_ACTION_CHECK_CHILDREN_COUNT_WITH_FLAG_COMPLETE_H__
       
    27 
       
    28 
       
    29 #include "CMtfTestActionCheckChildrenCountWithFlagBase.h"
       
    30 
       
    31 ////////////////////////////////////////////////////////////////////////////// 
       
    32 //
       
    33 // __ACTION_INFO_BEGIN__ 
       
    34 //
       
    35 // [Action Name]
       
    36 // CheckChildrenCountWithFlagComplete
       
    37 //
       
    38 // [Action Parameters]
       
    39 // Session  <input>: Reference to the session.
       
    40 // ParentId <input>: Value of the parent id.
       
    41 // Count    <input>: Value of expected count of children with "Complete" flag set.
       
    42 //
       
    43 // [Action Description]
       
    44 // Checks if count of children with "Complete" flag set is as expected.
       
    45 //
       
    46 // [APIs Used]
       
    47 // CMsvEntry::SetEntryL
       
    48 // CMsvEntry::ChildrenL
       
    49 // CMsvEntry::SetSortTypeL
       
    50 // TMsvSelectionOrdering::SetShowInvisibleEntries
       
    51 //
       
    52 // __ACTION_INFO_END__
       
    53 //
       
    54 ////////////////////////////////////////////////////////////////////////////// 
       
    55 
       
    56 _LIT(KTestActionCheckChildrenCountWithFlagComplete,"CheckChildrenCountWithFlagComplete");
       
    57 _LIT(KFlagNameComplete,"Complete");
       
    58 
       
    59 
       
    60 class CMtfTestActionCheckChildrenCountWithFlagComplete : public CMtfTestActionCheckChildrenCountWithFlagBase
       
    61 	{
       
    62 public:
       
    63 	static CMtfTestAction* NewL(CMtfTestCase& aTestCase,CMtfTestActionParameters* ActionParameters);
       
    64 	virtual ~CMtfTestActionCheckChildrenCountWithFlagComplete(); 
       
    65 
       
    66 public:
       
    67 	virtual TBool FlagIsSet(TMsvEntry& entry);
       
    68 	virtual const TDesC* FlagName();
       
    69 
       
    70 private:
       
    71 	CMtfTestActionCheckChildrenCountWithFlagComplete(CMtfTestCase& aTestCase);
       
    72 
       
    73 	};
       
    74 
       
    75 
       
    76 #endif