phonesettings/cpphonesettingsplugins/cptelephonyutils/tsrc/ut_cpphonelocalisation/ut_cpphonelocalisation.pro
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 CONFIG += qtestlib
       
    18 CONFIG += hb
       
    19 TEMPLATE = app
       
    20 TARGET = 
       
    21 DEPENDPATH += . ../../src/
       
    22 INCLUDEPATH += . ../../inc/
       
    23 INCLUDEPATH += ../../../tsrc/common
       
    24 DEFINES += BUILD_TELEPHONYUTILS 
       
    25     
       
    26 QT -= gui
       
    27 QT += testlib
       
    28 
       
    29 symbian: {
       
    30   CONFIG += no_icon
       
    31   INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
       
    32   INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    33   LIBS += -lmocklib -lsymbianmock
       
    34 }
       
    35 
       
    36 # test code
       
    37 HEADERS += ut_cpphonelocalisation.h
       
    38 SOURCES += ut_cpphonelocalisation.cpp
       
    39 
       
    40 # code to be tested
       
    41 HEADERS += ../../inc/cpphonelocalisation.h 
       
    42            
       
    43 SOURCES += ../../src/cpphonelocalisation.cpp
       
    44 
       
    45 # mocks needed for testing
       
    46 SOURCES += ../../../tsrc/mocks/mock_qtranslator.cpp 
       
    47 
       
    48 
       
    49 symbian:MMP_RULES += SMPSAFE