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