phonesettings/cpphonesettingsplugins/cptelephonyutils/tsrc/ut_cpphonelocalisation/ut_cpphonelocalisation.h
changeset 78 baacf668fe89
parent 76 cfea66083b62
equal deleted inserted replaced
76:cfea66083b62 78:baacf668fe89
     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 #ifndef UT_CPPHONELOCALISATION_H
       
    19 #define UT_CPPHONELOCALISATION_H
       
    20 
       
    21 #include <QtTest/QtTest>
       
    22 #include <mockservice.h>
       
    23 
       
    24 class PhoneLocalisation; 
       
    25 
       
    26 class UT_cpphonelocalisation : public QObject, MockService
       
    27 {
       
    28     Q_OBJECT
       
    29 
       
    30 public:    
       
    31     UT_cpphonelocalisation();
       
    32     ~UT_cpphonelocalisation();
       
    33     
       
    34 private slots:
       
    35     void init();
       
    36     void cleanup();
       
    37     void t_memleak();
       
    38     void t_installTranslator();
       
    39     void t_removeTranslators(); 
       
    40  
       
    41 private: 
       
    42     QScopedPointer<PhoneLocalisation> m_phoneLocalisation; 
       
    43     
       
    44 };
       
    45 
       
    46 #endif