cellular/telephonysettings/xqbindings/psetwrapper/tsrc/ut_psetcliwrapper/ut_psetcliwrapper.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 
       
    25 MOC_DIR = .
       
    26 
       
    27 QT -= gui
       
    28 QT += testlib
       
    29 
       
    30 symbian: {
       
    31   CONFIG += no_icon
       
    32   INCLUDEPATH += /epoc32/include/mw/QtTest    \
       
    33                  /epoc32/include/platform/mw  \
       
    34                  /epoc32/include/mw/qt
       
    35   LIBS += -lmocklib -lsymbianmock -letelmm -letel -lbafl -lcustomapi
       
    36 }
       
    37 
       
    38 # test code
       
    39 HEADERS += ut_psetcliwrapper.h
       
    40 HEADERS += ../common/testutilities.h
       
    41 SOURCES += ut_psetcliwrapper.cpp
       
    42 SOURCES += ../common/testutilities.cpp
       
    43 
       
    44 # code to be tested
       
    45 HEADERS += ../../../../../../phonesrv_plat/phone_settings_api/inc/psetcliwrapper.h
       
    46 SOURCES += ../../src/psetcliwrapper.cpp \
       
    47            ../../src/psetcliwrapper_p.cpp
       
    48 
       
    49 # mocks needed for testing
       
    50 SOURCES += ../mocks/mock_psetcontainer.cpp \
       
    51            ../mocks/mock_psetcli.cpp