cellular/sssettings/xqbindings/sssettingswrapper/tsrc/ut_sssettingswrapper/ut_sssettingswrapper.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
       
    19 TEMPLATE = app
       
    20 TARGET = 
       
    21 DEPENDPATH += . ../../src/
       
    22 INCLUDEPATH += .
       
    23 DEFINES += BUILD_SSSETTINGSWRAPPER
       
    24 
       
    25 QT -= gui
       
    26 QT += testlib
       
    27 
       
    28 symbian: {
       
    29   CONFIG += no_icon
       
    30   INCLUDEPATH += /epoc32/include/mw/QtTest    \
       
    31                  /epoc32/include/platform/mw  \
       
    32                  /epoc32/include/mw/qt
       
    33   LIBS += -lmocklib -lsymbianmock
       
    34 }
       
    35 
       
    36 # test code
       
    37 HEADERS += ut_sssettingswrapper.h
       
    38 SOURCES += ut_sssettingswrapper.cpp
       
    39 
       
    40 # code to be tested
       
    41 HEADERS += ../../../../../../phonesrv_plat/ss_settings_api/inc/sssettingswrapper.h
       
    42 SOURCES += ../../src/sssettingswrapper.cpp    \
       
    43            ../../src/sssettingswrapper_p.cpp
       
    44 
       
    45 # mocks needed for testing
       
    46 SOURCES += ../mocks/mock_rsssettings.cpp