browser/inc/BrCtlApiTestContainer.h
author Brendan Donegan <brendand@symbian.org>
Fri, 14 May 2010 08:53:07 +0100
branchSymbian3
changeset 37 39b95dd8b504
parent 7 24ce88ef98ef
permissions -rw-r--r--
Fixes for App Install and Profile Management smoke tests
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     1
/*
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     2
* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     3
* All rights reserved.
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     4
* This component and the accompanying materials are made available
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     5
* under the terms of the License "Eclipse Public License v1.0"
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     6
* which accompanies this distribution, and is available
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     8
*
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     9
* Initial Contributors:
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    11
*
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    12
* Contributors:
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    13
*
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    14
* Description:  CBrCtlApiTestContainer from BrCtlBCTestContainer.h
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    15
*
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    16
*/
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    17
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    18
#ifndef BRCTLBCTESTCONTAINER_H
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    19
#define BRCTLBCTESTCONTAINER_H
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    20
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    21
// INCLUDES
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    22
#include <coecntrl.h>
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    23
#include <BrCtlInterface.h> // interface under test
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    24
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    25
#include "BrCtlApiTestObserver.h"
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    26
#include "BrCtlApiTestStateChangeObserver.h"
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    27
#include "BrCtlApiTestDialogsProvider.h"
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    28
   
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    29
// CONSTATNS
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    30
const TInt KThisAppUid = 0xA0000181;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    31
7
24ce88ef98ef Corrected Url addresses for browser smoke test
Maciej Seroka <maciejs@symbian.org>
parents: 3
diff changeset
    32
//_LIT( KUrlLoadTestHtml, "c:\\BrCtlTest\\loadtest.html" );
24ce88ef98ef Corrected Url addresses for browser smoke test
Maciej Seroka <maciejs@symbian.org>
parents: 3
diff changeset
    33
_LIT( KUrlLoadTestHtml, "c:\\smoketest\\web\\loadtest2.html" );
24ce88ef98ef Corrected Url addresses for browser smoke test
Maciej Seroka <maciejs@symbian.org>
parents: 3
diff changeset
    34
//_LIT( KUrlLoadTestHtml2, "file:///c:\\smoketest\\web\\loadtest2.html" );
24ce88ef98ef Corrected Url addresses for browser smoke test
Maciej Seroka <maciejs@symbian.org>
parents: 3
diff changeset
    35
