diff -r 2bb96f4ecad8 -r 8e7494275d3a contentctrl_plat/adapter_customization_api/tsrc/ContactAdapter/cnsmldummydataprovider_test.h --- a/contentctrl_plat/adapter_customization_api/tsrc/ContactAdapter/cnsmldummydataprovider_test.h Thu Aug 19 09:41:17 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,88 +0,0 @@ -/* -* Copyright (c) 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: Header file for contact adapter's dataprovider unit tests. -* -*/ - -#ifndef __CNSMLDUMMYDATAPROVIDER_TEST_H__ -#define __CNSMLDUMMYDATAPROVIDER_TEST_H__ - -// INCLUDES -#include -#include -#include "nsmldummydataprovider.h" - -// FORWARD DECLARATIONS - - -// CLASS DEFINITION -/** - * Generated EUnit test suite class. - */ -NONSHARABLE_CLASS( CNSmlDummyDataProvider_Test ) - : public CEUnitTestSuiteClass - { - public: // Constructors and destructor - - static CNSmlDummyDataProvider_Test* NewL(); - static CNSmlDummyDataProvider_Test* NewLC(); - ~CNSmlDummyDataProvider_Test(); - - private: // Constructors - - CNSmlDummyDataProvider_Test(); - void ConstructL(); - - private: // New methods - - void Empty() {}; - - void SetupL(); - - void Teardown(); - - void T_Global_NewLL(); - - void GreateAdapterL(); - - void GetStoreFormatResourceFileLL(); - - void DoStoreFormatLL(); - - void TestStoreSupportForPartialSyncL(); - - void TestStoreSupportMimeTypeL(); - - void DoListStoresLCL(); - - void DoOnFrameworkEvent(); - - void DoSupportedServerFiltersL(); - - void DoCheckSupportedServerFiltersL(); - - void DoCheckServerFiltersL(); - - void DoGenerateRecordFilterQueryL(); - - void DoGenerateFieldFilterQueryL(); - - private: // Data - - CNSmlDummyDataProvider* iCNSmlDummyDataProvider; - - EUNIT_DECLARE_TEST_TABLE; - }; - -#endif // __CNSMLDUMMYDATAPROVIDER_TEST_H__