phonesettings/cpphonesettingsplugins/cpnetworkplugin/tsrc/ut_cpnetworkpluginform/ut_cpnetworkpluginform.pro
branchRCL_3
changeset 61 41a7f70b3818
equal deleted inserted replaced
58:40a3f856b14d 61:41a7f70b3818
       
     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_NETWORKPLUGIN BUILD_PSETWRAPPER \
       
    29            BUILD_CPTELEPHONYUTILS BUILD_PSUINOTES
       
    30 
       
    31 QT -= gui
       
    32 QT += testlib
       
    33 
       
    34 symbian: { 
       
    35     #CONFIG += no_icon
       
    36     INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    37     LIBS += -lmocklib \
       
    38         -lsymbianmock \
       
    39         -lcpframework 
       
    40         }
       
    41     
       
    42 # test code
       
    43 HEADERS += ut_networkpluginform.h
       
    44 SOURCES += ut_networkpluginform.cpp
       
    45     
       
    46 # code to be tested
       
    47 HEADERS += ../../src/cpnetworkplugin.h \
       
    48            ../../src/cpnetworkpluginform.h \
       
    49            ../../src/cellulardatasettings.h \
       
    50            ../../../cptelephonyutils/inc/cpplugincommon.h \
       
    51            ../../../cptelephonyutils/inc/cpphonelocalisation.h \
       
    52            /epoc32/include/platform/mw/psetwrapper.h \
       
    53            /epoc32/include/platform/mw/psuinotes.h \
       
    54            /epoc32/include/platform/mw/psetcliwrapper.h \
       
    55            /epoc32/include/platform/mw/psetcallwaitingwrapper.h \
       
    56            /epoc32/include/platform/mw/psetcalldivertingwrapper.h \
       
    57            /epoc32/include/platform/mw/psetnetworkwrapper.h
       
    58 
       
    59 # mocks needed for testing
       
    60 SOURCES += ../../../tsrc/mocks/mock_cpnetworkplugin.cpp \
       
    61            ../../../tsrc/mocks/mock_psetwrapper.cpp \
       
    62            ../../../tsrc/mocks/mock_psetcalldivertingwrapper.cpp \
       
    63            ../../../tsrc/mocks/mock_psetcallwaitingwrapper.cpp \
       
    64            ../../../tsrc/mocks/mock_psetcliwrapper.cpp \
       
    65            ../../../tsrc/mocks/mock_psetnetworkwrapper.cpp \
       
    66            ../../../tsrc/mocks/mock_cpplugincommon.cpp \
       
    67            ../../../tsrc/mocks/mock_psuinotes.cpp \
       
    68            ../../../tsrc/mocks/mock_cpphonelocalisation.cpp \
       
    69            ../../../tsrc/mocks/mock_hbdialog.cpp \
       
    70            ../../../tsrc/mocks/mock_hbwidget.cpp \
       
    71            ../../../tsrc/mocks/mock_cellulardatasettings.cpp
       
    72            
       
    73 SOURCES += ../../src/cpnetworkpluginform.cpp 
       
    74