diff -r 9e077f9a342c -r 2c7f27287390 idlefw/tsrc/utility/mt_aiutils/MT_ContentPriorityMap.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/idlefw/tsrc/utility/mt_aiutils/MT_ContentPriorityMap.h Thu Jul 15 18:59:18 2010 +0300 @@ -0,0 +1,93 @@ +/* +* Copyright (c) 2010 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: +* +*/ + + +#ifndef __MT_ContentPriorityMap_H__ +#define __MT_ContentPriorityMap_H__ + +// EXTERNAL INCLUDES +#include + +// INTERNAL INCLUDES + + +// FORWARD DECLARATIONS +namespace AiUtility + { +class CContentPriorityMap; + } + +#include +#ifndef NONSHARABLE_CLASS + #define NONSHARABLE_CLASS(x) class x +#endif + +// CLASS DEFINITION +/** + * + * EUnitWizard generated test class. + * + */ +NONSHARABLE_CLASS( MT_ContentPriorityMap ) + : public CEUnitTestSuiteClass + { + public: // Constructors and destructors + + /** + * Two phase construction + */ + static MT_ContentPriorityMap* NewL(); + static MT_ContentPriorityMap* NewLC(); + /** + * Destructor + */ + ~MT_ContentPriorityMap(); + + private: // Constructors and destructors + + MT_ContentPriorityMap(); + void ConstructL(); + + public: // From observer interface + + + + private: // New methods + + void SetupL(); + + void Teardown(); + + void TestEmptyMapL(); + + void TestClearL(); + + void TestUpdateL(); + + void TestOverrideL(); + + private: // Data + + EUNIT_DECLARE_TEST_TABLE; + + AiUtility::CContentPriorityMap* iContentPriorityMap; + + }; + +#endif // __MT_ContentPriorityMap_H__ + +// End of file