uifw/AvKon/tsrc/bc/S60_SDKMCL/bctestmixmcl/inc/bctestmixmclgeneralcase.h
branchRCL_3
changeset 15 08e69e956a8c
parent 4 8ca85d2f0db7
child 23 3d340a0166ff
equal deleted inserted replaced
10:9f56a4e1b8ab 15:08e69e956a8c
    18 #ifndef C_BCTESTMIXMCLGENERALCASE_H
    18 #ifndef C_BCTESTMIXMCLGENERALCASE_H
    19 #define C_BCTESTMIXMCLGENERALCASE_H
    19 #define C_BCTESTMIXMCLGENERALCASE_H
    20 
    20 
    21 #include <aknlongtapdetector.h>
    21 #include <aknlongtapdetector.h>
    22 #include <aknphysicsobserveriface.h>
    22 #include <aknphysicsobserveriface.h>
       
    23 #include <itemfinderobserver.h>
    23 
    24 
    24 #include "bctestcase.h"
    25 #include "bctestcase.h"
    25 
    26 
    26 class CBCTestMixMCLContainer;
    27 class CBCTestMixMCLContainer;
    27 class CBCTestMixMCLView;
    28 class CBCTestMixMCLView;
    30 /**
    31 /**
    31 * test case for general apis
    32 * test case for general apis
    32 */
    33 */
    33 class CBCTestMixMCLGeneralCase: public CBCTestCase,
    34 class CBCTestMixMCLGeneralCase: public CBCTestCase,
    34 							    public MAknLongTapDetectorCallBack,
    35 							    public MAknLongTapDetectorCallBack,
    35 							    public MAknPhysicsObserver
    36                                 public MAknPhysicsObserver,
       
    37                                 public MAknItemFinderObserver
    36     {
    38     {
    37 public: // constructor and destructor
    39 public: // constructor and destructor
    38     
    40     
    39     /**
    41     /**
    40     * Symbian 2nd static constructor
    42     * Symbian 2nd static constructor
   103     void TestMiscApisFuncOneL();
   105     void TestMiscApisFuncOneL();
   104     
   106     
   105     /*
   107     /*
   106      * Test one function in class AknPopupUtils
   108      * Test one function in class AknPopupUtils
   107      */
   109      */
   108     void TestAknPopupUtils();
   110     void TestAknPopupUtilsL();    
   109 
       
   110     /*
   111     /*
   111      * Test one function in class AknListUtils
   112      * Test one function in class AknListUtils
   112      */
   113      */
   113     void TestAknListUtilsL(); 
   114     void TestAknListUtilsL(); 
   114 	    
   115 	    
   115     /*
   116     /*
   116      * Test new APIs in CAknToolbar
   117      * Test new APIs in CAknToolbar
   117      */
   118      */
   118     void TestAknToolbar();
   119     void TestAknToolbarL();
       
   120  
       
   121     /*
       
   122      * Test ProcessCommandL in AknRadioButtonSettingPage
       
   123      */
       
   124     void TestRadioButtonSettingPageL();
       
   125  
       
   126     /*
       
   127      * Test ProcessCommandL in AknPopupSettingPage
       
   128      */
       
   129     void TestPopupSettingPageL();
   119 
   130 
   120     /*
   131     /*
   121      * Tests editor's kinetic scrolling related functions.
   132      * Tests editor's kinetic scrolling related functions.
   122      */
   133      */
   123     void TestEditorKineticScrollingL();
   134     void TestEditorKineticScrollingL();
   133     void TestAknPhysicsResumePhysicsL();
   144     void TestAknPhysicsResumePhysicsL();
   134     
   145     
   135     /*
   146     /*
   136      * Tests CBA APIs.
   147      * Tests CBA APIs.
   137      */
   148      */
   138      void TestCba();
   149      void TestCbaL();
       
   150 
       
   151      /*
       
   152       * Tests common dialogs APIs.
       
   153       */
       
   154      void TestCommonDialogsL();
       
   155 
       
   156      /*
       
   157       * Tests ItemFinder.
       
   158       */
       
   159      void TestItemFinder();
   139 
   160 
   140 protected: // From base class MAknPhysicsObserver
   161 protected: // From base class MAknPhysicsObserver
   141     
   162     
   142     /**
   163     /**
   143      * Physics emulation has moved the view
   164      * Physics emulation has moved the view
   160      * Returns the observer view position.
   181      * Returns the observer view position.
   161      *
   182      *
   162      * @return Physics observer view position.
   183      * @return Physics observer view position.
   163      */
   184      */
   164     TPoint ViewPosition() const;
   185     TPoint ViewPosition() const;
       
   186     
       
   187     // From MAknItemFinderObserver
       
   188 
       
   189     /**
       
   190      * Handles the activation event.
       
   191      *
       
   192      * @param  aItem        Activated item.
       
   193      * @param  aEvent       Activation method.
       
   194      * @param  aFlags       Additional information about the event.
       
   195      */
       
   196     void HandleFindItemEventL( const CItemFinder::CFindItemExt& aItem,
       
   197             MAknItemFinderObserver::TEventFlag aEvent, TUint aFlags);
   165 
   198 
   166 private: // constructor
   199 private: // constructor
   167     
   200     
   168     /**
   201     /**
   169      * C++ default constructor
   202      * C++ default constructor