idlefw/tsrc/profileplugin/ut_aiprofile/ut_aiprofile.h
branchRCL_3
changeset 28 053c6c7c14f3
equal deleted inserted replaced
27:2c7f27287390 28:053c6c7c14f3
       
     1 /*
       
     2 * Copyright (c) 2005-2006 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 #ifndef __UT_AIPROFILE_H__
       
    20 #define __UT_AIPROFILE_H__
       
    21 
       
    22 //  EXTERNAL INCLUDES
       
    23 #include <digia/eunit/ceunittestsuiteclass.h>
       
    24 #include <apgcli.h>         //RApaLsSession
       
    25 #include <w32std.h>                 // For RWsSession
       
    26 
       
    27 //  INTERNAL INCLUDES
       
    28 #include <hscontentpublisher.h>
       
    29 
       
    30 //  FORWARD DECLARATIONS
       
    31 class CAiProfileEngine;
       
    32 class CAiProfilePlugin;
       
    33 class CAiContentPublisher;
       
    34 class ProfileObserver;
       
    35 
       
    36 #include <e32def.h>
       
    37 #ifndef NONSHARABLE_CLASS
       
    38 #define NONSHARABLE_CLASS(x) class x
       
    39 #endif
       
    40 
       
    41 //  CLASS DEFINITION
       
    42 /**
       
    43  *
       
    44  * EUnitWizard generated test class.
       
    45  *
       
    46  */
       
    47 NONSHARABLE_CLASS( UT_aiprofile ) : public CEUnitTestSuiteClass
       
    48 {
       
    49 public:     // Constructors and destructors
       
    50 
       
    51     /**
       
    52      * Two phase construction
       
    53      */
       
    54     static UT_aiprofile* NewL();
       
    55     static UT_aiprofile* NewLC();
       
    56     /**
       
    57      * Destructor
       
    58      */
       
    59     ~UT_aiprofile();
       
    60 
       
    61 private:    // Constructors and destructors
       
    62 
       
    63     UT_aiprofile();
       
    64     void ConstructL();
       
    65 
       
    66 public:     // From observer interface
       
    67 
       
    68 
       
    69 
       
    70 private:    // New methods
       
    71 
       
    72     void SetupL();
       
    73     void Teardown();
       
    74 	void UT_resumeL();
       
    75 	// void UT_SetPropertyLL();
       
    76 	void UT_HandleEventL();
       
    77 	void UT_NotifyContentUpdateL();
       
    78 	void UT_ExtensionL();
       
    79 	void UT_ConfigureLL();
       
    80 	void AddSettingL(RAiSettingsItemArray& aArray, const TInt32 aKey, const TDesC& aValue);
       
    81 
       
    82 private:    // Data
       
    83 
       
    84 	CAiProfilePlugin* iProfilePlugin;
       
    85     // CHsContentPublisher* iProfilePlugin;
       
    86 	
       
    87     EUNIT_DECLARE_TEST_TABLE;
       
    88     ProfileObserver*         iContentObserver;
       
    89     
       
    90 
       
    91 };
       
    92 
       
    93 #endif      //  __UT_AIPROFILE_H__
       
    94 
       
    95 // End of file