_LIT( KUrlLoadTestHtml2, "file:////c:\\smoketest\\web\\loadtest2.html" );
3
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    36
_LIT( KUrlHistoryHandlerHtml1, "file:///c:\\BrCtlTest\\historytest1.html" );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    37
_LIT( KUrlHistoryHandlerHtml2, "file:///c:\\BrCtlTest\\historytest2.html" );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    38
_LIT( KUrlHistoryHandlerHtml3, "file:///c:\\BrCtlTest\\historytest3.html" );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    39
_LIT( KUrlLoadTestWml1, "file:///c:\\BrCtlTest\\loadtest1.wml" );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    40
_LIT( KUrlLoadTestWml2, "file:///c:\\BrCtlTest\\loadtest2.wml" );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    41
_LIT( KUrlLoadTestWml3, "file:///c:\\BrCtlTest\\loadtest3.wml" );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    42
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    43
enum TBrCtlFindResponseExpected
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    44
  {
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    45
  EFindNoMatchesExpected = 0, ///< Reserved for future use
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    46
  EFindMatchExpected,    ///< Reserved for future use
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    47
  EFindMoreMatchesExpected    ///< Reserved for future use
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    48
  };
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    49
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    50
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    51
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    52
// FORWARD DECLARATIONS
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    53
//class CBrCtlInterface;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    54
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    55
// CLASS DECLARATION
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    56
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    57
/**
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    58
*  CBrCtlApiTestContainer  container control class.
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    59
*  
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    60
*/
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    61
class CBrCtlApiTestContainer : public CCoeControl,
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    62
                                     MCoeControlObserver,
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    63
                                     MBrCtlDataLoadSupplier,
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    64
                                     MBrCtlCommandObserver,
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    65
                                     MWidgetCallback // Added for WidgetExtension Test
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    66
    {
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    67
    public: // Constructors and destructor
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    68
        void ConstructL (const TRect& aRect );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    69
        ~CBrCtlApiTestContainer();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    70
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    71
    private: // Functions from base classes 
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    72
        void HandleCommandL( TBrCtlDefs::TBrCtlClientCommands aCommand, const CArrayFix<TPtrC>& aAttributesNames,
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    73
                                     const CArrayFix<TPtrC>& aAttributeValues ); 
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    74
        void SizeChanged();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    75
        TInt CountComponentControls() const;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    76
        CCoeControl* ComponentControl( TInt aIndex ) const;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    77
        void Draw( const TRect& aRect ) const;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    78
        TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    79
        
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    80
        /**
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    81
        * From MBrCtlDataLoadSupplier, Cancel an on-going load
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    82
        */
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    83
        void CancelLoad();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    84
        
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    85
    // Functions from MWidgetCallback class
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    86
        TBool DialogMimeFileSelectLC(HBufC*& aSelectedFileName,
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    87
                                 const TDesC& aMimeType);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    88
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    89
       /**
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    90
        * Called to show or hide softkeys
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    91
        * @since 3.1
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    92
        * @param aVisible ETrue to show softkeys, EFalse when full screen is needed
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    93
        */
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    94
        void SetSoftkeysVisible(TBool aVisible);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    95
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    96
        /**
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    97
        * Called to change the display orientation to landscape
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    98
        * @since 3.1
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    99
        */
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   100
        void SetDisplayMode(TBrCtlDefs::TBrCtlOrientation aOrientation);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   101
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   102
        //Reserved for future use
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   103
        TInt Reserved_1(TAny*& a0, TAny* a1, TAny* a2);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   104
        TInt Reserved_2(TAny*& a0, TAny* a1, TAny* a2);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   105
        TInt Reserved_3(TAny*& a0, TAny* a1, TAny* a2);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   106
        TInt Reserved_4(TAny*& a0, TAny* a1, TAny* a2);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   107
        TInt Reserved_5(TAny*& a0, TAny* a1, TAny* a2);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   108
        TInt Reserved_6(TAny*& a0, TAny* a1, TAny* a2);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   109
        TInt Reserved_7(TAny*& a0, TAny* a1, TAny* a2);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   110
        TInt Reserved_8(TAny*& a0, TAny* a1, TAny* a2);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   111
        TInt Reserved_9(TAny*& a0, TAny* a1, TAny* a2);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   112
        TInt Reserved_10(TAny*& a0, TAny* a1, TAny* a2);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   113
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   114
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   115
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   116
    public: // New functions
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   117
        void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   118
        TKeyResponse HandleKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   119
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   120
    public: // Functions utility
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   121
        HBufC8* ReadFileLC( const TDesC& aFileName );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   122
        void HandleControlEventL( CCoeControl* aControl,TCoeEvent aEventType );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   123
        void RunAllTestsL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   124
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   125
    public: // Functions to test CBrCtlInterface
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   126
        void CreateBrowserControlInterfaceL(TInt aBrCtlConfig); //Change done to take a parameter
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   127
        TInt LoadPageL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   128
        TInt HandleCommandL(TInt aCommand );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   129
        TInt LoadDataL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   130
        TInt ClearCacheTest();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   131
        TBool IsUrlInCacheTest( TDesC16& aUrl );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   132
        TInt ClearItemInCacheTest();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   133
        TInt PageInfoLC( TBrCtlDefs::TBrCtlPageInfo aType );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   134
        TInt CertInfo();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   135
        TInt NavigationAvailableTest();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   136
        TInt GetBitmapData();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   137
        TInt SaveToFileL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   138
        TInt OkToExit();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   139
        TInt FindKeyword( TPtrC aHtml , TPtrC aKeyword , TInt aMatch );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   140
        TInt FindKeywordAgain( TInt aMatch );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   141
        TInt SetFocus();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   142
        TInt OfferKeyEvent();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   143
        TInt BrCtlMinimumSize();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   144
        TInt BrCtlSubscribeToMenuItemsL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   145
        TInt BrCtlContentSize();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   146
        TInt BrowserSettingL( TUint& aSetting );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   147
        TInt SetBrowserSettingL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   148
        TInt FocusedImageL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   149
        TInt AddCommandObserverL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   150
        TInt RemoveCommandObserver();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   151
        TInt ImageCountL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   152
        TInt BrCtlFocusedElementTypeL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   153
        TInt BrCtlSetParam();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   154
        TInt LoadSavedPageL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   155
        TInt SetSelfDownloadContentTypes();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   156
        TInt ZoomLevels();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   157
        TInt AddOptionMenuItems();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   158
        TInt BrCtlInitLoadDataL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   159
        TInt HandleDownloadCommand();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   160
        TInt VersionInfoL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   161
        TInt WmlOptionMenuItemsL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   162
        TInt BrCtlPostL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   163
        TInt CreateBrCtlInterfaceAndWidgetExtensionL(); // Added for WidgetExtension Test
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   164
        TInt HistoryLoad1L();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   165
        TInt HistoryLoad2L();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   166
        TInt HistoryLoad3L();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   167
        TInt WMLLoad1L();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   168
        TInt WMLLoad2L();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   169
        TInt WMLLoad3L();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   170
        
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   171
    private: //data
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   172
        CBrCtlInterface* iBrCtlInterface;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   173
        TInt iCommandBase;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   174
        CBrCtlApiTestObserver* iBrCtlApiTestObserver;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   175
        CBrCtlApiTestStateChangeObserver* iBrCtlApiTestStateChangeObserver;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   176
        CBrowserDialogsProviderProxy* iBrCtlDialogs;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   177
        CEikMenuPane* iMenuPane;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   178
        TBool iCancelInitDataLoad;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   179
        
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   180
        // Added for Widget Extension Test
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   181
        MWidgetExtension* iWidgetExtension;  
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   182
    };
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   183
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   184
#endif // BRCTLBCTESTCONTAINER_H
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   185
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   186
// End of File