phonesettings/cpphonesettingsplugins/telephonyplugin/tsrc/ut_cptelephonyplugin/ut_cptelephonyplugin.pro
branchRCL_3
changeset 61 41a7f70b3818
equal deleted inserted replaced
58:40a3f856b14d 61:41a7f70b3818
       
     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 CONFIG += qtestlib hb
       
    19 TEMPLATE = app
       
    20 TARGET = 
       
    21 DEPENDPATH += . ../../src/
       
    22 INCLUDEPATH += .
       
    23 INCLUDEPATH +=../../../cptelephonyutils/inc
       
    24 DEFINES += 
       
    25 
       
    26 QT -= gui
       
    27 QT += testlib
       
    28 
       
    29 symbian: {
       
    30   #CONFIG += no_icon
       
    31   INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
       
    32   
       
    33   LIBS += -lmocklib \
       
    34         -lsymbianmock \
       
    35         -lcpframework \
       
    36         -lcptelephonyutils
       
    37 }
       
    38 
       
    39 # test code
       
    40 HEADERS += ut_cptelephonyplugin.h
       
    41 SOURCES += ut_cptelephonyplugin.cpp
       
    42 
       
    43 # code to be tested
       
    44 HEADERS += ../../src/cptelephonyplugin.h \
       
    45            ../../src/cptelephonypluginview.h
       
    46            
       
    47 SOURCES += ../../src/cptelephonyplugin.cpp 
       
    48 
       
    49 # mocks needed for testing
       
    50 SOURCES += ../../../tsrc/mocks/mock_cptelephonypluginview.cpp