contentctrl_plat/adapter_customization_api/tsrc/ContactAdapter/cnsmldummydataprovider_test.h
branchRCL_3
changeset 52 4f0867e42d62
parent 14 b922b9936679
equal deleted inserted replaced
51:8e7494275d3a 52:4f0867e42d62
       
     1 /*
       
     2 * Copyright (c) 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:  Header file for contact adapter's dataprovider unit tests.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __CNSMLDUMMYDATAPROVIDER_TEST_H__
       
    19 #define __CNSMLDUMMYDATAPROVIDER_TEST_H__
       
    20 
       
    21 // INCLUDES
       
    22 #include <CEUnitTestSuiteClass.h>
       
    23 #include <EUnitDecorators.h>
       
    24 #include "nsmldummydataprovider.h"
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 
       
    28 
       
    29 // CLASS DEFINITION
       
    30 /**
       
    31  * Generated EUnit test suite class.
       
    32  */
       
    33 NONSHARABLE_CLASS( CNSmlDummyDataProvider_Test )
       
    34 	: public CEUnitTestSuiteClass
       
    35     {
       
    36     public:  // Constructors and destructor
       
    37 
       
    38         static CNSmlDummyDataProvider_Test* NewL();
       
    39         static CNSmlDummyDataProvider_Test* NewLC();
       
    40         ~CNSmlDummyDataProvider_Test();
       
    41 
       
    42     private: // Constructors
       
    43 
       
    44         CNSmlDummyDataProvider_Test();
       
    45         void ConstructL();
       
    46 
       
    47     private: // New methods
       
    48 
       
    49     	void Empty() {};
       
    50 
       
    51         void SetupL();
       
    52 
       
    53         void Teardown();
       
    54 
       
    55         void T_Global_NewLL();
       
    56         
       
    57         void GreateAdapterL();
       
    58 
       
    59         void GetStoreFormatResourceFileLL();
       
    60 
       
    61         void DoStoreFormatLL();
       
    62 
       
    63         void TestStoreSupportForPartialSyncL();
       
    64 
       
    65         void TestStoreSupportMimeTypeL();
       
    66 
       
    67         void DoListStoresLCL();
       
    68         
       
    69         void DoOnFrameworkEvent();
       
    70         
       
    71         void DoSupportedServerFiltersL();
       
    72         
       
    73         void DoCheckSupportedServerFiltersL();
       
    74         
       
    75         void DoCheckServerFiltersL();
       
    76         
       
    77         void DoGenerateRecordFilterQueryL();
       
    78         
       
    79         void DoGenerateFieldFilterQueryL();
       
    80 
       
    81     private: // Data
       
    82 
       
    83         CNSmlDummyDataProvider* iCNSmlDummyDataProvider;
       
    84 
       
    85         EUNIT_DECLARE_TEST_TABLE;
       
    86     };
       
    87 
       
    88 #endif      //  __CNSMLDUMMYDATAPROVIDER_TEST_H__