phonesettings/cpphonesettingsplugins/cpnetworkplugin/tsrc/ut_cellulardatasettings/ut_cellulardatasettings.pro
changeset 27 2f8f8080a020
child 60 1eef62f5c541
equal deleted inserted replaced
22:6bb1b21d2484 27:2f8f8080a020
       
     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
       
    19 TEMPLATE = app
       
    20 TARGET = 
       
    21 DEPENDPATH += . ../../src/
       
    22 INCLUDEPATH += .
       
    23 INCLUDEPATH +=../../../inc 
       
    24 INCLUDEPATH +=../../../cptelephonyutils/inc
       
    25 
       
    26 QT -= gui
       
    27 QT += testlib
       
    28 
       
    29 symbian: {
       
    30   CONFIG += no_icon
       
    31     INCLUDEPATH += /epoc32/include/mw/QtTest \
       
    32         /epoc32/include/platform/mw \
       
    33         /epoc32/include/mw/qt
       
    34   LIBS += -lmocklib \
       
    35         -lsymbianmock
       
    36 }
       
    37     
       
    38 # test code
       
    39 HEADERS += ut_cellulardatasettings.h
       
    40 SOURCES += ut_cellulardatasettings.cpp
       
    41 
       
    42 # code to be tested
       
    43 HEADERS += ../../src/cellulardatasettings.h
       
    44 
       
    45 SOURCES += ../../src/cellulardatasettings.cpp
       
    46 SOURCES += ../../src/cellulardatasettings_s60.cpp
       
    47 
       
    48 # mocks needed for testing
       
    49 SOURCES += ../../../tsrc/mocks/mock_cmmanager.cpp