cellular/psuinotes/tsrc/ut_psuiwaitingnotehandler/ut_psuiwaitingnotehandler.pro
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
child 21 0a6dd2dc9970
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
     1 #
       
     2 # Copyright (c) 2010 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 
       
    18 CONFIG += hb qtestlib
       
    19 TEMPLATE = app
       
    20 TARGET = 
       
    21 DEPENDPATH += . ../../src/
       
    22 INCLUDEPATH += . ../../inc/
       
    23 DEFINES += BUILD_PSUINOTES BUILD_PSETWRAPPER
       
    24 
       
    25 QT -= gui
       
    26 QT += testlib
       
    27 
       
    28 symbian: {
       
    29   INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
       
    30   LIBS += -lmocklib -lsymbianmock
       
    31 }
       
    32 
       
    33 # test code
       
    34 HEADERS += ut_psuiwaitingnotehandler.h
       
    35 SOURCES += ut_psuiwaitingnotehandler.cpp
       
    36 
       
    37 # code to be tested
       
    38 HEADERS += ../../../../phonesrv_plat/phone_settings_ui_notes_api/inc/psuiwaitingnotehandler.h	 
       
    39 SOURCES += ../../src/psuiwaitingnotehandler.cpp 
       
    40 
       
    41 # mocks needed for testing
       
    42 HEADERS += ../../../../phonesrv_plat/phone_settings_ui_notes_api/inc/psuinotes.h \  
       
    43 	../../../../phonesrv_plat/phone_settings_api/inc/psetcallwaitingwrapper.h \
       
    44 	../../../../phonesrv_plat/phone_settings_api/inc/psetcalldivertingwrapper.h \
       
    45 	../../../telephonysettings/xqbindings/psetwrapper/src/psetcallwaitingwrapper_p.h \
       
    46 	../../inc/psuiutils.h
       
    47 
       
    48 SOURCES += ../mocks/mock_psuinotes.cpp \
       
    49 		../mocks/mock_psetcallwaitingwrapper.cpp \ 
       
    50 		../mocks/mock_qobject.cpp \
       
    51 		../mocks/mock_psuiutils.cpp \
       
    52 		../mocks/mock_psetcallwaitingwrapper_p.cpp \
       
    53 		../mocks/mock_psetcalldivertingwrapper.cpp