diff -r 12bc758d6a02 -r 25b8d29b7c59 cellular/psuinotes/tsrc/ut_psuiclinotehandler/ut_psuiclinotehandler.pro --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cellular/psuinotes/tsrc/ut_psuiclinotehandler/ut_psuiclinotehandler.pro Fri Oct 15 13:21:28 2010 +0300 @@ -0,0 +1,51 @@ +# +# 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 +