cellular/telephonysettings/xqbindings/psetwrapper/tsrc/ut_psetcalldivertingwrapper/ut_psetcalldivertingwrapper.pro
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
child 21 0a6dd2dc9970
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
     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: Project file for building unit test component
       
    15 #
       
    16 #
       
    17 
       
    18 CONFIG += qtestlib release
       
    19 TEMPLATE = app
       
    20 TARGET = 
       
    21 DEPENDPATH += . ../../src/
       
    22 INCLUDEPATH += . ../common
       
    23 DEFINES += BUILD_PSETWRAPPER
       
    24 DEFINES += QT_NO_DEBUG_STREAM
       
    25 
       
    26 QT -= gui
       
    27 QT += testlib
       
    28 
       
    29 symbian: {
       
    30   CONFIG += no_icon
       
    31   INCLUDEPATH += /epoc32/include/mw/QtTest    \
       
    32                  /epoc32/include/platform/mw  \
       
    33                  /epoc32/include/mw/qt
       
    34   LIBS += -lmocklib -lsymbianmock -letelmm -letel -lbafl -lvmbxengine
       
    35 }
       
    36 
       
    37 # test code
       
    38 HEADERS += ut_psetcalldivertingwrapper.h
       
    39 HEADERS += ../common/testutilities.h
       
    40 SOURCES += ut_psetcalldivertingwrapper.cpp
       
    41 SOURCES += ../common/testutilities.cpp
       
    42 
       
    43 # code to be tested
       
    44 HEADERS += ../../../../../../phonesrv_plat/phone_settings_api/inc/psetcalldivertingwrapper.h
       
    45 SOURCES += ../../src/psetcalldivertingwrapper.cpp    \
       
    46            ../../src/psetcalldivertingwrapper_p.cpp
       
    47 
       
    48 # mocks needed for testing
       
    49 SOURCES += ../mocks/mock_psetcontainer.cpp       \
       
    50            ../mocks/mock_cphcltemergencycall.cpp \
       
    51            ../mocks/mock_psetcalldiverting.cpp \
       
    52            ../mocks/mock_cvoicemailbox.cpp \
       
    53            ../mocks/mock_cvoicemailboxentry.cpp