contentstorage/cahandler/url/tsrc/t_caurlhandler/inc/T_caurlhandlerplugin.h
changeset 117 c63ee96dbe5f
equal deleted inserted replaced
115:3ab5c078b490 117:c63ee96dbe5f
       
     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:
       
    15 *
       
    16 */
       
    17 /*
       
    18  * T_cahandler.h
       
    19  *
       
    20  *  Created on: 2009-09-16
       
    21  *      Author:
       
    22  */
       
    23 
       
    24 #ifndef T_CAURLHANDLERPLUGIN_H
       
    25 #define T_CAURLHANDLERPLUGIN_H
       
    26 
       
    27 class CaUrlHandler;
       
    28 
       
    29 #include <e32def.h>
       
    30 #include <QtTest/QtTest>
       
    31 
       
    32 /**
       
    33  *
       
    34  * Test class.
       
    35  *
       
    36  */
       
    37 class T_CaUrlHandler: public QObject
       
    38 {
       
    39     Q_OBJECT
       
    40 public:
       
    41     T_CaUrlHandler();
       
    42 private slots:
       
    43 
       
    44     //setup methods
       
    45     void cleanup();
       
    46     void initTestCase();
       
    47 
       
    48     void urlHandlerConstruction();
       
    49     void urlHandlerMultipleLoad();
       
    50     void urlHandlerMultipleLoadAndDelete();
       
    51     void urlHandlerOpenFails();
       
    52     /* uncomment and check test when browser is in TB10.1 platfrom */
       
    53     void urlHandlerRunApplication();
       
    54     void urlHandlerCreateInstance();
       
    55 
       
    56 private:
       
    57     CaUrlHandler *iUrlHandler;
       
    58 };
       
    59 
       
    60 #endif // T_CAURLHANDLERPLUGIN_H