phoneplugins/infowidgetplugin/infowidgetprovider/tsrc/ut_infowidgetprovider/ut_infowidgetprovider.pro
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 40 bab96b7ed1a4
parent 46 bc5a64e5bc3c
equal deleted inserted replaced
40:bab96b7ed1a4 51:f39ed5e045e0
     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 hb mobility
       
    19 MOBILITY = serviceframework
       
    20 TEMPLATE = app
       
    21 TARGET = 
       
    22 INCLUDEPATH += .
       
    23 INCLUDEPATH += ../common
       
    24 INCLUDEPATH += ../../inc/
       
    25 INCLUDEPATH += ../../infowidget/inc/
       
    26 DEFINES += QT_NO_DEBUG_STREAM
       
    27 
       
    28 QT -= gui
       
    29 QT += testlib
       
    30 
       
    31 symbian: {
       
    32   CONFIG += no_icon
       
    33   INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
       
    34   LIBS += -lmocklib 		\
       
    35           -lsymbianmock     \
       
    36           -lhswidgetmodel
       
    37 }
       
    38 
       
    39 # test code
       
    40 HEADERS += ./inc/ut_infowidgetprovider.h
       
    41 SOURCES += ./src/ut_infowidgetprovider.cpp
       
    42 
       
    43 # code to be tested
       
    44 HEADERS += ../../inc/infowidgetprovider.h
       
    45 SOURCES += ../../src/infowidgetprovider.cpp
       
    46 
       
    47 # mocks needed for testing
       
    48 HEADERS += ../../infowidget/inc/infowidget.h
       
    49 SOURCES += ../mocks/mock_infowidget.cpp
       
    50 SOURCES += ../mocks/mock_qserviceplugininterface.cpp
       
    51 SOURCES += ../mocks/mock_qserviceinterfacedescriptor.cpp