51
|
1 |
#
|
|
2 |
# Copyright (c) 2010 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 |
TEMPLATE = app
|
|
19 |
TARGET =
|
|
20 |
INCLUDEPATH += . ../../../inc ../../../../../inc ../shared
|
|
21 |
|
|
22 |
CONFIG += hb qtestlib
|
|
23 |
|
|
24 |
DEFINES += BUILD_DIALPAD \
|
|
25 |
XQ_BUILD_XQSERVICE_LIB
|
|
26 |
|
|
27 |
symbian {
|
|
28 |
INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
|
|
29 |
|
|
30 |
} else:win32 {
|
|
31 |
DESTDIR = ./
|
|
32 |
INCLUDEPATH += ../../../../../phonesrv_plat/dialpad_api/inc
|
|
33 |
INCLUDEPATH += ../../../../xqtelephonyservice/inc
|
|
34 |
}
|
|
35 |
|
|
36 |
HEADERS += ../../../inc/dialpadmailboxeventfilterbase.h \
|
|
37 |
../../../../../phonesrv_plat/dialpad_api/inc/dialpad.h \
|
|
38 |
../../../inc/dialpadsymbianwrapper.h \
|
|
39 |
/epoc32/include/mw/xqservicerequest.h
|
|
40 |
|
|
41 |
# test code
|
|
42 |
SOURCES += ut_dialpadmailboxeventfilterbase.cpp
|
|
43 |
|
|
44 |
# mock files
|
|
45 |
SOURCES += ../shared/mock_qtimer.cpp \
|
|
46 |
../shared/mock_dialpad.cpp \
|
|
47 |
../shared/mock_dialpadsymbianwrapper.cpp \
|
|
48 |
../shared/mock_hblineedit.cpp \
|
|
49 |
../shared/mock_xqservicerequest.cpp
|
|
50 |
|
|
51 |
# code to be tested
|
|
52 |
SOURCES += ../../../src/dialpadmailboxeventfilterbase.cpp
|
|
53 |
|
|
54 |
LIBS += -lmocklib \
|
|
55 |
-lsymbianmock \
|
|
56 |
-lxqserviceutil
|
|
57 |
|