cellular/psuinotes/tsrc/ut_psuiutils/ut_psuiutils.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: 
       
    15 #
       
    16 
       
    17 CONFIG += qtestlib
       
    18 CONFIG += hb
       
    19 TEMPLATE = app
       
    20 TARGET = 
       
    21 DEPENDPATH += . ../../src/
       
    22 INCLUDEPATH += . ../../inc/
       
    23 DEFINES += BUILD_PSUINOTES \ 
       
    24            XQSETTINGSMANAGER_NO_LIBRARY \
       
    25            XQSYSINFO_NO_LIBRARY 
       
    26 
       
    27 QT -= gui
       
    28 QT += testlib
       
    29 
       
    30 symbian: {
       
    31   CONFIG += no_icon
       
    32   INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
       
    33   INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    34   LIBS += -lmocklib -lsymbianmock
       
    35 }
       
    36 
       
    37 # test code
       
    38 HEADERS += ut_psuiutils.h
       
    39 SOURCES += ut_psuiutils.cpp
       
    40 
       
    41 # code to be tested
       
    42 HEADERS += ../../inc/psuiutils.h 
       
    43 SOURCES += ../../src/psuiutils.cpp
       
    44 
       
    45 #mocks needed for testing
       
    46 HEADERS +=  /epoc32/include/platform/mw/xqsettingskey.h \
       
    47            /epoc32/include/platform/mw/xqsettingsmanager.h \
       
    48            /epoc32/include/platform/mw/xqsysinfo.h
       
    49 
       
    50 SOURCES += ../mocks/mock_xqsettingskey.cpp \
       
    51            ../mocks/mock_xqsettingsmanager.cpp \
       
    52            ../mocks/mock_xqsysinfo.cpp
       
    53