phonesettings/cpphonesettingsplugins/telephonyplugin/tsrc/ut_cptelephonypluginview/ut_cptelephonypluginview.pro
changeset 37 ba76fc04e6c2
child 51 f39ed5e045e0
child 60 1eef62f5c541
equal deleted inserted replaced
36:2eacb6118286 37:ba76fc04e6c2
       
     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: 
       
    15 #
       
    16 #
       
    17 
       
    18 CONFIG += qtestlib hb
       
    19 TEMPLATE = app
       
    20 TARGET = 
       
    21 DEPENDPATH += . ../../src/
       
    22 INCLUDEPATH += .
       
    23 INCLUDEPATH +=../../../cptelephonyutils/inc
       
    24 DEFINES += BUILD_CP_FRAMEWORK
       
    25 
       
    26 QT -= gui
       
    27 QT += testlib
       
    28 
       
    29 symbian: {
       
    30   #CONFIG += no_icon
       
    31   INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
       
    32   
       
    33   LIBS += -lmocklib \
       
    34         -lsymbianmock \
       
    35         -lcpframework
       
    36 }
       
    37 
       
    38 # test code
       
    39 HEADERS += ut_cptelephonypluginview.h
       
    40 SOURCES += ut_cptelephonypluginview.cpp
       
    41 
       
    42 # code to be tested
       
    43 HEADERS += ../../src/cptelephonypluginview.h
       
    44            
       
    45 SOURCES += ../../src/cptelephonypluginview.cpp 
       
    46 
       
    47 # mocks needed for testing
       
    48 SOURCES += ../../../tsrc/mocks/mock_cppluginloader.cpp
       
    49