cellular/psuinotes/tsrc/ut_psuiclinotehandler/ut_psuiclinotehandler.pro
author hgs
Fri, 15 Oct 2010 13:21:28 +0300
changeset 53 25b8d29b7c59
permissions -rw-r--r--
201041

#
# Copyright (c) 2010 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: 
#


CONFIG += hb qtestlib
TEMPLATE = app
TARGET = 
DEPENDPATH += . ../../src/
INCLUDEPATH += . ../../inc/
DEFINES += BUILD_PSUINOTES BUILD_PSETWRAPPER

QT -= gui
QT += testlib

symbian: {
  INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
  LIBS += -lmocklib -lsymbianmock
}

# test code
HEADERS += ut_psuiclinotehandler.h
SOURCES += ut_psuiclinotehandler.cpp

# code to be tested
HEADERS += ../../../../phonesrv_plat/phone_settings_ui_notes_api/inc/psuiclinotehandler.h	 
SOURCES += ../../src/psuiclinotehandler.cpp 

# mocks needed for testing
HEADERS += ../../../../phonesrv_plat/phone_settings_ui_notes_api/inc/psuinotes.h \  
	../../../../phonesrv_plat/phone_settings_api/inc/psetcliwrapper.h \
	../../../../phonesrv_plat/phone_settings_api/inc/psetcalldivertingwrapper.h \
	../../inc/psuiutils.h

SOURCES += ../mocks/mock_psuinotes.cpp \
		../mocks/mock_psetcliwrapper.cpp \ 
		../mocks/mock_qobject.cpp \
		../mocks/mock_psuiutils.cpp