phoneplugins/infowidgetplugin/infowidgetprovider/tsrc/ut_infowidgetlayoutmanager/ut_infowidgetlayoutmanager.pro
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 40 bab96b7ed1a4
parent 46 bc5a64e5bc3c
equal deleted inserted replaced
40:bab96b7ed1a4 51:f39ed5e045e0
     1 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 # All rights reserved.
       
     3 # This component and the accompanying materials are made available
       
     4 # under the terms of "Eclipse Public License v1.0"
       
     5 # which accompanies this distribution, and is available
       
     6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 # Initial Contributors:
       
     8 # Nokia Corporation - initial contribution.
       
     9 # Contributors:
       
    10 # Description: Project file for building unit test component
       
    11 CONFIG += qtestlib \
       
    12     hb
       
    13 TEMPLATE = app
       
    14 TARGET = 
       
    15 DEPENDPATH += . \
       
    16     ../../infowidget/src \
       
    17     ../../infowidget/inc
       
    18 INCLUDEPATH += .
       
    19 INCLUDEPATH += ../common
       
    20 INCLUDEPATH += ../../inc/
       
    21 INCLUDEPATH += ../../infowidget/inc/
       
    22 DEFINES += XQSETTINGSMANAGER_NO_LIBRARY
       
    23 DEFINES += QT_NO_DEBUG_STREAM
       
    24 QT -= gui
       
    25 QT += testlib
       
    26 symbian: { 
       
    27     CONFIG += no_icon
       
    28     INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
       
    29     LIBS += -lmocklib \
       
    30         -lsymbianmock \
       
    31         -lcpframework
       
    32 }
       
    33 
       
    34 # test code
       
    35 HEADERS += ./inc/ut_infowidgetlayoutmanager.h
       
    36 SOURCES += ./src/ut_infowidgetlayoutmanager.cpp
       
    37 
       
    38 # code to be tested
       
    39 HEADERS += ../../infowidget/inc/infowidgetlayoutmanager.h
       
    40 SOURCES += ../../infowidget/src/infowidgetlayoutmanager.cpp
       
    41 
       
    42 # mocks needed for testing
       
    43 SOURCES += ../mocks/mock_hbdocumentloader.cpp
       
    44 SOURCES += ../mocks/mock_hbmarqueeitem.cpp
       
    45 SOURCES += ../mocks/mock_hbstyle.cpp
       
    46 #SOURCES += ../mocks/mock_hbwidget.cpp
       
    47 RESOURCES = ../../infowidgetprovider.qrc