phonesettings/cpphonesettingsplugins/barringplugin/tsrc/ut_barringplugingroup/ut_barringplugingroup.pro
changeset 21 92ab7f8d0eab
child 22 6bb1b21d2484
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
       
     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 
       
    19 
       
    20 
       
    21 CONFIG += qtestlib hb
       
    22 TEMPLATE = app
       
    23 TARGET = 
       
    24 DEPENDPATH += . ../../src/
       
    25 INCLUDEPATH += .
       
    26 INCLUDEPATH += ../../../inc
       
    27 INCLUDEPATH += ../../../cptelephonyutils/inc
       
    28 DEFINES += BUILD_BARRINGPLUGIN
       
    29 
       
    30 QT -= gui
       
    31 QT += testlib
       
    32 
       
    33 symbian: { 
       
    34     CONFIG += no_icon
       
    35     INCLUDEPATH += /epoc32/include/mw/QtTest \
       
    36         /epoc32/include/platform/mw \
       
    37         /epoc32/include/mw/qt
       
    38     LIBS += -lmocklib \
       
    39         -lsymbianmock \
       
    40         -lcpframework 
       
    41         }
       
    42     
       
    43 # test code
       
    44 HEADERS += ut_barringplugingroup.h
       
    45 SOURCES += ut_barringplugingroup.cpp 
       
    46     
       
    47 # code to be tested
       
    48 HEADERS += ../../inc/cpbarringplugin.h \
       
    49            ../../inc/cpbarringplugingroup.h
       
    50 
       
    51     
       
    52 SOURCES += ../../src/cpbarringplugingroup.cpp
       
    53     
       
    54 # mocks needed for testing
       
    55 SOURCES += ../../../tsrc/mocks/mock_cpbarringplugin.cpp