phonesettings/cpphonesettingsplugins/cpnetworkplugin/tsrc/ut_cpnetworkpluginview/ut_cpnetworkpluginview.pro
author William Roberts <williamr@symbian.org>
Thu, 22 Jul 2010 16:33:21 +0100
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 27 2f8f8080a020
parent 37 ba76fc04e6c2
permissions -rw-r--r--
Catchup to latest Symbian^4

#
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
# All rights reserved.
# This component and the accompanying materials are made available
# under the terms of "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
#
# Initial Contributors:
# Nokia Corporation - initial contribution.
#
# Contributors:
# 
# Description: Project file for building unit test component
#
#

CONFIG += qtestlib hb
TEMPLATE = app
TARGET = 
INCLUDEPATH += . ../../src/
INCLUDEPATH += ../../../cptelephonyutils/inc


QT -= gui
QT += testlib

symbian: {
  #CONFIG += no_icon
  INCLUDEPATH += /epoc32/include/mw/QtTest \
        /epoc32/include/platform/mw \
        /epoc32/include/mw/qt
  LIBS += -lmocklib \
        -lsymbianmock \
        -lcpframework
}
    
# test code
HEADERS += ut_cpnetworkpluginview.h
SOURCES += ut_cpnetworkpluginview.cpp

# code to be tested
HEADERS += ../../src/cpnetworkpluginview.h 
SOURCES += ../../src/cpnetworkpluginview.cpp 

# mocks needed for testing
HEADERS += ../../src/cpnetworkpluginform.h
SOURCES += ../../../tsrc/mocks/mock_cpnetworkpluginform.cpp
SOURCES += ../../../tsrc/mocks/mock_cpbasesettingview.cpp
SOURCES += ../../../tsrc/mocks/mock_hbview.cpp